mirror of
https://github.com/autc04/Retro68.git
synced 2024-11-30 19:53:46 +00:00
27 lines
547 B
Bash
27 lines
547 B
Bash
# If you change this file, please also look at files which source this one:
|
|
# h8300helf.sh h8300self.sh
|
|
|
|
SCRIPT_NAME=elf
|
|
OUTPUT_FORMAT="elf32-h8300"
|
|
NO_REL_RELOCS=yes
|
|
TEXT_START_ADDR=0x100
|
|
MAXPAGESIZE=2
|
|
TARGET_PAGE_SIZE=128
|
|
ARCH=h8300
|
|
TEMPLATE_NAME=elf32
|
|
EMBEDDED=yes
|
|
STACK_ADDR=0xfefc
|
|
TINY_READONLY_SECTION=".tinyrodata :
|
|
{
|
|
*(.tinyrodata)
|
|
} =0"
|
|
TINY_DATA_SECTION=".tinydata ${RELOCATING+0xff8000} :
|
|
{
|
|
*(.tinydata)
|
|
${RELOCATING+ _tinydata = .; }
|
|
}"
|
|
TINY_BSS_SECTION=".tinybss : ${RELOCATING+AT (_tinydata)}
|
|
{
|
|
*(.tinybss)
|
|
}"
|