binutils-gdb/ld/emulparams/elf32iq2000.sh

17 lines
362 B
Bash
Executable File

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);'