This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix an arm-eabi FAIL
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Mon, 9 Jun 2008 10:55:58 -0400
- Subject: Fix an arm-eabi FAIL
Checked in this obvious patch after testing an arm-eabi cross linker.
The size of something in the ELF header changed, so the alignment
requirements changed the distance between the PLT and text section.
--
Daniel Jacobowitz
CodeSourcery
2008-06-09 Daniel Jacobowitz <dan@codesourcery.com>
* ld-arm/mixed-lib.d: Loosen pattern.
Index: ld-arm/mixed-lib.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-arm/mixed-lib.d,v
retrieving revision 1.5
diff -u -p -r1.5 mixed-lib.d
--- ld-arm/mixed-lib.d 22 May 2007 15:05:12 -0000 1.5
+++ ld-arm/mixed-lib.d 9 Jun 2008 14:54:33 -0000
@@ -8,7 +8,7 @@ Disassembly of section .plt:
.* <.plt>:
.*: e52de004 push {lr} ; \(str lr, \[sp, #-4\]!\)
- .*: e59fe004 ldr lr, \[pc, #4\] ; .* <lib_func1-0x1c>
+ .*: e59fe004 ldr lr, \[pc, #4\] ; .* <lib_func1-0x.*>
.*: e08fe00e add lr, pc, lr
.*: e5bef008 ldr pc, \[lr, #8\]!
.*: .*