PR 293
authorAlan Modra <amodra@gmail.com>
Fri, 13 Aug 2004 08:41:51 +0000 (08:41 +0000)
committerAlan Modra <amodra@gmail.com>
Fri, 13 Aug 2004 08:41:51 +0000 (08:41 +0000)
* elf32-hppa.c (elf32_hppa_hide_symbol): Use init_refcount to
zero the plt field.

bfd/ChangeLog
bfd/elf32-hppa.c

index 8672286241cbca205c2f21a5b81aab4d5feeb433..5ff97a8170c12e3c7a22d3f05f56d0469dd87934 100644 (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.
index 8397943efa1ef7db824758a397ef4b83df8de7dc..701c72fd3f821fb173149e726252e58d07247a61 100644 (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;
     }
 }