22 lines
481 B
Bash
Raw Normal View History

SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-i386"
2012-01-05 23:13:27 +01:00
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
2022-07-15 13:48:03 +02:00
TEMPLATE_NAME=elf
EXTRA_EM_FILE="elf-x86"
GENERATE_SHLIB_SCRIPT=yes
ELF_INTERPRETER_NAME=\"/usr/lib/ld.so.1\"
# Leave room of SIZEOF_HEADERS before text.
2022-07-15 13:48:03 +02:00
unset EMBEDDED