* elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
authorAlan Modra <amodra@gmail.com>
Fri, 27 Aug 2004 14:54:41 +0000 (14:54 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 27 Aug 2004 14:54:41 +0000 (14:54 +0000)
commit699733f62ed40ee19b1975f3ae9bf21ae3d2838d
tree1e297d06b26dc2bff15c5dc2c0066ab42d110c75
parent4b6f5fd267ce6dfd92baedba31da50f1b3c82a92
* elf64-ppc.c (ppc64_elf_branch_reloc): Check .opd is in a regular
object file.
(struct sfpr_def_parms): Save some space.
(sfpr_define): Here too.

* elf64-ppc.c (compare_symbols): Put section syms first.
(sym_exists_at): New function.
(ppc64_elf_get_synthetic_symtab): Use relocs to find code entry
points only for relocatable files.  Use .opd section contents
otherwise.  Generally clean up the code.
bfd/ChangeLog
bfd/elf64-ppc.c