diff options
author | Jim Wilson <wilson@tuliptree.org> | 2003-11-19 01:06:13 +0000 |
---|---|---|
committer | Jim Wilson <wilson@tuliptree.org> | 2003-11-19 01:06:13 +0000 |
commit | 55936540a78cd6b3480e5e72437b90328d3a5d98 (patch) | |
tree | 3f1aa901c3da8207f84fdab535ee30e6ab8626b1 /ld/emulparams | |
parent | 1c620505b02538e752133c9a588bc404f00ad2a3 (diff) | |
download | gdb-55936540a78cd6b3480e5e72437b90328d3a5d98.zip gdb-55936540a78cd6b3480e5e72437b90328d3a5d98.tar.gz gdb-55936540a78cd6b3480e5e72437b90328d3a5d98.tar.bz2 |
Fix -pie core dump with .rela.opd section.
bfd/ChangeLog
* elfxx-ia64.c (get_fptr): For fptr_rel, use dynobj not abfd.
(elfNN_ia64_size_dynamic_sections): When stripping sections, check
for ia64_info->rel_fptr_sec.
ld/ChangeLog
* emulparams/elf64_ia64.sh (OTHER_PLT_RELOC_SECTIONS): Include
.rela.opd if -pie.
Diffstat (limited to 'ld/emulparams')
-rw-r--r-- | ld/emulparams/elf64_ia64.sh | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/ld/emulparams/elf64_ia64.sh b/ld/emulparams/elf64_ia64.sh index 858cd10..100aca1 100644 --- a/ld/emulparams/elf64_ia64.sh +++ b/ld/emulparams/elf64_ia64.sh @@ -28,6 +28,8 @@ test -z "$CREATE_PIE" && OTHER_READONLY_SECTIONS=" .opd ${RELOCATING-0} : { *(.opd) }" test -n "$CREATE_PIE" && OTHER_READWRITE_SECTIONS=" .opd ${RELOCATING-0} : { *(.opd) }" +test -n "$CREATE_PIE" && OTHER_PLT_RELOC_SECTIONS="${OTHER_PLT_RELOC_SECTIONS} + .rela.opd ${RELOCATING-0} : { *(.rela.opd) }" OTHER_READONLY_SECTIONS="${OTHER_READONLY_SECTIONS} .IA_64.unwind_info ${RELOCATING-0} : { *(.IA_64.unwind_info${RELOCATING+* .gnu.linkonce.ia64unwi.*}) } .IA_64.unwind ${RELOCATING-0} : { *(.IA_64.unwind${RELOCATING+* .gnu.linkonce.ia64unw.*}) }" |