OSDN Git Service

* elf.c (bfd_section_from_r_symndx): Test for SHN_UNDEF.
authorAlan Modra <amodra@bigpond.net.au>
Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Thu, 31 Jul 2003 14:34:13 +0000 (14:34 +0000)
commitf7e028bc580cdac2fe8a039cd21a7db9688b0d14
tree7d234fc74191feaea87835b5fe73c1692b88836b
parent8ab41608392dacd63b7172f47add76b2c52e6ad4
* 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