commit: a5e21edfc41b5663110f0a6dddf38975038c7009 Author: Sam James <sam <AT> gentoo <DOT> org> AuthorDate: Tue Jan 18 16:50:23 2022 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Sat Jan 22 22:18:54 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a5e21edf
flag-o-matic.eclass: allow -ffixed-x18 for arm64 Needed for shadow stack bits on ARM64. Closes: https://bugs.gentoo.org/800533 Thanks-to: Jannik Glückert <jannik.glueckert <AT> gmail.com> Signed-off-by: Sam James <sam <AT> gentoo.org> eclass/flag-o-matic.eclass | 3 +++ 1 file changed, 3 insertions(+) diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index a2e37b89b6f0..7ac4f4a7791d 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -109,6 +109,9 @@ _setup-allowed-flags() { -mfix-rm7000 -mno-fix-rm7000 -mfix-r10000 -mno-fix-r10000 '-mr10k-cache-barrier=*' -mthumb -marm + # needed for arm64 (and in particular SCS) + -ffixed-x18 + # gcc 4.5 -mno-fma4 -mno-movbe -mno-xop -mno-lwp # gcc 4.6
