mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-09-09 17:02:22 +08:00
* emulparams/elf32ppc.sh (PLT): Don't include ".iplt".
* emulparams/elf_i386.sh (IREL_IN_PLT): Define. * emulparams/elf_x86_64.sh (IREL_IN_PLT): Define. * scripttempl/elf.sc: Create separate .iplt and .rela.iplt sections when !IREL_IN_PLT.
This commit is contained in:
@ -11,7 +11,7 @@ SEPARATE_GOTPLT=0
|
||||
BSS_PLT=
|
||||
GOT=".got ${RELOCATING-0} : SPECIAL { *(.got) }"
|
||||
GOTPLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }"
|
||||
PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) *(.iplt) }
|
||||
PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }
|
||||
.iplt ${RELOCATING-0} : { *(.iplt) }"
|
||||
OTHER_TEXT_SECTIONS="*(.glink)"
|
||||
EXTRA_EM_FILE=ppc32elf
|
||||
|
@ -12,3 +12,4 @@ GENERATE_SHLIB_SCRIPT=yes
|
||||
GENERATE_PIE_SCRIPT=yes
|
||||
NO_SMALL_DATA=yes
|
||||
SEPARATE_GOTPLT=12
|
||||
IREL_IN_PLT=
|
||||
|
@ -14,6 +14,7 @@ GENERATE_PIE_SCRIPT=yes
|
||||
NO_SMALL_DATA=yes
|
||||
LARGE_SECTIONS=yes
|
||||
SEPARATE_GOTPLT=24
|
||||
IREL_IN_PLT=
|
||||
|
||||
if [ "x${host}" = "x${target}" ]; then
|
||||
case " $EMULATION_LIBPATH " in
|
||||
|
Reference in New Issue
Block a user