aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>1999-11-01 16:42:16 +0000
committerNick Clifton <nickc@redhat.com>1999-11-01 16:42:16 +0000
commit603eea0846aaa29b0dd9846cf6da67303601b6f1 (patch)
tree3f7eae96d3e87ec681efb20b174b7fed9413393a /gas
parent197d87f8ece97740f74bc58042bd1d5ff1dd6860 (diff)
downloadgdb-603eea0846aaa29b0dd9846cf6da67303601b6f1.zip
gdb-603eea0846aaa29b0dd9846cf6da67303601b6f1.tar.gz
gdb-603eea0846aaa29b0dd9846cf6da67303601b6f1.tar.bz2
Fix test results for arm-pe toolchain
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog11
-rw-r--r--gas/testsuite/gas/arm/arm7t.s3
-rw-r--r--gas/testsuite/gas/arm/inst.d4
-rw-r--r--gas/testsuite/gas/arm/inst.s2
4 files changed, 15 insertions, 5 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 350a942..4a8f87f 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,14 @@
+1999-11-01 Nick Clifton <nickc@cygnus.com>
+
+ Remove reloc generating references to local labels in test code.
+ Some ARM targets (eg PE) generate a reloc based on the label,
+ whilst others (eg ELF) generate a reloc based on the section
+ symbol. This meant that the disassembled outputs would differ.
+
+ * gas/arm/inst.s: Change test of BLPL instruction.
+ * gas/arm/inst.d: Change expected decode of BLPL instruction.
+ * gas/arm/arm7t.s: Remove use of .LC0 label in .word directive.
+
1999-10-21 Nick Clifton <nickc@cygnus.com>
* gas/arm/arm7t.d: Update to match latest objdump output.
diff --git a/gas/testsuite/gas/arm/arm7t.s b/gas/testsuite/gas/arm/arm7t.s
index 656e90e..061eb2b 100644
--- a/gas/testsuite/gas/arm/arm7t.s
+++ b/gas/testsuite/gas/arm/arm7t.s
@@ -1,6 +1,5 @@
.section .rdata
.align 0
-.LC0:
.ascii "some data\000"
.text
@@ -76,4 +75,4 @@ misc:
.align
.L2:
- .word .LC0
+ .word .rdata
diff --git a/gas/testsuite/gas/arm/inst.d b/gas/testsuite/gas/arm/inst.d
index 8fc0ecf..9566adb 100644
--- a/gas/testsuite/gas/arm/inst.d
+++ b/gas/testsuite/gas/arm/inst.d
@@ -161,8 +161,8 @@ Disassembly of section .text:
0000025c <[^>]*> 2f000033 ? swics 0x00000033
00000260 <[^>]*> ebfffffe ? bl 00000260 <[^>]*>
[ ]*260:.*_wombat.*
-00000264 <[^>]*> 5b000082 ? blpl 00000474 <[^>]*>
- 264: R_ARM_PC24 \.text
+00000264 <[^>]*> 5bfffffe ? blpl 00000264 <[^>]*>
+[ ]*264:.*ARM.*hohum
00000268 <[^>]*> eafffffe ? b 00000268 <[^>]*>
[ ]*268:.*_wibble.*
0000026c <[^>]*> dafffffe ? ble 0000026c <[^>]*>
diff --git a/gas/testsuite/gas/arm/inst.s b/gas/testsuite/gas/arm/inst.s
index 7e172b9..c603755 100644
--- a/gas/testsuite/gas/arm/inst.s
+++ b/gas/testsuite/gas/arm/inst.s
@@ -184,6 +184,6 @@ bar:
swihs 0x33
bl _wombat
- blpl bar
+ blpl hohum
b _wibble
ble testerfunc