2009-06-19 Tristan Gingold <gingold@adacore.com>
[binutils.git] / ld / emulparams / elf64alpha.sh
blob82f505de69b225ecc6300b10faa36dd07aca87f3
1 ENTRY=_start
2 SCRIPT_NAME=elf
3 ELFSIZE=64
4 TEMPLATE_NAME=elf32
5 EXTRA_EM_FILE=alphaelf
6 OUTPUT_FORMAT="elf64-alpha"
7 NO_REL_RELOCS=yes
8 TEXT_START_ADDR="0x120000000"
9 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
10 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
11 ARCH=alpha
12 MACHINE=
13 GENERATE_SHLIB_SCRIPT=yes
14 GENERATE_PIE_SCRIPT=yes
16 # Yes, we want duplicate .plt sections. The linker chooses the
17 # appropriate one magically in alpha_after_open.
18 PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }"
19 DATA_PLT=yes
20 TEXT_PLT=yes
22 # Note that the number is always big-endian, thus we have to
23 # reverse the digit string.
24 NOP=0x0000fe2f1f04ff47 # unop; nop
26 OTHER_READONLY_SECTIONS="
27 .reginfo ${RELOCATING-0} : { *(.reginfo) }"