mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-15 04:31:49 +08:00
5d69120bff
All linker targets based on elf32-i386 should check relocations after opening all inputs since this is how elf32-i386 works. * emulparams/i386lynx.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Set to yes. * emulparams/i386moss.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise. * emulparams/i386nw.sh (CHECK_RELOCS_AFTER_OPEN_INPUT): Likewise.
22 lines
488 B
Bash
22 lines
488 B
Bash
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-i386"
|
|
CHECK_RELOCS_AFTER_OPEN_INPUT=yes
|
|
NO_RELA_RELOCS=yes
|
|
ENTRY=_main
|
|
TEXT_BASE=0x0
|
|
DYN_TEXT_BASE=0x00400000
|
|
TEXT_START_ADDR="(DEFINED(_DYNAMIC) ? ${DYN_TEXT_BASE} : ${TEXT_BASE})"
|
|
case ${LD_FLAG} in
|
|
n|N) TEXT_START_ADDR=0x1000 ;;
|
|
esac
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
ARCH=i386
|
|
MACHINE=
|
|
NOP=0x9090
|
|
TEMPLATE_NAME=elf32
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
|
|
|
|
# Leave room of SIZEOF_HEADERS before text.
|
|
EMBEDDED=
|