Home | History | Annotate | Line # | Download | only in emulparams
      1      1.1  christos DEFAULT_TEXT_START_ADDR=0
      2      1.1  christos DEFAULT_STACK_START_ADDR=0
      3      1.1  christos MACHINE=
      4      1.1  christos SCRIPT_NAME=nds32elf
      5  1.1.1.2  christos TEMPLATE_NAME=elf
      6      1.1  christos EXTRA_EM_FILE=nds32elf
      7      1.1  christos BIG_OUTPUT_FORMAT="elf32-nds32be-linux"
      8      1.1  christos LITTLE_OUTPUT_FORMAT="elf32-nds32le-linux"
      9      1.1  christos OUTPUT_FORMAT="$LITTLE_OUTPUT_FORMAT"
     10      1.1  christos LIB_PATH="=/usr/local/lib:=/lib:=/usr/lib/"
     11      1.1  christos 
     12      1.1  christos if [ "${DEFAULT_TEXT_START_ADDR}" = "0" ]; then
     13      1.1  christos     TEXT_START_ADDR=0x8000
     14      1.1  christos else
     15      1.1  christos     TEXT_START_ADDR=${DEFAULT_TEXT_START_ADDR}
     16      1.1  christos fi
     17      1.1  christos 
     18      1.1  christos ARCH=nds32
     19      1.1  christos MACHINE=
     20      1.1  christos MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
     21      1.1  christos COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
     22      1.1  christos 
     23      1.1  christos # Hmmm, there's got to be a better way.  This sets the stack to the
     24      1.1  christos # top of simulator memory (32MB).
     25      1.1  christos if [ "${DEFAULT_STACK_START_ADDR}" = "0" ]; then
     26      1.1  christos     OTHER_RELOCATING_SECTIONS='PROVIDE (_stack = 0x2000000);'
     27      1.1  christos else
     28      1.1  christos     OTHER_RELOCATING_SECTIONS="PROVIDE (_stack = ${DEFAULT_STACK_START_ADDR});"
     29      1.1  christos fi
     30      1.1  christos 
     31      1.1  christos GENERATE_SHLIB_SCRIPT=yes
     32      1.1  christos GENERATE_PIE_SCRIPT=yes
     33      1.1  christos 
     34      1.1  christos # Use external linker script files.
     35      1.1  christos COMPILE_IN=no
     36