[committed] Fix MIPS rel32-n32.d failures

Richard Sandiford richard@codesourcery.com
Wed Oct 18 14:26:00 GMT 2006


I was going through the MIPS testsuite fixing tests that were failing a
few days ago because of the changes to empty section removal.  Some of
these tests were also affected by the .reginfo change, and my plan was
to change the tests for both things at the same time.

Alan has since fixed all the removed section problems (thanks!),
so that just leaves the .reginfo stuff.  I've applied this patch
as obvious.

Richard


ld/testsuite/
	* ld-mips-elf/rel32-n32.d: Bump addresses by 0x20 to account for
	the fact that .reginfo is now placed before .text.  Change the
	section number of .text accordingly.

Index: ld/testsuite/ld-mips-elf/rel32-n32.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-mips-elf/rel32-n32.d,v
retrieving revision 1.9
diff -u -p -r1.9 rel32-n32.d
--- ld/testsuite/ld-mips-elf/rel32-n32.d	17 Oct 2006 13:41:48 -0000	1.9
+++ ld/testsuite/ld-mips-elf/rel32-n32.d	18 Oct 2006 12:33:00 -0000
@@ -1,7 +1,7 @@
 #name: MIPS rel32 n32
 #source: rel32.s
 #as: -KPIC -EB -n32
-#readelf: -x 5 -r
+#readelf: -x 6 -r
 #ld: -shared -melf32btsmipn32
 
 Relocation section '.rel.dyn' at offset .* contains 2 entries:
@@ -10,6 +10,6 @@ Relocation section '.rel.dyn' at offset 
 [0-9a-f ]+R_MIPS_REL32     
 
 Hex dump of section '.text':
-  0x000002b0 00000000 00000000 00000000 00000000 ................
-  0x000002c0 000002c0 00000000 00000000 00000000 ................
   0x000002d0 00000000 00000000 00000000 00000000 ................
+  0x000002e0 000002e0 00000000 00000000 00000000 ................
+  0x000002f0 00000000 00000000 00000000 00000000 ................



More information about the Binutils mailing list