Skip to content
Commit 9e1751e6 authored by Szabolcs Nagy's avatar Szabolcs Nagy
Browse files

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: default avatarAdhemerval Zanella <adhemerval.zanella@linaro.org>
parent de9301c0
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment