OSDN Git Service

PR 6844
authorAlan Modra <amodra@bigpond.net.au>
Tue, 16 Sep 2008 13:43:36 +0000 (13:43 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 16 Sep 2008 13:43:36 +0000 (13:43 +0000)
commit1169378bba3448ce9b56b9de888049b1576eec84
tree41fa922d5337833018171f994b95fd2255e0a70d
parent5eb75418c544eebf6c11f8319c9c272902786dfb
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