tweak ppc64 section alignment
Alan Modra
amodra@bigpond.net.au
Fri Nov 18 04:41:00 GMT 2005
On Fri, Nov 18, 2005 at 02:55:53PM +1030, Alan Modra wrote:
> We can align a section directly rather than specifying its address, so
> do so.
Requires a testsuite tweak too.
* ld-powerpc/symtocbase.d: Adjust for alignment change.
Index: ld/testsuite/ld-powerpc/symtocbase.d
===================================================================
RCS file: /cvs/src/src/ld/testsuite/ld-powerpc/symtocbase.d,v
retrieving revision 1.1
diff -u -p -r1.1 symtocbase.d
--- ld/testsuite/ld-powerpc/symtocbase.d 28 Sep 2005 19:32:19 -0000 1.1
+++ ld/testsuite/ld-powerpc/symtocbase.d 18 Nov 2005 04:30:23 -0000
@@ -11,14 +11,14 @@ Disassembly of section \.data:
.* <i>:
\.\.\.
-.*: 00 02 00 00 \.long 0x20000
+.*: 00 02 80 00 \.long 0x28000
.*: 00 00 00 00 \.long 0x0
-.*: 00 02 00 00 \.long 0x20000
+.*: 00 02 80 00 \.long 0x28000
.*: 00 00 00 00 \.long 0x0
-.*: 00 03 00 00 \.long 0x30000
+.*: 00 03 80 00 \.long 0x38000
.*: 00 00 00 00 \.long 0x0
-.*: 00 03 00 00 \.long 0x30000
+.*: 00 03 80 00 \.long 0x38000
.*: 00 00 00 00 \.long 0x0
-.*: 00 02 00 00 \.long 0x20000
+.*: 00 02 80 00 \.long 0x28000
.*: 00 00 00 00 \.long 0x0
-.*: 00 03 00 00 \.long 0x30000
+.*: 00 03 80 00 \.long 0x38000
--
Alan Modra
IBM OzLabs - Linux Technology Centre
More information about the Binutils
mailing list