Remove restriction on skipping some linker tests because their default image base...
[deliverable/binutils-gdb.git] / ld / testsuite / ld-mips-elf / mips-elf-flags.exp
index de97939f81e74f7512fcdcd05a13cce13a8f5f92..afbf84c35f799b257987decfce2e579d8fa3a13d 100644 (file)
@@ -1,4 +1,4 @@
-#   Copyright (C) 2003-2018 Free Software Foundation, Inc.
+#   Copyright (C) 2003-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -127,7 +127,12 @@ proc good_combination {arglist flags args} {
 
            foreach flag $flags {
                if {[lsearch -exact $gotflags $flag] < 0} {
-                   set failed 1
+                   # The mips*-*-irix* not use o32 flags.
+                   if {[istarget mips*-*-irix*] && $flag == "o32"} {
+                       set failed 0
+                   } else {
+                       set failed 1
+                   }
                }
            }
 
@@ -237,7 +242,7 @@ isa_conflict { "-march=sb1 -32"        "-mips64r2 -32" } sb1 isa64r2
 isa_conflict { "-march=vr4100 -32"     "-march=r10000 -32" } 4100 8000
 isa_conflict { "-march=r5900 -32"      "-march=vr4111 -32" } 5900 4111
 isa_conflict { "-march=loongson2e -32" "-march=loongson2f -32" } loongson_2e loongson_2f
-isa_conflict { "-march=loongson3a -32" "-march=loongson2f -32" } loongson_3a loongson_2f
+isa_conflict { "-march=gs464 -32" "-march=loongson2f -32" } gs464 loongson_2f
 
 isa_conflict { "-march=interaptiv-mr2 -32" \
               "-march=r4010 -32" } interaptiv-mr2 4010
@@ -309,4 +314,14 @@ good_combination { "-march=interaptiv-mr2 -32" "-mips32r5 -32" } \
 good_combination { "-march=interaptiv-mr2 -32" "-march=m5100 -32" } \
                 { mips32r2 interaptiv-mr2 } \
                 MIPS32r5 "Imagination interAptiv MR2" \
-                { "DSP ASE" "Enhanced VA Scheme" "MT ASE" }
+                { "DSP ASE" "Enhanced VA Scheme" \
+                  "MCU (MicroController) ASE" "MT ASE" }
+
+good_combination { "-march=gs464 -32" "-march=gs464e -32" }    \
+                { gs464e o32 }                                 \
+                MIPS64r2 "None"                                \
+                { "Loongson MMI ASE" "Loongson CAM ASE" "Loongson EXT ASE" "Loongson EXT2 ASE" }
+good_combination { "-march=gs264e -32" "-march=gs464e -32" }   \
+                { gs264e o32 }                                 \
+                MIPS64r2 "None"                                \
+                { "Loongson MMI ASE" "Loongson CAM ASE" "Loongson EXT ASE" "Loongson EXT2 ASE" }
This page took 0.02452 seconds and 4 git commands to generate.