This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
Re: tweak ppc64 section alignment
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Fri, 18 Nov 2005 15:10:57 +1030
- Subject: Re: tweak ppc64 section alignment
- References: <20051118042553.GI28185@bubble.grove.modra.org>
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