OSDN Git Service

PR 6844
authorAlan Modra <amodra@bigpond.net.au>
Tue, 16 Sep 2008 13:43:35 +0000 (13:43 +0000)
committerAlan Modra <amodra@bigpond.net.au>
Tue, 16 Sep 2008 13:43:35 +0000 (13:43 +0000)
commitadc428d1d4bb2fd17713396b94a3435f3d9dc6bc
tree9913b125d1ba7899e0d8340f2d437a82ffd01ba9
parent5a1568da4bef62e009787d4c1d21806dc567c2b5
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