glibc:fw/libm-noprivate-2.27

Last commit made on 2018-05-10
Get this branch:
git clone -b fw/libm-noprivate-2.27 https://git.launchpad.net/glibc

Branch merges

Branch information

Name:
fw/libm-noprivate-2.27
Repository:
lp:glibc

Recent commits

a7acf79... by Florian Weimer on 2018-05-10

Use custom x86 feature selection in libm

8e2c360... by Florian Weimer on 2018-05-10

Avoid use GLIBC_PRIVATE symbols in the implementation of nan* functions

9e9dccb... by Florian Weimer on 2018-05-10

Use __errno_location in libm

623f4ae... by Aurelien Jarno <email address hidden> on 2018-04-26

Add tst-sigaction.c to test BZ #23069

This simple test uses sigaction to define a signal handler. It then
uses sigaction again to fetch the information about the same signal
handler, and check that they are consistent. This is enough to detect
mismatches between struct kernel_sigaction and the kernel version of
struct sigaction, like in BZ #23069.

Changelog:
       * signal/tst-sigaction.c: New file to test BZ #23069.
       * signal/Makefile (tests): Fix indentation. Add tst-sigaction.

(cherry picked from commit 7a6f74787132aca8e3809cae8d9e7bc7bfd55ce1)

ced2cd1... by Aurelien Jarno <email address hidden> on 2018-04-28

RISC-V: fix struct kernel_sigaction to match the kernel version [BZ #23069]

The RISC-V kernel doesn't define SA_RESTORER, hence the kernel version
of struct sigaction doesn't have the sa_restorer field. The default
kernel_sigaction.h therefore can't be used.

This patch adds a RISC-V specific version of kernel_sigaction.h to fix
the issue. This fixes for example the libnih testsuite.

Note that this patch is not needed in master as the bug has been fixed
by commit b4a5d26d8835 ("linux: Consolidate sigaction implementation").

39071a5... by Florian Weimer on 2018-03-29

Linux i386: tst-bz21269 triggers SIGBUS on some kernels

In addition to SIGSEGV and SIGILL, SIGBUS is also a possible signal
generated by the kernel.

(cherry picked from commit 4d76d3e59d31aa690f148fc0c95cc0c581aed3e8)

55ad82e... by Andrew on 2018-03-23

Fix i386 memmove issue (bug 22644).

 [BZ #22644]
 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Fixed
 branch conditions.
 * string/test-memmove.c (do_test2): New testcase.

(cherry picked from commit cd66c0e584c6d692bc8347b5e72723d02b8a8ada)

df3ff4e... by DJ Delorie <email address hidden> on 2018-02-23

Update ChangeLog for BZ 22884 - riscv fmax/fmin

(cherry picked from commit 7e04eb2932d3126c721ee2bc0d664a5bbea2f41f)

aab0877... by Andrew Waterman <email address hidden> on 2018-02-22

RISC-V: fmax/fmin: Handle signalling NaNs correctly.

RISC-V's fmax(sNAN,4) returns 4 but glibc expects it to return qNAN.

 * sysdeps/riscv/rvd/s_fmax.c (__fmax): Handle sNaNs correctly.
 * sysdeps/riscv/rvd/s_fmin.c (__fmin): Likewise.
 * sysdeps/riscv/rvf/s_fmaxf.c (__fmaxf): Likewise.
 * sysdeps/riscv/rvf/s_fminf.c (__fminf): Likewise.

(cherry picked from commit fdcc625376505eacb1125a6aeba57501407a30ec)

9414530... by DJ Delorie <email address hidden> on 2018-02-22

RISC-V: Do not initialize $gp in TLS macros.

RISC-V TLS doesn't require GP to be initialized, and doing so breaks
TLS in a shared object.

(cherry picked from commit 8090720a87e42fddc31396f6126112d4b8014d8e)