aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2004-08-27 08:09:00 +0000
committerNick Clifton <nickc@redhat.com>2004-08-27 08:09:00 +0000
commit3d9835052d7e277235b1b78c8e92571a689223f2 (patch)
tree58b050157fe99d1ef5468fa6b91d66962096df35
parentdeb0e27291402ef1938111b3d96733b415973c11 (diff)
downloadfsf-binutils-gdb-3d9835052d7e277235b1b78c8e92571a689223f2.zip
fsf-binutils-gdb-3d9835052d7e277235b1b78c8e92571a689223f2.tar.gz
fsf-binutils-gdb-3d9835052d7e277235b1b78c8e92571a689223f2.tar.bz2
Allow pcrel test for COFF targets as well, but not for PE targets.
Similarly for the absrel test.
-rw-r--r--gas/testsuite/ChangeLog5
-rw-r--r--gas/testsuite/gas/i386/i386.exp9
2 files changed, 12 insertions, 2 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index a3338ef..6c78e36 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2004-08-27 Nick Clifton <nickc@redhat.com>
+
+ * gas/i386/i386.exp: Allow pcrel test for COFF targets as well,
+ but not for PE targets. Similarly for the absrel test.
+
2004-08-26 Nick Clifton <nickc@redhat.com>
* gas/i386/i386.exp: Group ELF specific tests together. Move the
diff --git a/gas/testsuite/gas/i386/i386.exp b/gas/testsuite/gas/i386/i386.exp
index f95e2f4..31b0b94 100644
--- a/gas/testsuite/gas/i386/i386.exp
+++ b/gas/testsuite/gas/i386/i386.exp
@@ -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.