aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2009-07-10 12:19:58 +0000
committerAlan Modra <amodra@gmail.com>2009-07-10 12:19:58 +0000
commite054468f6cf120142dbfdf64226a5c6c09ecf998 (patch)
tree835b16de7d80522f5f8da90ddcc8bbd59fe58548 /ld/emulparams
parentfbb8f2990ccfa180274ab4a578818fe247823540 (diff)
downloadgdb-e054468f6cf120142dbfdf64226a5c6c09ecf998.zip
gdb-e054468f6cf120142dbfdf64226a5c6c09ecf998.tar.gz
gdb-e054468f6cf120142dbfdf64226a5c6c09ecf998.tar.bz2
STT_GNU_IFUNC support for PowerPC.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf32ppc.sh5
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/emulparams/elf32ppc.sh b/ld/emulparams/elf32ppc.sh
index 7349993..49cc950 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