Retro68/binutils/ld/emulparams/elf32or1k.sh
Wolfgang Thaller f485e125c4 binutils 2.39
2022-10-27 20:45:45 +02:00

15 lines
342 B
Bash

SCRIPT_NAME=elf
MACHINE=
TEMPLATE_NAME=elf
OUTPUT_FORMAT="elf32-or1k"
NOP=0x15000000
TEXT_START_ADDR=0x0000
TARGET_PAGE_SIZE=0x2000
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
EMBEDDED=yes
ARCH=or1k
ELFSIZE=32
INITIAL_READONLY_SECTIONS=".vectors ${RELOCATING-0} : { KEEP (*(.vectors)) }"
NO_REL_RELOCS=yes
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"