This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
fix rgn-at tests
- From: Nathan Sidwell <nathan at codesourcery dot com>
- To: binutils <binutils at sources dot redhat dot com>
- Date: Wed, 22 Apr 2009 12:58:34 +0100
- Subject: fix rgn-at tests
I've applied this patch to fix the rgn-at tests for mips-linux, where section
sizes are rounded up to 16 bytes.
nathan
--
Nathan Sidwell :: http://www.codesourcery.com :: CodeSourcery
2009-04-22 Nathan Sidwell <nathan@codesourcery.com>
* ld-scripts/rgn-at1.d: Cope with larger padding on sections.
* ld-scripts/rgn-at2.d: Likewise.
* ld-scripts/rgn-at3.d: Likewise.
Index: ld-scripts/rgn-at1.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/rgn-at1.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 rgn-at1.d
*** ld-scripts/rgn-at1.d 3 Apr 2009 07:45:28 -0000 1.1
--- ld-scripts/rgn-at1.d 22 Apr 2009 11:56:06 -0000
***************
*** 7,12 ****
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
! 0 .text +0+[0-9a-f] +0+0010000 +0+0020000 +.*
! 1 .data +0+[0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*
! 2 .bss +0+[0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*
--- 7,12 ----
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
! 0 .text +0+[0-9a-f][0-9a-f] +0+0010000 +0+0020000 +.*
! 1 .data +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*
! 2 .bss +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00200[0-9a-f]+ +.*
Index: ld-scripts/rgn-at2.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/rgn-at2.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 rgn-at2.d
*** ld-scripts/rgn-at2.d 3 Apr 2009 07:45:28 -0000 1.1
--- ld-scripts/rgn-at2.d 22 Apr 2009 11:56:06 -0000
***************
*** 7,12 ****
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
! 0 .text +0+[0-9a-f] +0+0010000 +0+0020000 +.*
! 1 .data +0+[0-9a-f] +0+0030000 +0+0030000 +.*
! 2 .bss +0+[0-9a-f] +0+00300[0-9a-f]+ +0+00300[0-9a-f]+ +.*
--- 7,12 ----
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
! 0 .text +0+[0-9a-f][0-9a-f] +0+0010000 +0+0020000 +.*
! 1 .data +0+[0-9a-f][0-9a-f] +0+0030000 +0+0030000 +.*
! 2 .bss +0+[0-9a-f][0-9a-f] +0+00300[0-9a-f]+ +0+00300[0-9a-f]+ +.*
Index: ld-scripts/rgn-at3.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-scripts/rgn-at3.d,v
retrieving revision 1.1
diff -c -3 -p -r1.1 rgn-at3.d
*** ld-scripts/rgn-at3.d 3 Apr 2009 07:45:28 -0000 1.1
--- ld-scripts/rgn-at3.d 22 Apr 2009 11:56:06 -0000
***************
*** 7,12 ****
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
! 0 .text +0+[0-9a-f] +0+0010000 +0+0020000 +.*
! 1 .data +0+[0-9a-f] +0+00100[0-9a-f]+ +0+0030000 +.*
! 2 .bss +0+[0-9a-f] +0+00100[0-9a-f]+ +0+00300[0-9a-f]+ +.*
--- 7,12 ----
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn +Flags
! 0 .text +0+[0-9a-f][0-9a-f] +0+0010000 +0+0020000 +.*
! 1 .data +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+0030000 +.*
! 2 .bss +0+[0-9a-f][0-9a-f] +0+00100[0-9a-f]+ +0+00300[0-9a-f]+ +.*