Allow pcrel test for COFF targets as well, but not for PE targets.
[deliverable/binutils-gdb.git] / gas / testsuite / gas / i386 / i386.exp
index f95e2f495e250df772f92002fff2b036784fee1c..31b0b94c122fa930dcfce92297c4d21b4a3e80b9 100644 (file)
@@ -53,7 +53,6 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
     run_dump_test "jump"
     run_dump_test "ssemmx2"
     run_dump_test "sse2"
-    run_dump_test "absrel"
     run_dump_test "sub"
     run_dump_test "prescott"
     run_dump_test "divide"
@@ -65,6 +64,13 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
        run_dump_test "reloc"
        run_dump_test "jump16"
        run_list_test "white" "-al --listing-lhs-width=3"
+
+       # These tests should in theory work for PE targets as well,
+       # but the relocs we currently produce are slightly different
+       # from those produced for ELF/COFF based toolchains.
+       # So for now we ignore PE targets.
+       run_dump_test "pcrel"
+       run_dump_test "absrel"
     }
 
     # ELF specific tests
@@ -77,7 +83,6 @@ if [expr ([istarget "i*86-*-*"] ||  [istarget "x86_64-*-*"]) && [gas_32_check]]
        run_dump_test "tlsd"
        run_dump_test "tlspic"
        run_dump_test "tlsnopic"
-       run_dump_test "pcrel"
     }
 
     # This is a PE specific test.
This page took 0.025404 seconds and 4 git commands to generate.