* elf64-hppa.c (allocate_global_data_opd): We don't need an opd entry
authorJeff Law <law@redhat.com>
Wed, 12 Jun 2002 18:12:25 +0000 (18:12 +0000)
committerJeff Law <law@redhat.com>
Wed, 12 Jun 2002 18:12:25 +0000 (18:12 +0000)
commit3db4b612459073a0949b77472ff2eb7473d32ec2
tree7c6febe41e90490a0b9c3d5b345ec248f9d29be0
parent03e83a45aeeeeb4756a6444557ba1c06dff7c6ea
* elf64-hppa.c (allocate_global_data_opd): We don't need an opd entry
for a symbol that has no output section.
(allocate_dynrel_entries): Correct comment.
(elf64_hppa_finalize_dynreloc): Likewise.  Don't create an opd entry
unless we want one.
(elf64_hppa_finalize_opd): Prevent segfault if dyn_h is NULL.
(elf64_hppa_finalize_dlt): Likewise.  Prevent segfault for symbols
with no section.  Remove unnecessary parentheses.
bfd/ChangeLog
bfd/elf64-hppa.c