Make COFF and ELF disassemblys agree
authorNick Clifton <nickc@redhat.com>
Thu, 11 Jan 2001 18:42:58 +0000 (18:42 +0000)
committerNick Clifton <nickc@redhat.com>
Thu, 11 Jan 2001 18:42:58 +0000 (18:42 +0000)
gas/testsuite/ChangeLog
gas/testsuite/gas/arm/adrl.d
gas/testsuite/gas/arm/adrl.s

index 29183b8c8a3cd4dfa6ba03f247083ee1675d2c78..cfe580ddfab1380d6849d6be0f0fe3b84a4456bd 100644 (file)
@@ -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.
index f65100b204da0b0ad567ba00fabae920a33f6d17..fee65da11c06a6ba9af70ad84df3c3187d2a58e0 100644 (file)
@@ -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\)
        ...
index 5d6835bf7640132cab73c71ed9b09d26eac9ad3f..5c01a17c4d70f7e60bafde695a5fa6fe7a165603 100644 (file)
@@ -1,5 +1,6 @@
        @ test ADRL pseudo-op
 .text
+foo:   
 .align 0
 1:
         .space 8192