summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2001-01-11 18:42:58 +0000
committerNick Clifton <nickc@redhat.com>2001-01-11 18:42:58 +0000
commit21bfea806902e91b2d4febb783a62da088f8df1f (patch)
treee44ce07144d90f290ba1bca964a9e87ce8154ed4 /gas
parent0e113732473fe2a987b4d60ab905d30c8a700732 (diff)
downloadbinutils-redhat-21bfea806902e91b2d4febb783a62da088f8df1f.tar.gz
Make COFF and ELF disassemblys agree
Diffstat (limited to 'gas')
-rw-r--r--gas/testsuite/ChangeLog6
-rw-r--r--gas/testsuite/gas/arm/adrl.d16
-rw-r--r--gas/testsuite/gas/arm/adrl.s1
3 files changed, 15 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog
index 29183b8c8a..cfe580ddfa 100644
--- a/gas/testsuite/ChangeLog
+++ b/gas/testsuite/ChangeLog
@@ -1,3 +1,9 @@
+2001-01-11 Nick Clifton <nickc@redhat.com>
+
+ * gas/arm/adrl.s: Add global label 'foo'.
+ * gas/arm/adrl.d: Expect to see references to 'foo' in the
+ disassembly. COFF and ELF disassemblys should now be the same.
+
Wed Jan 10 15:14:54 MET 2001 Jan Hubicka <jh@suse.cz>
* i386.exp: Add ssemmx2 and sse2 tests.
diff --git a/gas/testsuite/gas/arm/adrl.d b/gas/testsuite/gas/arm/adrl.d
index f65100b204..fee65da11c 100644
--- a/gas/testsuite/gas/arm/adrl.d
+++ b/gas/testsuite/gas/arm/adrl.d
@@ -7,12 +7,12 @@
Disassembly of section .text:
...
-0x00002000 e24f0008 sub r0, pc, #8 ; 0x8
-0x00002004 e2400c20 sub r0, r0, #8192 ; 0x2000
-0x00002008 e28f0018 add r0, pc, #24 ; 0x18
-0x0000200c e2800c20 add r0, r0, #8192 ; 0x2000
-0x00002010 e24f0018 sub r0, pc, #24 ; 0x18
-0x00002014 e1a00000 nop \(mov r0,r0\)
-0x00002018 e28f0000 add r0, pc, #0 ; 0x0
-0x0000201c e1a00000 nop \(mov r0,r0\)
+00002000 <.*> e24f0008 sub r0, pc, #8 ; 0x8
+00002004 <.*> e2400c20 sub r0, r0, #8192 ; 0x2000
+00002008 <.*> e28f0018 add r0, pc, #24 ; 0x18
+0000200c <.*> e2800c20 add r0, r0, #8192 ; 0x2000
+00002010 <.*> e24f0018 sub r0, pc, #24 ; 0x18
+00002014 <.*> e1a00000 nop \(mov r0,r0\)
+00002018 <.*> e28f0000 add r0, pc, #0 ; 0x0
+0000201c <.*> e1a00000 nop \(mov r0,r0\)
...
diff --git a/gas/testsuite/gas/arm/adrl.s b/gas/testsuite/gas/arm/adrl.s
index 5d6835bf76..5c01a17c4d 100644
--- a/gas/testsuite/gas/arm/adrl.s
+++ b/gas/testsuite/gas/arm/adrl.s
@@ -1,5 +1,6 @@
@ test ADRL pseudo-op
.text
+foo:
.align 0
1:
.space 8192