This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]