mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-23 01:03:28 +08:00
fae663595d
* emulparams/nios2linux.sh (OTHER_GOT_SYMBOLS): Wrap _gp in HIDDEN(), and gp in PROVIDE_HIDDEN.
21 lines
461 B
Bash
21 lines
461 B
Bash
SCRIPT_NAME=elf
|
|
TEMPLATE_NAME=elf32
|
|
EXTRA_EM_FILE="nios2elf"
|
|
OUTPUT_FORMAT="elf32-littlenios2"
|
|
LITTLE_OUTPUT_FORMAT="elf32-littlenios2"
|
|
BIG_OUTPUT_FORMAT="elf32-bignios2"
|
|
TEXT_START_ADDR=0x2000
|
|
OTHER_GOT_SYMBOLS='
|
|
HIDDEN (_gp = ALIGN(16) + 0x7ff0);
|
|
PROVIDE_HIDDEN (gp = _gp);
|
|
'
|
|
ARCH=nios2
|
|
MACHINE=
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
|
ENTRY=_start
|
|
NOP=0x0001883a
|
|
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|