binutils-gdb/ld/emulparams/shlelf_linux.sh

19 lines
468 B
Bash

# If you change this file, please also look at files which source this one:
# shelf_linux.sh
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-sh-linux"
TEXT_START_ADDR=0x400000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
ARCH=sh
MACHINE=
TEMPLATE_NAME=elf32
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
DATA_START_SYMBOLS='PROVIDE (__data_start = .);';
OTHER_READWRITE_SECTIONS="
.note.ABI-tag ${RELOCATING-0} : { *(.note.ABI-tag) }"