* ld-scripts/align2a.d: Don't assume anything about section

padding or alignment, or max page size.  Allow 64-bit addresses.
	* ld-scripts/align2b.d: Likewise.
This commit is contained in:
Alan Modra 2005-02-18 01:55:16 +00:00
parent 30eb9c17b2
commit 7921892a2f
3 changed files with 12 additions and 8 deletions

View File

@ -1,3 +1,9 @@
2005-02-18 Alan Modra <amodra@bigpond.net.au>
* ld-scripts/align2a.d: Don't assume anything about section
padding or alignment, or max page size. Allow 64-bit addresses.
* ld-scripts/align2b.d: Likewise.
2005-02-17 Zack Weinberg <zack@codesourcery.com>
* ld-scripts/align.exp: Rename existing "ALIGN" test to "align1".

View File

@ -5,9 +5,8 @@
Sections:
Idx +Name +Size +VMA +LMA +File +off +Algn
+0 +\.text +00000004 +00000000 +00000000 +00001000 +2\*\*2
+0 +\.text +[^ ]* +0+ +0+ .*
+CONTENTS, +ALLOC, +LOAD, +READONLY, +CODE
+1 +\.data +00000004 +00000010 +00000010 +00001010 +2\*\*2
+1 +\.data +[^ ]* +0+10 +0+10 .*
+CONTENTS, +ALLOC, +LOAD, +DATA
+2 +\.bss +00000000 +00000014 +00000014 +00001014 +2\*\*2
+ALLOC
#pass

View File

@ -5,9 +5,8 @@
Sections:
Idx +Name +Size +VMA +LMA +File off +Algn
+0 +\.text +00000004 +00000000 +00000000 +00001000 +2\*\*2
+0 +\.text +[^ ]* +0+ +0+ .*
+CONTENTS, +ALLOC, +LOAD, +READONLY, +CODE
+1 +\.data +00000004 +00000020 +00000020 +00001020 +2\*\*2
+1 +\.data +[^ ]* +0+20 +0+20 .*
+CONTENTS, +ALLOC, +LOAD, +DATA
+2 +\.bss +00000000 +00000024 +00000024 +00001024 +2\*\*2
+ALLOC
#pass