aboutsummaryrefslogtreecommitdiff
path: root/bfd/config.bfd
diff options
context:
space:
mode:
authorYunQiang Su <yunqiang.su@cipunited.com>2023-05-10 18:07:23 +0800
committerYunQiang Su <yunqiang.su@cipunited.com>2023-06-05 11:00:14 +0800
commitbe0d391f22fe6009c3be907753975a984cbbcc23 (patch)
treea3a67bd621ffb72f41a4501b89b1e91cf7a22201 /bfd/config.bfd
parent094025a30bb2da19df3990e0c0ff8167af823aa1 (diff)
downloadgdb-be0d391f22fe6009c3be907753975a984cbbcc23.zip
gdb-be0d391f22fe6009c3be907753975a984cbbcc23.tar.gz
gdb-be0d391f22fe6009c3be907753975a984cbbcc23.tar.bz2
MIPS: default r6 if vendor is img
This behavior is used by downstream toolchain since 2014. We also set the default ABI for mips*-img-elf to O32. The previous value is NO_ABI, which is not good default ABI. 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/config.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 9548370..7875299 100644
--- a/bfd/config.bfd
+++ b/bfd/config.bfd
@@ -1537,7 +1537,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