Retro68/binutils/ld/emulparams/elf32iq2000.sh
2015-08-28 17:32:19 +02:00

17 lines
362 B
Bash

MACHINE=
SCRIPT_NAME=iq2000
TEMPLATE_NAME=generic
EXTRA_EM_FILE=genelf
OUTPUT_FORMAT="elf32-iq2000"
DATA_ADDR=0x1000
TEXT_START_ADDR=0x80000000
ARCH=iq2000
MAXPAGESIZE=256
ENTRY=_start
EMBEDDED=yes
CTOR_START='__ctors = .;'
CTOR_END='__ctors_end = .;'
DTOR_START='__dtors = .;'
DTOR_END='__dtors_end = .;'
OTHER_RELOCATING_SECTIONS='PROVIDE (__stack = 0x1800);'