blob: 7ccde9773b49fb144a743778515c3837e28b08d9 [file] [log] [blame]
Andrew Hsieh54f1b3c2014-06-13 12:38:00 -07001SCRIPT_NAME=elf
2TEMPLATE_NAME=elf32
Andrew Hsieh5e8c1cf2014-12-09 17:57:18 +08003EXTRA_EM_FILE=nios2elf
Andrew Hsieh54f1b3c2014-06-13 12:38:00 -07004OUTPUT_FORMAT="elf32-littlenios2"
5LITTLE_OUTPUT_FORMAT="elf32-littlenios2"
6BIG_OUTPUT_FORMAT="elf32-bignios2"
7TEXT_START_ADDR=0x1000
8OTHER_GOT_SYMBOLS='
9 _gp = ALIGN(16) + 0x7ff0;
10 PROVIDE(gp = _gp);
11'
12ARCH=nios2
13MACHINE=
14MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
15COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
16ENTRY=_start
17NOP=0x0001883a
18
19GENERATE_SHLIB_SCRIPT=yes
20GENERATE_PIE_SCRIPT=yes