7225345dbb
Mucking with EMULATION_LIBPATH has unwanted side effects. Allow nds32 emulparams scripts to disable compiled-in scripts naturally, by setting COMPILE_IN=no. * genscripts.sh (COMPILE_IN): Don't set if already set. * emulparams/nds32elf.sh: Don't clear EMULATION_LIBPATH, set COMPILE_IN=no. * emulparams/nds32elf16m.sh: Likewise. * emulparams/nds32elf_linux.sh: Likewise. * emultempl/aix.em: Test COMPILE_IN value is "yes". * emultempl/armcoff.em: Likewise. * emultempl/elf32.em: Likewise. * emultempl/generic.em: Likewise. * emultempl/gld960.em: Likewise. * emultempl/gld960c.em: Likewise. * emultempl/linux.em: Likewise. * emultempl/lnk960.em: Likewise. * emultempl/m68kcoff.em: Likewise. * emultempl/sunos.em: Likewise. * emultempl/ticoff.em: Likewise.
18 lines
431 B
Bash
18 lines
431 B
Bash
TEXT_START_ADDR=0x500000
|
|
# This sets the stack to the top of simulator memory (48MB).
|
|
OTHER_END_SYMBOLS='PROVIDE (_stack = 0x3000000);'
|
|
|
|
SCRIPT_NAME=nds32elf
|
|
TEMPLATE_NAME=elf32
|
|
EXTRA_EM_FILE=nds32elf
|
|
BIG_OUTPUT_FORMAT="elf32-nds32be"
|
|
LITTLE_OUTPUT_FORMAT="elf32-nds32le"
|
|
OUTPUT_FORMAT="$LITTLE_OUTPUT_FORMAT"
|
|
ARCH=nds32
|
|
MACHINE=
|
|
MAXPAGESIZE=0x20
|
|
EMBEDDED=yes
|
|
COMMONPAGESIZE=0x20
|
|
|
|
# Use external linker script files.
|
|
COMPILE_IN=no
|