This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix ld-elf/group tests for MIPS
- From: "Joseph S. Myers" <joseph at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Fri, 18 May 2007 12:58:33 +0000 (UTC)
- Subject: Fix ld-elf/group tests for MIPS
ld-elf/group3a and ld-elf/group3b fail for mips-linux because .reginfo
gets located to 0x1000 rather than the expected section (which goes at
0x1020). This patch fixes this by making ld-elf/group.ld discard
.reginfo. OK to commit?
2007-05-18 Joseph Myers <joseph@codesourcery.com>
* ld-elf/group.ld: Discard .reginfo.
Index: ld/testsuite/ld-elf/group.ld
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/group.ld,v
retrieving revision 1.2
diff -u -r1.2 group.ld
--- ld/testsuite/ld-elf/group.ld 8 Nov 2006 11:29:16 -0000 1.2
+++ ld/testsuite/ld-elf/group.ld 18 May 2007 12:52:40 -0000
@@ -2,4 +2,5 @@
{
. = 0x1000;
.text : { *(.text) *(.rodata.brlt) }
+ /DISCARD/ : { *(.reginfo) }
}
--
Joseph S. Myers
joseph@codesourcery.com