mirror of
https://sourceware.org/git/glibc.git
synced 2025-01-11 20:00:07 +00:00
e98c925fa4
This makes the __tls_get_addr_opt test run as a shared library, and so actually test that DTPMOD64/DTPREL64 pairs are processed by ld.so to support the __tls_get_adfr_opt call stub fast return. After a 2017-01-24 patch (binutils f0158f4416) ld.bfd no longer emitted unnecessary dynamic relocations against local thread variables, instead setting up the __tls_index GOT entries for the call stub fast return. This meant tst-tlsopt-powerpc passed but did not check ld.so relocation support. After a 2017-07-16 patch (binutils 676ee2b5fa) ld.bfd no longer set up the __tls_index GOT entries for the call stub fast return, and tst-tlsopt-powerpc failed. Compiling mod-tlsopt-powerpc.c with -DSHARED exposed a bug in powerpc64/tls-macros.h, which defines a __TLS_GET_ADDR macro that clashes with one defined in dl-tls.h. The tls-macros.h version is only used in that file, so delete it and expand. * sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from tst-tlsopt-powerpc.c with function name change and no test harness. * sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test. Call tls_get_addr_opt_test. * sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define. (modules-names): Add mod-tlsopt-powerpc. (mod-tlsopt-powerpc.so-no-z-defs): Define. (tst-tlsopt-powerpc): Depend on .so. * sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't define. Expand use in TLS_GD and TLS_LD.
96 lines
3.7 KiB
Plaintext
96 lines
3.7 KiB
Plaintext
2017-08-03 Alan Modra <amodra@gmail.com>
|
|
|
|
* sysdeps/powerpc/mod-tlsopt-powerpc.c: Extract from
|
|
tst-tlsopt-powerpc.c with function name change and no test harness.
|
|
* sysdeps/powerpc/tst-tlsopt-powerpc.c: Remove body of test.
|
|
Call tls_get_addr_opt_test.
|
|
* sysdeps/powerpc/Makefile (LDFLAGS-tst-tlsopt-powerpc): Don't define.
|
|
(modules-names): Add mod-tlsopt-powerpc.
|
|
(mod-tlsopt-powerpc.so-no-z-defs): Define.
|
|
(tst-tlsopt-powerpc): Depend on .so.
|
|
* sysdeps/powerpc/powerpc64/tls-macros.h (__TLS_GET_ADDR): Don't
|
|
define. Expand use in TLS_GD and TLS_LD.
|
|
|
|
2017-08-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
|
|
|
|
* sysdeps/mach/hurd/enbl-secure.c (__libc_init_secure): Define
|
|
function.
|
|
* sysdeps/posix/shm_open.c: Include <pthread.h>.
|
|
|
|
2017-08-02 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
[BZ #21686]
|
|
* math/tgmath.h (__TGMATH_BINARY_REAL_ONLY): Add arguments before
|
|
comparing size with that of double.
|
|
(__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
|
|
(__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
|
|
(__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
|
|
(__TGMATH_TERNARY_REAL_ONLY): Likewise.
|
|
(__TGMATH_BINARY_REAL_IMAG): Likewise.
|
|
* math/gen-tgmath-tests.py (Type.init_types): Create __int128 and
|
|
unsigned __int128 types.
|
|
|
|
2017-08-02 Steve Ellcey <sellcey@cavium.com>
|
|
|
|
* localedata/Makefile (CFLAGS-tst_iswalnum.c, CFLAGS-tst_iswalpha.c
|
|
CFLAGS-tst_iswcntrl.c, CFLAGS-tst_iswdigit.c, CFLAGS-tst_iswgraph.c,
|
|
CFLAGS-tst_iswlower.c, CFLAGS-tst_iswprint.c, CFLAGS-tst_iswpunct.c,
|
|
CFLAGS-tst_iswspace.c, CFLAGS-tst_iswupper.c, CFLAGS-tst_iswxdigit.c,
|
|
CFLAGS-tst_towlower.c, CFLAGS-tst_towupper.c): Remove.
|
|
|
|
2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
* sysdeps/x86_64/start.S (_start): Check PIC instead of SHARED.
|
|
|
|
2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
* sysdeps/i386/i686/multiarch/memcmp-sse4.S: Check PIC instead
|
|
of SHARED.
|
|
* sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
|
|
* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
|
|
* sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
|
|
* sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
|
|
* sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
|
|
* sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
|
|
* sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
|
|
|
|
2017-08-02 Joseph Myers <joseph@codesourcery.com>
|
|
|
|
[BZ #21685]
|
|
* math/tgmath.h (__tgmath_real_type): Use unary + on potentially
|
|
bit-field expressions passed to sizeof or typeof.
|
|
[__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
|
|
(__TGMATH_F128): Likewise.
|
|
[__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
|
|
(__TGMATH_CF128): Likewise.
|
|
(__TGMATH_UNARY_REAL_ONLY): Likewise.
|
|
(__TGMATH_UNARY_REAL_RET_ONLY): Likewise.
|
|
(__TGMATH_BINARY_FIRST_REAL_ONLY): Likewise.
|
|
(__TGMATH_BINARY_FIRST_REAL_STD_ONLY): Likewise.
|
|
(__TGMATH_BINARY_REAL_ONLY): Likewise.
|
|
(__TGMATH_BINARY_REAL_STD_ONLY): Likewise.
|
|
(__TGMATH_BINARY_REAL_RET_ONLY): Likewise.
|
|
(__TGMATH_TERNARY_FIRST_SECOND_REAL_ONLY): Likewise.
|
|
(__TGMATH_TERNARY_REAL_ONLY): Likewise.
|
|
(__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): Likewise.
|
|
(__TGMATH_UNARY_REAL_IMAG): Likewise.
|
|
(__TGMATH_UNARY_IMAG): Likewise.
|
|
(__TGMATH_UNARY_REAL_IMAG_RET_REAL): Likewise.
|
|
(__TGMATH_BINARY_REAL_IMAG): Likewise.
|
|
* math/gen-tgmath-tests.py (Type.init_types): Create bit_field
|
|
type.
|
|
(define_vars_for_type): Handle bit_field type specially.
|
|
(Tests.__init__): Declare structure with bit-field element.
|
|
|
|
2017-08-02 H.J. Lu <hongjiu.lu@intel.com>
|
|
|
|
[BZ #21791]
|
|
* sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S
|
|
(MEMCPY_CHK): Define only if SHARED is defined.
|
|
* sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S (MEMCPY_CHK):
|
|
Likewise.
|
|
* sysdeps/i386/i686/multiarch/memcpy-ssse3.S (MEMCPY_CHK):
|
|
Likewise.
|
|
|
|
See ChangeLog.18 for earlier changes.
|