diff options
author | Alan Modra <amodra@bigpond.net.au> | 2009-07-10 12:19:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@bigpond.net.au> | 2009-07-10 12:19:58 +0000 |
commit | a41d1fd12841fb986e1feed9b5b216c31db8cfaa (patch) | |
tree | 954467f760ce70f4e9c5fe29f33496b7ef944c8b /ld/emulparams/elf32ppc.sh | |
parent | e5b20d464811ef1d9ed7e05a34976b3d76af9da0 (diff) | |
download | binutils-redhat-a41d1fd12841fb986e1feed9b5b216c31db8cfaa.tar.gz |
STT_GNU_IFUNC support for PowerPC.
Diffstat (limited to 'ld/emulparams/elf32ppc.sh')
-rw-r--r-- | ld/emulparams/elf32ppc.sh | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emulparams/elf32ppc.sh b/ld/emulparams/elf32ppc.sh index 7349993f6c..49cc950218 100644 --- a/ld/emulparams/elf32ppc.sh +++ b/ld/emulparams/elf32ppc.sh @@ -10,8 +10,9 @@ SDATA_GOT= SEPARATE_GOTPLT=0 BSS_PLT= GOT=".got ${RELOCATING-0} : SPECIAL { *(.got) }" -PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }" -GOTPLT="${PLT}" +GOTPLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) }" +PLT=".plt ${RELOCATING-0} : SPECIAL { *(.plt) *(.iplt) } + .iplt ${RELOCATING-0} : { *(.iplt) }" OTHER_TEXT_SECTIONS="*(.glink)" EXTRA_EM_FILE=ppc32elf if grep -q 'ld_elf32_spu_emulation' ldemul-list.h; then |