diff options
author | Alan Modra <amodra@gmail.com> | 2009-07-10 12:19:58 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2009-07-10 12:19:58 +0000 |
commit | e054468f6cf120142dbfdf64226a5c6c09ecf998 (patch) | |
tree | 835b16de7d80522f5f8da90ddcc8bbd59fe58548 /ld/emulparams | |
parent | fbb8f2990ccfa180274ab4a578818fe247823540 (diff) | |
download | gdb-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.sh | 5 |
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 |