This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: Fix ld/13803: ARM test-cases for "erratum 760522 fix" failing for arm-linux-gnueabi
- From: Hans-Peter Nilsson <hans-peter dot nilsson at axis dot com>
- To: binutils at sourceware dot org
- Date: Mon, 5 Mar 2012 18:23:31 +0100
- Subject: Re: Fix ld/13803: ARM test-cases for "erratum 760522 fix" failing for arm-linux-gnueabi
> From: Richard Earnshaw <rearnsha@arm.com>
> Date: Mon, 5 Mar 2012 11:12:12 +0100
> On 05/03/12 06:05, Hans-Peter Nilsson wrote:
> > Index: ld-arm/fix-arm1176-off.d
> > Index: ld-arm/fix-arm1176-on.d
> > - [0-9a-f]+: 00008000 .word 0x00008000
> > + [0-9a-f]+: 00008... .word 0x00008...
> I don't think the contents of that location are at all interesting to
> what we are testing here. So I suggest we just stub out the entire value.
I blame an emacs rmail bug (possibly in my own settings and
scripts) that caused my reply and subsequent approval to go
off-list. Anyway, the following was committed after approval.
Tested as before.
ld/testsuite:
PR ld/13803
* ld-arm/fix-arm1176-off.d, ld-arm/fix-arm1176-on.d: Regexpify
address of func_to_branch_to.
Index: fix-arm1176-off.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-arm/fix-arm1176-off.d,v
retrieving revision 1.1
diff -p -u -r1.1 fix-arm1176-off.d
--- fix-arm1176-off.d 9 Aug 2011 13:10:44 -0000 1.1
+++ fix-arm1176-off.d 5 Mar 2012 16:52:14 -0000
@@ -9,7 +9,7 @@ Disassembly of section .foo:
[0-9a-f]+ <__func_to_branch_to_veneer>:
[0-9a-f]+: e51ff004 ldr pc, \[pc, #-4\] ; 200101c <__func_to_branch_to_veneer\+0x4>
- [0-9a-f]+: 00008000 .word 0x00008000
+ [0-9a-f]+: ........ .word 0x........
Disassembly of section .text:
Index: fix-arm1176-on.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-arm/fix-arm1176-on.d,v
retrieving revision 1.1
diff -p -u -r1.1 fix-arm1176-on.d
--- fix-arm1176-on.d 9 Aug 2011 13:10:44 -0000 1.1
+++ fix-arm1176-on.d 5 Mar 2012 16:52:14 -0000
@@ -11,7 +11,7 @@ Disassembly of section .foo:
[0-9a-f]+: 4778 bx pc
[0-9a-f]+: 46c0 nop ; \(mov r8, r8\)
[0-9a-f]+: e51ff004 ldr pc, \[pc, #-4\] ; 2001020 <__func_to_branch_to_veneer\+0x8>
- [0-9a-f]+: 00008000 .word 0x00008000
+ [0-9a-f]+: ........ .word 0x........
[0-9a-f]+: 00000000 .word 0x00000000
Disassembly of section .text:
brgds, H-P