* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to
	zero the plt field.
This commit is contained in:
Alan Modra 2004-08-13 08:41:51 +00:00
parent 45d313cd66
commit a005f94ee3
2 changed files with 7 additions and 1 deletions

View File

@ -1,3 +1,9 @@
2004-08-13 Alan Modra <amodra@bigpond.net.au>
PR 293
* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to
zero the plt field.
2004-08-13 Alan Modra <amodra@bigpond.net.au>
* bfd.c (_bfd_default_error_handler): Handle %A and %B.

View File

@ -1623,7 +1623,7 @@ elf32_hppa_hide_symbol (struct bfd_link_info *info,
if (! ((struct elf32_hppa_link_hash_entry *) h)->plabel)
{
h->elf_link_hash_flags &= ~ELF_LINK_HASH_NEEDS_PLT;
h->plt.offset = (bfd_vma) -1;
h->plt = elf_hash_table (info)->init_refcount;
}
}