Fix an arm-eabi FAIL

Daniel Jacobowitz drow@false.org
Mon Jun 9 15:20:00 GMT 2008


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\]!
  .*:	.*



More information about the Binutils mailing list