diff options
author | Nick Clifton <nickc@redhat.com> | 2001-01-11 18:42:58 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2001-01-11 18:42:58 +0000 |
commit | 3f53569383e87233e9d4b382b146599396c19f32 (patch) | |
tree | e635617dbe65658d32b35e8e120d2e8dfea93ff8 /gas | |
parent | eea2ad45018025d9975e0c6403a8c923c75e7708 (diff) | |
download | gdb-3f53569383e87233e9d4b382b146599396c19f32.zip gdb-3f53569383e87233e9d4b382b146599396c19f32.tar.gz gdb-3f53569383e87233e9d4b382b146599396c19f32.tar.bz2 |
Make COFF and ELF disassemblys agree
Diffstat (limited to 'gas')
-rw-r--r-- | gas/testsuite/ChangeLog | 6 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/adrl.d | 16 | ||||
-rw-r--r-- | gas/testsuite/gas/arm/adrl.s | 1 |
3 files changed, 15 insertions, 8 deletions
diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 29183b8..cfe580d 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 f65100b..fee65da 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 5d6835b..5c01a17 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 |