Retro68/binutils/ld/emulparams/elf32m32c.sh

18 lines
385 B
Bash
Raw Normal View History

2012-03-26 19:18:29 +00:00
MACHINE=
SCRIPT_NAME=elf
OUTPUT_FORMAT="elf32-m32c"
# See also `include/elf/m32c.h'
TEXT_START_ADDR=0x2000
ARCH=m32c
ENTRY=_start
EMBEDDED=yes
2022-10-27 18:45:45 +00:00
TEMPLATE_NAME=elf
2012-03-26 19:18:29 +00:00
EXTRA_EM_FILE=needrelax
ELFSIZE=32
MAXPAGESIZE=256
STACK_ADDR="(DEFINED(__stack) ? __stack : 0x7fc)"
STACK_SENTINEL="LONG(0xdeaddead)"
2012-03-26 19:18:29 +00:00
# We do not need .stack for shared library.
test -n "$CREATE_SHLIB" && unset STACK_ADDR