From 7921892a2fa91f709ca63767993582a2733641fe Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 18 Feb 2005 01:55:16 +0000 Subject: [PATCH 1/1] * 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. --- ld/testsuite/ChangeLog | 6 ++++++ ld/testsuite/ld-scripts/align2a.d | 7 +++---- ld/testsuite/ld-scripts/align2b.d | 7 +++---- 3 files changed, 12 insertions(+), 8 deletions(-) diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog index a827a37682..c85a57e953 100644 --- a/ld/testsuite/ChangeLog +++ b/ld/testsuite/ChangeLog @@ -1,3 +1,9 @@ +2005-02-18 Alan Modra + + * 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 * ld-scripts/align.exp: Rename existing "ALIGN" test to "align1". diff --git a/ld/testsuite/ld-scripts/align2a.d b/ld/testsuite/ld-scripts/align2a.d index 2c5df455cb..873cfe1058 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 c74d3ab5dc..457f04b1c4 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 -- 2.34.1