diff options
author | Sam James <sam@gentoo.org> | 2024-01-27 17:14:50 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2024-01-27 17:18:27 +0000 |
commit | 21e8df74b41639435192141d14f9f071232290ef (patch) | |
tree | 55c79249ddc20803b3b8da6a0e13054f86f46a82 /eclass/flag-o-matic.eclass | |
parent | dev-util/catalyst: remove extra (wrong) man page installations (diff) | |
download | gentoo-21e8df74b41639435192141d14f9f071232290ef.tar.gz gentoo-21e8df74b41639435192141d14f9f071232290ef.tar.bz2 gentoo-21e8df74b41639435192141d14f9f071232290ef.zip |
Revert "flag-o-matic.eclass: allow further MIPS errata flags"
This reverts commit cf366abd1bd50a33755734bbfb8c0e8a49a5480e.
This reverts commit fad75a344cbaada57ae490c3e8f88cdd5b35dadc.
There's a bug in gas where it messes up labels in the presence
of some of these errata flags.
Bug: https://gcc.gnu.org/PR112782
Bug: https://sourceware.org/PR13509
Closes: https://bugs.gentoo.org/921104
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'eclass/flag-o-matic.eclass')
-rw-r--r-- | eclass/flag-o-matic.eclass | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/eclass/flag-o-matic.eclass b/eclass/flag-o-matic.eclass index 500ceb5941a8..0c75fab185df 100644 --- a/eclass/flag-o-matic.eclass +++ b/eclass/flag-o-matic.eclass @@ -90,7 +90,7 @@ _setup-allowed-flags() { '-fdiagnostics*' '-fplugin*' '-W*' -w - # CPPFLAGS and LDFLAGS (TODO: Allow -Wa,*?) + # CPPFLAGS and LDFLAGS '-[DUILR]*' '-Wl,*' # Linker choice flag @@ -124,10 +124,7 @@ _setup-allowed-flags() { -mfix-24k -mno-fix-24k -mfix-r4000 -mno-fix-r4000 -mfix-r4400 -mno-fix-r4400 -mfix-r5900 -mno-fix-r5900 -mfix-rm7000 -mno-fix-rm7000 -mfix-r9500 -mno-fix-r9500 - -mfix-r10000 -mno-fix-r10000 -mfix-vr4120 -mno-fix-vr4120 - -mfix-vr4130 -mfix-sb1 -mno-fix-sb1 - '-Wa,-mfix-loongson2f-nop' - + -mfix-r10000 -mno-fix-r10000 '-mr10k-cache-barrier=*' -mthumb -marm # needed for arm64 (and in particular SCS) |