]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gas/configure
MIPS: default r6 if vendor is img
[thirdparty/binutils-gdb.git] / gas / configure
index 868f4a911a9d261c18afeefb70726e46e56d04af..580022d858d767e78a151917f87374ec950e792b 100755 (executable)
@@ -12211,6 +12211,12 @@ _ACEOF
            use_e_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
@@ -12230,7 +12236,7 @@ _ACEOF
          | mips64*-kfreebsd*-gnu | mips64*-ps2-elf*)
            mips_default_abi=N32_ABI
            ;;
-         mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu)
+         mips*-linux* | mips*-freebsd* | mips*-kfreebsd*-gnu | mips*-img-elf)
            mips_default_abi=O32_ABI
            ;;
          mips64*-openbsd*)