* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
authorAlan Modra <amodra@gmail.com>
Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)
committerAlan Modra <amodra@gmail.com>
Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)
commit50bc79368a5b9084d4956a75dd9672db56e9b82c
tree4bec150c7a5821cfd8393294494b619c50f37362
parentc7773400f66549670c244e1d412d29811773a3ea
* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
* elf64-ppc.c (get_fdh): New function, split out from
ppc64_elf_edit_opd.
(ppc64_elf_check_relocs): Use get_fdh.
(func_desc_adjust): Likewise.  Tidy.
(ppc64_elf_edit_opd): Tighten reloc checks.  Free local_syms on error
exit.  Use get_fdh.  Account for superfluous dynamic relocs.
(ppc64_elf_relocate_section): Warning fix.
bfd/ChangeLog
bfd/elf.c
bfd/elf64-ppc.c