glibc/sysdeps/powerpc
Fangrui Song 7334a4d5c3 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)
2021-08-27 17:26:09 -07:00
..
bits Add a first approximation of float definitions for ppc clang 2021-08-27 17:23:14 -07:00
fpu Do not use ppc-specific long double pack/unpack when compiling with clang 2021-08-27 17:26:04 -07:00
nofpu Fix powerpc-nofpu fmaxmagl, fminmagl spurious "invalid" exception (bug 22691). 2018-01-10 00:38:12 +00:00
nptl
power4
power5+/fpu Changes to compile glibc-2.27 on PPC (Power8) with clang. 2021-08-27 17:23:15 -07:00
power6
power7/fpu Remove old workaround in power7 logb functions, clang no longer crashes on the inline assembly 2021-08-27 17:26:04 -07:00
powerpc32 powerpc: Fix TLE build for SPE (BZ #22926) 2018-03-05 14:46:24 -03:00
powerpc64 Include STATIC_PIE_BOOTSTRAP with !NESTING in powerpc64/dl-machine.h 2021-08-27 17:26:01 -07:00
powerpc64le Disable -mfloat128 for clang, lets power9 insns into power8 executables 2021-08-27 17:26:00 -07:00
soft-fp
sys/platform
Implies
Makefile
Versions
abort-instr.h
atomic-machine.h
cpu-features.c
cpu-features.h
dl-procinfo.c
dl-procinfo.h
dl-tls.c
dl-tls.h
dl-tunables.list
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
machine-gmon.h
math-tests.h
memusage.h
mod-tlsopt-powerpc.c elf: Drop elf/tls-macros.h in favor of __thread and tls_model attributes [BZ #28152] [BZ #28205] 2021-08-27 17:26:09 -07:00
mp_clz_tab.c
novmx-longjmp.c
novmx-sigjmp.c
novmxsetjmp.h
preconfigure
rtld-global-offsets.sym
sched_cpucount.c
sigjmp.c
sotruss-lib.c
stackinfo.h
sysdep.h Make powerpc .machine directives be gcc-only 2021-08-27 17:23:14 -07:00
test-arith.c
test-arithf.c
test-get_hwcap-static.c
test-get_hwcap.c
test-gettimebase.c
tls-macros.h
tst-set_ppr.c Work around lack of mfppr in clang 2021-08-27 17:23:14 -07:00
tst-stack-align.h
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] 2021-08-27 17:26:09 -07:00
tst-tlsopt-powerpc.c