aboutsummaryrefslogtreecommitdiff
path: root/bfd
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-11-24 17:39:55 +0800
committerNick Clifton <nickc@redhat.com>2023-11-30 13:51:17 +0000
commit070961b377b3762c41903253bfacdedd65171ab7 (patch)
tree4b5b2dbeb18485061c58265f984c24343ac48274 /bfd
parent53302c2d33c26909cc8446819f6677076ba48ca9 (diff)
downloadfsf-binutils-gdb-070961b377b3762c41903253bfacdedd65171ab7.zip
fsf-binutils-gdb-070961b377b3762c41903253bfacdedd65171ab7.tar.gz
fsf-binutils-gdb-070961b377b3762c41903253bfacdedd65171ab7.tar.bz2
MIPS: Set r6 as default arch if vendor is img
This behavior is used by downstream toolchain since 2014, and has been in GCC since the same year. We don't support mips64*-img* due to GCC doesn't support it, and we believe that the multilib should be used for this case.
Diffstat (limited to 'bfd')
-rw-r--r--bfd/config.bfd2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/config.bfd b/bfd/config.bfd
index 08129e6..8c9637a 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1550,7 +1550,7 @@ case "${targ_defvec} ${targ_selvecs}" in
esac
case "${targ}" in
- mipsisa32r6* | mipsisa64r6*)
+ mipsisa32r6* | mipsisa64r6* | mips*-img-*)
targ_cflags="$targ_cflags -DMIPS_DEFAULT_R6=1"
;;
esac