mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2024-12-21 04:42:53 +08:00
17d6eea5d5
ld/ PR ld/14215 * ldexp.c (fold_name <SIZEOF, ALIGNOF>): Allow forward section references. * emulparams/elf32_x86_64.sh (SEPARATE_GOTPLT): Depend on size of .got.plt. * emulparams/elf32mb_linux.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf32tilegx.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf32tilepro.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf64tilegx.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_i386.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_k1om.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_l1om.sh (SEPARATE_GOTPLT): Likewise. * emulparams/elf_x86_64.sh (SEPARATE_GOTPLT): Likewise. ld/testsuite/ PR ld/14215 * ld-i386/i386.exp: Run pr14215. * ld-x86-64/x86-64.exp: Likewise. * ld-i386/pr14215.d: New file. * ld-i386/pr14215.s: Likewise. * ld-x86-64/pr14215.d: Likewise. * ld-x86-64/pr14215.s: Likewise.
28 lines
767 B
Bash
28 lines
767 B
Bash
SCRIPT_NAME=elf
|
|
if [ -z "$OUTPUT_FORMAT" ]; then
|
|
# Allow overriding externally to "elf32-tile64" if desired
|
|
OUTPUT_FORMAT=elf32-tilepro
|
|
fi
|
|
TEXT_START_ADDR=0x10000
|
|
NO_REL_RELOCS=yes
|
|
MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
|
|
COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
|
|
# See also `include/elf/tilepro.h'
|
|
ARCH=tilepro
|
|
ALIGNMENT=64
|
|
MACHINE=
|
|
NOP=0
|
|
TEMPLATE_NAME=elf32
|
|
GENERATE_SHLIB_SCRIPT=yes
|
|
GENERATE_COMBRELOC_SCRIPT=yes
|
|
GENERATE_PIE_SCRIPT=yes
|
|
NO_SMALL_DATA=yes
|
|
SEPARATE_GOTPLT="SIZEOF (.got.plt) >= 8 ? 8 : 0"
|
|
OTHER_SECTIONS="
|
|
/* TILEPRO architecture interrupt vector areas */
|
|
.intrpt0 0xfc000000 : { KEEP(*(.intrpt0)) }
|
|
.intrpt1 0xfd000000 : { KEEP(*(.intrpt1)) }
|
|
.intrpt2 0xfe000000 : { KEEP(*(.intrpt2)) }
|
|
.intrpt3 0xff000000 : { KEEP(*(.intrpt3)) }
|
|
"
|