Fix --set-section-flags test for mips-linux

Daniel Jacobowitz drow@false.org
Wed Mar 26 16:03:00 GMT 2008


I've applied this.  Because .text grows to 0x10 on non-embedded MIPS
targets, the total segment size was unexpectedly large.

-- 
Daniel Jacobowitz
CodeSourcery

2008-03-26  Daniel Jacobowitz  <dan@codesourcery.com>

	* ld-elf/flags1.d: Adjust for MIPS text alignment.

Index: ld-elf/flags1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-elf/flags1.d,v
retrieving revision 1.3
diff -u -p -r1.3 flags1.d
--- ld-elf/flags1.d	31 Dec 2007 11:29:01 -0000	1.3
+++ ld-elf/flags1.d	26 Mar 2008 16:01:42 -0000
@@ -13,7 +13,7 @@
 #...
 Program Headers:
   Type.*
-  LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*016[1-8] 0x0*016[1-8] RWE 0x[0-9a-f]+
+  LOAD +0x[0-9a-f]+ 0x0*0 0x0*0 0x0*01(6[1-9a-f]|70) 0x0*01(6[1-9a-f]|70) RWE 0x[0-9a-f]+
 
 #...
   Segment Sections...



More information about the Binutils mailing list