]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/configure
MIPS: Set r6 as default arch if vendor is img
[thirdparty/binutils-gdb.git] / gas / configure
index 6a2f56f928af62a971635bc3dcd00ef3331a8c15..ace1a17365fe31ca0f69ca2cfb41b39a1f6fe896 100755 (executable)
@@ -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