From c9ccc152c1526c2a3f13f19096c9700b7c8f342d Mon Sep 17 00:00:00 2001 From: kettenis Date: Mon, 19 Jul 2010 17:32:18 +0000 Subject: [PATCH] Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra). ok miod@, tested by landry@ --- gnu/usr.bin/binutils/bfd/elf32-hppa.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } } -- 2.20.1