glibc/sysdeps
Szabolcs Nagy d174ec248d aarch64: redefine RETURN_ADDRESS to strip PAC
RETURN_ADDRESS is used at several places in glibc to mean a valid
code address of the call site, but with pac-ret it may contain a
pointer authentication code (PAC), so its definition is adjusted.

This is gcc PR target/94891: __builtin_return_address should not
expose signed pointers to user code where it can cause ABI issues.
In glibc RETURN_ADDRESS is only changed if it is built with pac-ret.
There is no detection for the specific gcc issue because it is
hard to test and the additional xpac does not cause problems.

Reviewed-by: Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2020-07-08 15:02:38 +01:00
..
aarch64 aarch64: redefine RETURN_ADDRESS to strip PAC 2020-07-08 15:02:38 +01:00
alpha
arm Rewrite abi-note.S in C. 2020-07-08 15:02:37 +01:00
csky
generic rtld: Clean up PT_NOTE and add PT_GNU_PROPERTY handling 2020-07-08 14:28:53 +01:00
gnu signal: Move sys_errlist to a compat symbol 2020-07-07 14:10:58 -03:00
hppa
htl
hurd hurd: Evaluate fd before entering the critical section 2020-07-07 22:10:24 +02:00
i386
ia64
ieee754 Use C2x return value from getpayload of non-NaN (bug 26073). 2020-07-06 16:18:02 +00:00
m68k
mach hurd: Fix strerror not setting errno 2020-07-07 21:46:53 +00:00
microblaze
mips
nios2
nptl
posix
powerpc powerpc: Add support for POWER10 2020-06-29 10:08:38 -03:00
pthread htl: Enable cancel*16 an cancel*20 tests 2020-06-29 00:16:33 +00:00
riscv
s390
sh
sparc
unix aarch64: enable BTI at runtime 2020-07-08 15:02:37 +01:00
wordsize-32
wordsize-64
x86 rtld: Clean up PT_NOTE and add PT_GNU_PROPERTY handling 2020-07-08 14:28:53 +01:00
x86_64 x86: Add thresholds for "rep movsb/stosb" to tunables 2020-07-06 11:48:42 -07:00