glibc/sysdeps/powerpc
Fangrui Song bbe4bbb6e8 elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152] [BZ #28205]
elf/tls-macros.h was added for TLS testing when GCC did not support
__thread. __thread and tls_model attributes are mature now and have been
used by many newer tests.

Also delete tst-tls2.c which tests .tls_common (unused by modern GCC and
unsupported by Clang/LLD). .tls_common and .tbss definition are almost
identical after linking, so the runtime test doesn't add additional
coverage.  Assembler and linker tests should be on the binutils side.

When LLD 13.0.0 is allowed in configure.ac
(https://sourceware.org/pipermail/libc-alpha/2021-August/129866.html),
`make check` result is on par with glibc built with GNU ld on aarch64
and x86_64.

As a future clean-up, TLS_GD/TLS_LD/TLS_IE/TLS_IE macros can be removed from
sysdeps/*/tls-macros.h. We can add optional -mtls-dialect={gnu2,trad}
tests to ensure coverage.

Tested on aarch64-linux-gnu, powerpc64le-linux-gnu, and x86_64-linux-gnu.

Reviewed-by: Szabolcs Nagy <szabolcs.nagy@arm.com>
(cherry picked from commit 33c50ef428)
2023-01-10 19:09:21 +01:00
..
bits
fpu powerpc: Update libm test ulps 2021-04-09 17:41:22 -03:00
nofpu Force building with -fno-common 2021-07-09 20:09:14 +02:00
nptl nptl: Move pthread_spin_trylock into libc 2021-04-23 17:06:48 +02:00
power4
power6
powerpc32 elf: Fix dynamic-link.h usage on rtld.c 2022-04-08 14:18:11 -04:00
powerpc64 powerpc: Fix VSX register number on __strncpy_power9 [BZ #29197] 2022-06-07 15:34:20 -03:00
sys/platform
abort-instr.h
atomic-machine.h
cpu-features.c
cpu-features.h
dl-lookupcfg.h elf: Issue la_symbind for bind-now (BZ #23734) 2022-04-12 13:32:59 -04:00
dl-procinfo.c
dl-procinfo.h
dl-tls.c
dl-tls.h
dl-tunables.list
elf-initfini.h
ffs.c
fpu_control.h
gccframe.h
hwcapinfo.c
hwcapinfo.h
ifunc-sel.h
jmpbuf-offsets.h
jmpbuf-unwind.h
ldsodefs.h
libc-tls.c
locale-defines.sym
longjmp.c nptl: Move __pthread_unwind_next into libc 2021-04-21 19:49:50 +02:00
machine-gmon.h
Makefile powerpc: Fix unrecognized instruction errors with recent binutils 2022-01-18 23:05:42 +01:00
math-tests-snan-cast.h
memusage.h
mod-cache-ppc.c
mod-tlsopt-powerpc.c elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152] [BZ #28205] 2023-01-10 19:09:21 +01:00
mp_clz_tab.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
preconfigure.ac
rtld-global-offsets.sym
sigjmp.c
sotruss-lib.c
stackinfo.h
sysdep.h
test-arith.c
test-arithf.c
test-get_hwcap-static.c
test-get_hwcap.c
test-gettimebase.c
tls-macros.h
tst-cache-ppc-static-dlopen.c
tst-cache-ppc-static.c
tst-cache-ppc.c
tst-set_ppr.c powerpc: Fix unrecognized instruction errors with recent binutils 2022-01-18 23:05:42 +01:00
tst-stack-align.h Properly check stack alignment [BZ #27901] 2021-05-24 07:42:12 -07:00
tst-tlsifunc-static.c
tst-tlsifunc.c elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152] [BZ #28205] 2023-01-10 19:09:21 +01:00
tst-tlsopt-powerpc.c
Versions nptl: Move __pthread_unwind_next into libc 2021-04-21 19:49:50 +02:00