Fix unexpected failrues for arm toolchains
[deliverable/binutils-gdb.git] / gas / testsuite / gas / arm / arm.exp
index 16361d9dff9123f9bc5cc0271eea6c9b0a848240..872e62bf69e2e396402aeec0e4159053a7ad6ce7 100644 (file)
@@ -50,17 +50,25 @@ if {[istarget *arm*-*-*] || [istarget "xscale-*-*"]} then {
     run_dump_test "maverick"    
     run_dump_test "archv6"
     run_dump_test "thumbv6"
+    run_dump_test "arch6zk"
     
     run_errors_test "vfp-bad" "-mfpu=vfp" "VFP errors"
     run_errors_test "req" "-mcpu=arm7m" ".req errors"
     run_errors_test "armv1-bad" "-mcpu=arm7m" "ARM v1 errors"
     run_errors_test "r15-bad" "" "Invalid use of r15 errors"
-    run_errors_test "undefined" "" "Undefined local label error"
 
-    if {[istarget *-*-elf*] || [istarget *-*-linux*]} then {
+    if {[istarget *-*-*coff] || [istarget *-*-pe] || [istarget *-*-wince] ||
+        [istarget *-*-*aout*] || [istarget *-*-netbsd] || [istarget *-*-riscix*]} then {
+       # COFF and aout based ports use a different naming convention for local labels.
+       run_errors_test "undefined_coff" "" "Undefined local label error"
+   } else {
+       # For ELF based ports we can run some additional tests as well.
+        run_errors_test "undefined" "" "Undefined local label error"
+       
        run_dump_test "pic"
        run_dump_test "mapping"
        gas_test "bignum1.s" "" $stdoptlist "bignums"
+       run_dump_test "unwind"
     }
 
     if {! [istarget arm*-*-aout] && ![istarget arm-*-pe]} then {
This page took 0.034816 seconds and 4 git commands to generate.