artulab
projects
/
openbsd
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
8861554
)
Fix handling of hidden symbols on hppa. Patch from upstream (Alan Modra).
author
kettenis
<kettenis@openbsd.org>
Mon, 19 Jul 2010 17:32:18 +0000
(17:32 +0000)
committer
kettenis
<kettenis@openbsd.org>
Mon, 19 Jul 2010 17:32:18 +0000
(17:32 +0000)
ok miod@, tested by landry@
gnu/usr.bin/binutils/bfd/elf32-hppa.c
patch
|
blob
|
history
diff --git
a/gnu/usr.bin/binutils/bfd/elf32-hppa.c
b/gnu/usr.bin/binutils/bfd/elf32-hppa.c
index
54dbb9a
..
e8905ea
100644
(file)
--- 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
;
}
}