diff options
author | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-05-07 18:30:12 +0100 |
---|---|---|
committer | Szabolcs Nagy <szabolcs.nagy@arm.com> | 2020-07-08 15:02:38 +0100 |
commit | 9e1751e6d693b73b95db2f6d8438dd80f1aeffe0 (patch) | |
tree | 40ece1a3b2681b7152ec3e7352e97bcd340e17b8 /gmon/tst-profile-static.c | |
parent | de9301c02e898fb20a609b459d81afda42f39c61 (diff) | |
download | glibc-9e1751e6d693b73b95db2f6d8438dd80f1aeffe0.tar.gz glibc-9e1751e6d693b73b95db2f6d8438dd80f1aeffe0.tar.xz glibc-9e1751e6d693b73b95db2f6d8438dd80f1aeffe0.zip |
aarch64: configure check for pac-ret code generation
Return address signing requires unwinder support, which is present in libgcc since >=gcc-7, however due to bugs the support may be broken in <gcc-10 (and similarly there may be issues in custom unwinders), so pac-ret is not always safe to use. So in assembly code glibc should only use pac-ret if the compiler uses it too. Unfortunately there is no predefined feature macro for it set by the compiler so pac-ret is inferred from the code generation. Reviewed-by: Adhemerval Zanella <adhemerval.zanella@linaro.org>
Diffstat (limited to 'gmon/tst-profile-static.c')
0 files changed, 0 insertions, 0 deletions