Recreate correctly.
[binutils.git] / ld / emulparams / elf64_ia64.sh
blob76f35e462f9d2f11a1441895e60c10373261596f
1 # See genscripts.sh and ../scripttempl/elf.sc for the meaning of these.
2 SCRIPT_NAME=elf
3 ELFSIZE=64
4 TEMPLATE_NAME=elf32
5 EXTRA_EM_FILE=needrelax
6 OUTPUT_FORMAT="elf64-ia64-little"
7 ARCH=ia64
8 MACHINE=
9 MAXPAGESIZE=0x10000
10 if test -n "$CREATE_SHLIB"; then
11 # Optimize shared libraries for 16K page size
12 COMMONPAGESIZE=0x4000
14 TEXT_START_ADDR="0x4000000000000000"
15 DATA_ADDR="0x6000000000000000 + (. & (${MAXPAGESIZE} - 1))"
16 GENERATE_SHLIB_SCRIPT=yes
17 NOP=0x00300000010070000002000001000400 # a bundle full of nops
18 OTHER_GOT_SECTIONS="
19 .IA_64.pltoff ${RELOCATING-0} : { *(.IA_64.pltoff) }"
20 OTHER_PLT_RELOC_SECTIONS="
21 .rela.IA_64.pltoff ${RELOCATING-0} : { *(.rela.IA_64.pltoff) }"
22 OTHER_READONLY_SECTIONS="
23 .opd ${RELOCATING-0} : { *(.opd) }
24 .IA_64.unwind_info ${RELOCATING-0} : { *(.IA_64.unwind_info${RELOCATING+* .gnu.linkonce.ia64unwi.*}) }
25 .IA_64.unwind ${RELOCATING-0} : { *(.IA_64.unwind${RELOCATING+* .gnu.linkonce.ia64unw.*}) }"