This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Fix --set-section-flags test for mips-linux
- From: Daniel Jacobowitz <drow at false dot org>
- To: binutils at sourceware dot org
- Date: Wed, 26 Mar 2008 12:03:11 -0400
- Subject: Fix --set-section-flags test for mips-linux
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...