glibc/sysdeps/powerpc/powerpc64/le
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
..
fpu powerpc64le: Enforce -mabi=ibmlongdouble when -mfloat128 used 2020-04-06 10:23:58 -05:00
multiarch powerpc64*: fix the order of implied sysdeps directories 2018-04-27 16:32:01 -03:00
power7 powerpc64*: fix the order of implied sysdeps directories 2018-04-27 16:32:01 -03:00
power8 powerpc64*: fix the order of implied sysdeps directories 2018-04-27 16:32:01 -03:00
power9 powerpc64le/power9: guard power9 strcmp against rtld usage [BZ# 25905] 2020-05-04 13:27:31 -05:00
configure powerpc64le: blacklist broken GCC compilers (e.g GCC 7.5.0) 2020-04-30 08:52:08 -05:00
configure.ac powerpc64le: blacklist broken GCC compilers (e.g GCC 7.5.0) 2020-04-30 08:52:08 -05:00
Implies powerpc64*: fix the order of implied sysdeps directories 2018-04-27 16:32:01 -03:00
Implies-before powerpc64le: Enable support for IEEE long double 2020-04-30 08:52:08 -05:00
Makefile powerpc64le: Enable support for IEEE long double 2020-04-30 08:52:08 -05:00
no_ldbl_gnu_attribute.c powerpc64le: enforce non-specific long double in .gnu.attributes section 2020-04-06 10:23:58 -05:00