This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
powerpc64 linux object layout
- From: Alan Modra <amodra at bigpond dot net dot au>
- To: binutils at sources dot redhat dot com
- Date: Wed, 20 Nov 2002 11:27:34 +1030
- Subject: powerpc64 linux object layout
It turns out that the idea of separating out text and data into
separate 256M address ranges doesn't actually do the right thing
on powerpc64 linux, due to the current ld.so implementation.
I'm reverting the SEGMENT_SIZE change until ld.so is fixed.
* emulparams/elf64ppc.sh (SEGMENT_SIZE): Don't define.
Index: ld/emulparams/elf64ppc.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf64ppc.sh,v
retrieving revision 1.9
diff -u -p -r1.9 elf64ppc.sh
--- ld/emulparams/elf64ppc.sh 2 Oct 2002 02:21:52 -0000 1.9
+++ ld/emulparams/elf64ppc.sh 19 Nov 2002 00:08:00 -0000
@@ -5,7 +5,7 @@ GENERATE_SHLIB_SCRIPT=yes
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf64-powerpc"
TEXT_START_ADDR=0x10000000
-SEGMENT_SIZE=0x10000000
+#SEGMENT_SIZE=0x10000000
MAXPAGESIZE=0x10000
COMMONPAGESIZE=0x1000
ARCH=powerpc:common64
--
Alan Modra
IBM OzLabs - Linux Technology Centre