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]

tweak ld-elf/orphan.d


On mips-linux, we happen to put .notbad before .text, which is quite
reasonable given the placement of .reginfo before .text.

	* ld-elf/orphan.d: Adjust for mips.

Index: ld/testsuite/ld-elf/orphan.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/orphan.d,v
retrieving revision 1.1
diff -u -p -r1.1 orphan.d
--- ld/testsuite/ld-elf/orphan.d	21 Oct 2005 21:18:05 -0000	1.1
+++ ld/testsuite/ld-elf/orphan.d	24 Oct 2005 22:59:14 -0000
@@ -3,8 +3,8 @@
 #readelf: -S --wide
 
 #...
-  \[[ 0-9]+\] \.text[ \t]+PROGBITS[ \t0-9a-f]+AX.*
-  \[[ 0-9]+\] \.notbad[ \t]+PROGBITS[ \t0-9a-f]+A.*
+  \[[ 0-9]+\] \.(text|notbad)[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
+  \[[ 0-9]+\] \.(text|notbad)[ \t]+PROGBITS[ \t0-9a-f]+AX?.*
   \[[ 0-9]+\] \.data[ \t]+PROGBITS[ \t0-9a-f]+WA.*
 #...
   \[[ 0-9]+\] \.note[ \t]+NOTE[ \t0-9a-f]+A.*

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre


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