[ARC] Add new linker emulation for nps
[binutils-gdb.git] / ld / emulparams / shlelf_linux.sh
1 # If you change this file, please also look at files which source this one:
2 # shelf_linux.sh shelf_fd.sh shlelf_fd.sh
3
4 SCRIPT_NAME=elf
5 OUTPUT_FORMAT="elf32-sh-linux"
6 NO_REL_RELOCS=yes
7 TEXT_START_ADDR=0x400000
8 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
9 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
10 ARCH=sh
11 MACHINE=
12 TEMPLATE_NAME=elf32
13 GENERATE_SHLIB_SCRIPT=yes
14 GENERATE_PIE_SCRIPT=yes
15 # PR 17739. Delay checking relocs until after all files have
16 # been opened and linker garbage collection has taken place.
17 CHECK_RELOCS_AFTER_OPEN_INPUT=yes
18
19 DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
20
21 OTHER_READWRITE_SECTIONS="
22 .note.ABI-tag ${RELOCATING-0} : { *(.note.ABI-tag) }"