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

14 lines
366 B
Bash

MACHINE=
SCRIPT_NAME=elf
TEMPLATE_NAME=elf
OUTPUT_FORMAT="elf32-m32r-linux"
TEXT_START_ADDR=0x1000
ARCH=m32r
MACHINE=
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
# Hmmm, there's got to be a better way. This sets the stack to the
# top of simulator memory (32MB).
OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x2000000);'
GENERATE_SHLIB_SCRIPT=yes
GENERATE_PIE_SCRIPT=yes