Committed: Fix Linker orphan4 test
Nick Clifton
nickc@redhat.com
Wed Feb 24 10:54:00 GMT 2010
Hi Guys,
I am applying the patch below to fix the orphan4 test in the linker
testsuite for targets which automatically add extra sections to an
output binary. (Eg the arm-eabi target which adds a .ARM.attributes
section).
Cheers
Nick
ld/testsuite/ChangeLog
2010-02-23 Nick Clifton <nickc@redhat.com>
* ld-elf/orphan4.d: Allow for other sections to be present in the
output.
Index: ld/testsuite/ld-elf/orphan4.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/orphan4.d,v
retrieving revision 1.3
diff -c -3 -p -r1.3 orphan4.d
*** ld/testsuite/ld-elf/orphan4.d 14 Jan 2010 14:29:51 -0000 1.3
--- ld/testsuite/ld-elf/orphan4.d 23 Feb 2010 11:51:06 -0000
***************
*** 3,7 ****
#objdump: -h
#...
! 1 \.foo 0+1 0+1000 0+1000 .* 2\*\*0
#pass
--- 3,7 ----
#objdump: -h
#...
! . \.foo 0+1 0+1000 0+1000 .* 2\*\*0
#pass
More information about the Binutils
mailing list