OSDN Git Service

PR 6844
authoramodra <amodra>
Tue, 16 Sep 2008 13:43:35 +0000 (13:43 +0000)
committeramodra <amodra>
Tue, 16 Sep 2008 13:43:35 +0000 (13:43 +0000)
commit5286bcd3ca2cffcff8250dac8a98738048127883
treeb4d3d55167d899752cfdbf9fc307190a8f96cc29
parent5ff964eccf02ced971c07a913b7e2ac9952d2574
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