S/390: Move binary start to 16M.
[external/binutils.git] / ld / emulparams / elf_nacl.sh
1 ENABLE_INITFINI_ARRAY=yes
2 SEPARATE_CODE=yes
3 TEXT_START_ADDR=0x20000
4 NACL_RODATA_DISTANCE=0x10000000
5
6 nacl_rodata_addr()
7 {
8   nacl_text_addr="SEGMENT_START(\"text-segment\", $1)"
9   nacl_rodata_addr="$nacl_text_addr + ${NACL_RODATA_DISTANCE}"
10   echo "$nacl_rodata_addr"
11 }
12
13 RODATA_ADDR=`nacl_rodata_addr "${TEXT_START_ADDR}"`
14 SHLIB_RODATA_ADDR=`nacl_rodata_addr 0`