From: kettenis Date: Mon, 19 Jul 2010 17:32:18 +0000 (+0000) Subject: Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra). X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=c9ccc152c1526c2a3f13f19096c9700b7c8f342d;p=openbsd Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra). ok miod@, tested by landry@ --- diff --git a/gnu/usr.bin/binutils/bfd/elf32-hppa.c b/gnu/usr.bin/binutils/bfd/elf32-hppa.c index 54dbb9a62b9..e8905ea1738 100644 --- a/gnu/usr.bin/binutils/bfd/elf32-hppa.c +++ b/gnu/usr.bin/binutils/bfd/elf32-hppa.c @@ -1615,7 +1615,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; } }