Projet_SETI_RISC-V/riscv-gnu-toolchain/binutils/ld/emulparams/elf32iq2000.sh
2023-03-06 14:48:14 +01:00

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