PR 6844
authorAlan Modra <amodra@gmail.com>
Tue, 16 Sep 2008 13:43:36 +0000 (13:43 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 16 Sep 2008 13:43:36 +0000 (13:43 +0000)
commite87d403811e6f31fde1848a31c9e1feec914b37e
tree05477645e2688d3d0b51960f8d082a6ada6cfdfd
parent9fa33bee6aec64ced030474bac301a5dd56cf6c2
PR 6844
* elf32-ppc.c (SYM_VAL): Define.  Use throughout to find symbol vma.
(ppc_elf_relocate_section): Correct GOT offset calculation.
(ppc_elf_finish_dynamic_symbol): Use PPC_HA and PPC_LO.
(ppc_elf_finish_dynamic_sections): Likewise.  Error if
htab->elf.hgot symbol is not defined in htab->got section.
bfd/ChangeLog
bfd/elf32-ppc.c