diff options
author | Alan Modra <amodra@gmail.com> | 2005-02-18 01:55:16 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2005-02-18 01:55:16 +0000 |
commit | 7921892a2fa91f709ca63767993582a2733641fe (patch) | |
tree | ae8df7a1769cba3c02d4b5784327fb34896d7f16 /ld/testsuite/ld-scripts | |
parent | 30eb9c17b215d0e7dad9d48766b1a836efe1a664 (diff) | |
download | gdb-7921892a2fa91f709ca63767993582a2733641fe.zip gdb-7921892a2fa91f709ca63767993582a2733641fe.tar.gz gdb-7921892a2fa91f709ca63767993582a2733641fe.tar.bz2 |
* 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.
Diffstat (limited to 'ld/testsuite/ld-scripts')
-rw-r--r-- | ld/testsuite/ld-scripts/align2a.d | 7 | ||||
-rw-r--r-- | ld/testsuite/ld-scripts/align2b.d | 7 |
2 files changed, 6 insertions, 8 deletions
diff --git a/ld/testsuite/ld-scripts/align2a.d b/ld/testsuite/ld-scripts/align2a.d index 2c5df45..873cfe1 100644 --- a/ld/testsuite/ld-scripts/align2a.d +++ b/ld/testsuite/ld-scripts/align2a.d @@ -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 diff --git a/ld/testsuite/ld-scripts/align2b.d b/ld/testsuite/ld-scripts/align2b.d index c74d3ab..457f04b 100644 --- a/ld/testsuite/ld-scripts/align2b.d +++ b/ld/testsuite/ld-scripts/align2b.d @@ -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 |