539ae61d9c
* configure.tgt (alpha-*-linuxecoff*): New target. (alpha-*-linux*): Use elf64alpha. * emulparams/elf64alpha.sh: New file. * emultempl/elf32.em: If ELFSIZE is not set, set it to 32. Use ${ELFSIZE} rather than 32 when calling BFD routines. (hold_rodata): New static variable. (gld${EMULATION_NAME}_place_orphan): Use hold_rodata for a readonly section that is not code. (gld${EMULATION_NAME}_place_section): Set hold_rodata. Don't use a .rel section unless its bfd_section field is not NULL. * Makefile.in (ALL_EMULATIONS): Add eelf64alpha.o. (eelf64alpha.c): New target.
14 lines
295 B
Bash
14 lines
295 B
Bash
ENTRY=__start
|
|
SCRIPT_NAME=elf
|
|
ELFSIZE=64
|
|
TEMPLATE_NAME=elf32
|
|
OUTPUT_FORMAT="elf64-alpha"
|
|
TEXT_START_ADDR="0x120000000"
|
|
MAXPAGESIZE=0x100000
|
|
NONPAGED_TEXT_START_ADDR="0x120000000"
|
|
ARCH=alpha
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
DATA_PLT=
|
|
NOP=0x47ff041f
|
|
|
|
OTHER_READONLY_SECTIONS='.reginfo : { *(.reginfo) }'
|