baa2af86d4
2013-11-18 Chung-Lin Tang <cltang@codesourcery.com> * emulparams/nios2linux.sh: New emulation file. * configure.tgt: Add nios2*-*-linux* emulation case. * Makefile.am (enios2linux.c): New emulation entry. * Makefile.in: Regenerate.
20 lines
434 B
Bash
20 lines
434 B
Bash
SCRIPT_NAME=elf
|
|
TEMPLATE_NAME=elf32
|
|
EXTRA_EM_FILE=
|
|
OUTPUT_FORMAT="elf32-littlenios2"
|
|
LITTLE_OUTPUT_FORMAT="elf32-littlenios2"
|
|
BIG_OUTPUT_FORMAT="elf32-bignios2"
|
|
TEXT_START_ADDR=0x2000
|
|
OTHER_GOT_SYMBOLS='
|
|
_gp = ALIGN(16) + 0x7ff0;
|
|
PROVIDE(gp = _gp);
|
|
'
|
|
ARCH=nios2
|
|
MACHINE=
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
|
ENTRY=_start
|
|
NOP=0x0001883a
|
|
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|