aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-hppa.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2004-08-13 08:41:51 +0000
committerAlan Modra <amodra@gmail.com>2004-08-13 08:41:51 +0000
commita005f94ee3eb3a96c6381611ef2bd931250e4e65 (patch)
tree0b919db7838c5d594d71b4e5df69c7e24c4d3439 /bfd/elf32-hppa.c
parent45d313cd663bc128c86a5208ddb46eef7f7725e5 (diff)
downloadgdb-a005f94ee3eb3a96c6381611ef2bd931250e4e65.zip
gdb-a005f94ee3eb3a96c6381611ef2bd931250e4e65.tar.gz
gdb-a005f94ee3eb3a96c6381611ef2bd931250e4e65.tar.bz2
PR 293
* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to zero the plt field.
Diffstat (limited to 'bfd/elf32-hppa.c')
-rw-r--r--bfd/elf32-hppa.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/elf32-hppa.c b/bfd/elf32-hppa.c
index 8397943..701c72f 100644
--- a/bfd/elf32-hppa.c
+++ b/bfd/elf32-hppa.c
@@ -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;
}
}