2002-02-26 John David Anglin <dave@hiauly1.hia.nrc.ca>
authorJeff Law <law@redhat.com>
Tue, 5 Mar 2002 17:55:55 +0000 (17:55 +0000)
committerJeff Law <law@redhat.com>
Tue, 5 Mar 2002 17:55:55 +0000 (17:55 +0000)
commit1bf425384c5343049ac44e57e43140dde4086160
treefe60df4699ad8895f65c0eebfcf7c2ac9bdc32da
parent86eaf01e5d38979a989c0500511465dcb875fdcb
2002-02-26  John David Anglin  <dave@hiauly1.hia.nrc.ca>

* bfd/elf-hppa.h (elf_hppa_is_dynamic_loader_symbol): New function.
(elf_hppa_relocate_section): Ignore undefined dynamic loader symbols.
(elf_hppa_final_link_relocate): Correct relocations for indirect
references to local data through the DLT.  Fix .opd creation for
local symbols using R_PARISC_LTOFF_FPTR32 and R_PARISC_FPTR64
relocations.  Use e_lsel selector for R_PARISC_DLTIND21L,
R_PARISC_LTOFF_FPTR21L and R_PARISC_LTOFF_TP21L as per
"Processor-Specific ELF for PA_RISC, Version 1.43" document.
Similarly, use e_rsel for DLT and LTOFF 'R' relocations.
* bfd/elf32-hppa.c (final_link_relocate): Revise relocation selectors
as per "Processor-Specific ELF for PA_RISC, Version 1.43" document.
bfd/ChangeLog
bfd/elf-hppa.h
bfd/elf32-hppa.c