mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-28 05:51:04 +00:00
21 lines
480 B
Bash
21 lines
480 B
Bash
MACHINE=
|
|
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-rl78"
|
|
# See also `include/elf/rl78.h'
|
|
TEXT_START_ADDR=0x00000
|
|
ARCH=rl78
|
|
ENTRY=_start
|
|
EMBEDDED=yes
|
|
TEMPLATE_NAME=elf32
|
|
ELFSIZE=32
|
|
# EXTRA_EM_FILE=needrelax
|
|
MAXPAGESIZE=256
|
|
|
|
STACK_ADDR="(DEFINED(__stack) ? __stack : 0xffedc)"
|
|
STACK_SENTINEL="LONG(0xdead)"
|
|
# We do not need .stack for shared library.
|
|
test -n "$CREATE_SHLIB" && unset STACK_ADDR
|
|
|
|
OTHER_SYMBOLS="PROVIDE (__rl78_abs__ = 0);"
|
|
test -n "$CREATE_SHLIB" && unset OTHER_SYMBOLS
|