glibc/sysdeps
Paul E. Murphy 4a4db1de2f powerpc64le/power9: guard power9 strcmp against rtld usage [BZ# 25905]
strcmp is used while resolving PLT references.  Vector registers
should not be used during this.  The P9 strcmp makes heavy use of
vector registers, so it should be avoided in rtld.

This prevents quiet vector register corruption when glibc is configured
with --disable-multi-arch and --with-cpu=power9.  This can be seen with
test-float64x-compat_totalordermag during the first call into
totalordermagf64x@GLIBC_2.27.

Add a guard to fallback to the power8 implementation when building
power9 strcmp for libraries other than libc.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-05-04 13:27:31 -05:00
..
aarch64 Update aarch64 libm-test-ulps 2020-04-08 13:52:44 -03:00
alpha Update alpha libm-test-ulps 2020-04-08 13:52:45 -03:00
arm Remove most gmp-mparam.h headers. 2020-04-24 22:08:59 +00:00
csky math: Remove inline math tests 2020-03-19 11:45:44 -03:00
generic elf: Implement __libc_early_init 2020-04-24 22:32:09 +02:00
gnu Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
hppa Update hppa libm-test-ulps 2020-04-06 22:19:03 +00:00
htl pthread: Move robust mutex tests from nptl to sysdeps/pthread 2020-02-16 14:43:54 +00:00
hurd C11 threads: Move implementation to sysdeps/pthread 2020-02-09 13:56:48 +01:00
i386 Remove most gmp-mparam.h headers. 2020-04-24 22:08:59 +00:00
ia64 ia64: Remove sigprocmask/sigblock objects from libpthread 2020-04-21 14:01:58 -03:00
ieee754 float128: use builtin_signbitf128 always 2020-05-04 13:18:45 -05:00
m68k math: Remove inline math tests 2020-03-19 11:45:44 -03:00
mach elf: Implement __libc_early_init 2020-04-24 22:32:09 +02:00
microblaze math: Remove inline math tests 2020-03-19 11:45:44 -03:00
mips Rename __LONG_DOUBLE_USES_FLOAT128 to __LDOUBLE_REDIRECTS_TO_FLOAT128_ABI 2020-04-30 08:52:08 -05:00
nios2 Remove most gmp-mparam.h headers. 2020-04-24 22:08:59 +00:00
nptl Linux: set_robust_list syscall number is always available 2020-03-03 12:49:44 +01:00
posix posix: Fix system error return value [BZ #25715] 2020-03-23 18:00:38 -03:00
powerpc powerpc64le/power9: guard power9 strcmp against rtld usage [BZ# 25905] 2020-05-04 13:27:31 -05:00
pthread pthread: Fix building tst-robust8 with nptl 2020-02-16 23:53:45 +01:00
riscv math: Remove inline math tests 2020-03-19 11:45:44 -03:00
s390 Remove most gmp-mparam.h headers. 2020-04-24 22:08:59 +00:00
sh Remove most gmp-mparam.h headers. 2020-04-24 22:08:59 +00:00
sparc Update sparc libm-test-ulps 2020-04-08 13:52:44 -03:00
unix nios2: delete sysdeps/unix/sysv/linux/nios2/kernel-features.h 2020-05-04 20:23:25 +08:00
wordsize-32 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
wordsize-64 Update copyright dates with scripts/update-copyrights. 2020-01-01 00:14:33 +00:00
x86 i386: Remove unused variable in sysdeps/x86/cacheinfo.c 2020-04-30 21:16:47 +02:00
x86_64 Remove unused floating-point configuration from gmp-impl.h. 2020-04-28 15:05:09 +00:00