diff options
author | YunQiang Su <yunqiang.su@cipunited.com> | 2023-11-24 17:39:55 +0800 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2023-11-30 13:51:17 +0000 |
commit | 070961b377b3762c41903253bfacdedd65171ab7 (patch) | |
tree | 4b5b2dbeb18485061c58265f984c24343ac48274 /gas/configure | |
parent | 53302c2d33c26909cc8446819f6677076ba48ca9 (diff) | |
download | gdb-070961b377b3762c41903253bfacdedd65171ab7.zip gdb-070961b377b3762c41903253bfacdedd65171ab7.tar.gz 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 'gas/configure')
-rwxr-xr-x | gas/configure | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gas/configure b/gas/configure index 6a2f56f..ace1a17 100755 --- a/gas/configure +++ b/gas/configure @@ -12264,6 +12264,12 @@ _ACEOF use_ef_mips_abi_o32=1 ;; esac + # If Vendor is IMG, then MIPSr6 is used + case ${target} in + mips*-img-*) + mips_cpu=mips32r6 + ;; + esac # Decide whether to generate 32-bit or 64-bit code by default. # Used to resolve -march=from-abi when an embedded ABI is selected. case ${target} in |