merge from gcc
[binutils.git] / ld / emulparams / elf64alpha.sh
blob47a0bb009c77a3aa10ea761cbfefb9edc03e06c6
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 TEXT_START_ADDR="0x120000000"
8 MAXPAGESIZE=0x10000
9 COMMONPAGESIZE=0x2000
10 NONPAGED_TEXT_START_ADDR="0x120000000"
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) }"