S/390: Move binary start to 16M.
[external/binutils.git] / ld / emulparams / nios2elf.sh
1 SCRIPT_NAME=elf
2 TEMPLATE_NAME=elf32
3 EXTRA_EM_FILE=nios2elf
4 OUTPUT_FORMAT="elf32-littlenios2"
5 LITTLE_OUTPUT_FORMAT="elf32-littlenios2"
6 BIG_OUTPUT_FORMAT="elf32-bignios2"
7 TEXT_START_ADDR=0x1000
8 OTHER_GOT_SYMBOLS='
9   _gp = ALIGN(16) + 0x7ff0;
10   PROVIDE(gp = _gp);
11 '
12 ARCH=nios2
13 MACHINE=
14 MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
15 COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
16 ENTRY=_start
17 NOP=0x0001883a
18
19 GENERATE_SHLIB_SCRIPT=yes
20 GENERATE_PIE_SCRIPT=yes