* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
authorAlan Modra <amodra@gmail.com>
Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)
committerAlan Modra <amodra@gmail.com>
Sun, 19 Dec 2004 23:24:46 +0000 (23:24 +0000)
commit8860955fbe0eaf412839ef492a67415613001ac5
tree68bf3f604ffa441eb9c8b422d8687570b1cf1711
parent22b476cb5a823ccdc7b1c3971bae940a87e88259
* elf64-ppc.c (struct ppc64_elf_obj_tdata): Add opd_relocs.
(opd_entry_value): Use opd_relocs if available.
(ppc64_elf_relocate_section): Don't set reloc_done.  Instead
copy .opd relocations to opd_relocs.
(ppc64_elf_edit_toc): Set rel_hdr.sh_size after editing relocs.
bfd/ChangeLog
bfd/elf64-ppc.c