* emulparams/elf64ppc.sh (DATA_ADDR): Define.

* emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
	for start of .data, instead align up to 256M boundary.
	* scripttempl/aix.sc: Likewise.
This commit is contained in:
Alan Modra 2002-09-24 04:02:03 +00:00
parent 52271982a7
commit 06143382c6
4 changed files with 10 additions and 2 deletions

View File

@ -1,3 +1,10 @@
2002-09-24 Alan Modra <amodra@bigpond.net.au>
* emulparams/elf64ppc.sh (DATA_ADDR): Define.
* emulparams/elf64_aix.sh (DATA_ADDR): Don't use a fixed address
for start of .data, instead align up to 256M boundary.
* scripttempl/aix.sc: Likewise.
2002-09-22 Mark Elbrecht <snowball3@softhome.net>
* scripttempl/i386go32.sc: Handle bss unique sections.

View File

@ -7,7 +7,7 @@ ARCH=ia64
MACHINE=
MAXPAGESIZE=0x10000
TEXT_START_ADDR="0x10000000"
DATA_ADDR="0x20000000 + (. & (${MAXPAGESIZE} - 1))"
DATA_ADDR="ALIGN (0x10000000) + (. & (${MAXPAGESIZE} - 1))"
GENERATE_SHLIB_SCRIPT=yes
NOP=0x00300000010070000002000001000400 # a bundle full of nops
OTHER_GOT_SECTIONS="

View File

@ -5,6 +5,7 @@ GENERATE_SHLIB_SCRIPT=yes
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf64-powerpc"
TEXT_START_ADDR=0x10000000
DATA_ADDR="ALIGN (0x10000000) + (. & (${MAXPAGESIZE} - 1))"
MAXPAGESIZE=0x40000
COMMONPAGESIZE=0x1000
ARCH=powerpc:common64

View File

@ -24,7 +24,7 @@ SECTIONS
*(.tb)
${RELOCATING+PROVIDE (_etext = .);}
}
. = 0x20000000;
. = ALIGN (0x10000000);
.data . : {
${RELOCATING+PROVIDE (_data = .);}
*(.data)