From: Nick Clifton Date: Thu, 11 Jan 2001 18:42:58 +0000 (+0000) Subject: Make COFF and ELF disassemblys agree X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=3f53569383e87233e9d4b382b146599396c19f32;p=binutils-gdb.git Make COFF and ELF disassemblys agree --- diff --git a/gas/testsuite/ChangeLog b/gas/testsuite/ChangeLog index 29183b8c8a3..cfe580ddfab 100644 --- a/gas/testsuite/ChangeLog +++ b/gas/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2001-01-11 Nick Clifton + + * 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 * i386.exp: Add ssemmx2 and sse2 tests. diff --git a/gas/testsuite/gas/arm/adrl.d b/gas/testsuite/gas/arm/adrl.d index f65100b204d..fee65da11c0 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 5d6835bf764..5c01a17c4d7 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