Improve warning messages for la/dla
[deliverable/binutils-gdb.git] / gas / testsuite / gas / mips / mips.exp
index cdb66fc147855c467dcf27cf2387034355b8fe03..c3c33643c36f7b7677efe9ff5592ca02719347e9 100644 (file)
@@ -1223,8 +1223,12 @@ if { [istarget mips*-*-vxworks*] } {
     run_list_test "ase-errors-4" "-mabi=o64 -march=mips3" "ASE errors (4)"
 
     run_dump_test_arches "la-reloc"    [mips_arch_list_matching mips1]
+    run_list_test "dla-warn" "-mabi=32 -march=mips3" \
+                            "DLA with 32-bit addresses"
     if { $has_newabi } {
        run_dump_test_arches "dla-reloc" [mips_arch_list_matching mips3]
+       run_list_test "la-warn" "-mabi=64 -march=mips3" \
+                               "LA with 64-bit addresses"
     }
 
     # Start with MIPS II to avoid load delay nops.
This page took 0.024382 seconds and 4 git commands to generate.