diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-04-15 17:40:45 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-06-22 15:21:08 +0100 |
commit | 18e0807ab4771d243919f3b54b9439e6a09aec4b (patch) | |
tree | 9edda62536e3df68da8f9e60f7ae5ab6fe193e06 /ChangeLog.old-ports-powerpc | |
parent | 8f62ca73284bb85ad0b7a50dfa5a9ecae27bdc0b (diff) | |
download | glibc-18e0807ab4771d243919f3b54b9439e6a09aec4b.tar.gz glibc-18e0807ab4771d243919f3b54b9439e6a09aec4b.tar.xz glibc-18e0807ab4771d243919f3b54b9439e6a09aec4b.zip |
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.
Diffstat (limited to 'ChangeLog.old-ports-powerpc')
0 files changed, 0 insertions, 0 deletions