buildtools/binutils/ld/emulparams/elf32lm32fd.sh
Alexander von Gluck IV 46e1ce6913 binutils: Import binutils 2.36.1
Change-Id: I06fc1c19229e26c20132c255c92b7e71ea3cc31a
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/4372
Reviewed-by: Fredrik Holmqvist <fredrik.holmqvist@gmail.com>
Reviewed-by: Alex von Gluck IV <kallisti5@unixzen.com>
2021-08-26 20:24:40 +00:00

19 lines
467 B
Bash

source_sh ${srcdir}/emulparams/elf32lm32.sh
unset STACK_ADDR
unset DYNAMIC_LINK
OUTPUT_FORMAT="elf32-lm32fdpic"
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
TEMPLATE_NAME=elf
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes
# This gets us program headers mapped as part of the text segment.
unset EMBEDDED
OTHER_GOT_SYMBOLS=
OTHER_READONLY_SECTIONS="
.rofixup : {
${RELOCATING+__ROFIXUP_LIST__ = .;}
*(.rofixup)
${RELOCATING+__ROFIXUP_END__ = .;}
}
"