aboutsummaryrefslogtreecommitdiff
path: root/bfd/linker.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2011-05-15 23:44:07 +0000
committerAlan Modra <amodra@gmail.com>2011-05-15 23:44:07 +0000
commit41e04eaa320653226989794c5e16100fa2360a0b (patch)
tree574649a6428d5215d580d99cde15e23e4b810751 /bfd/linker.c
parent77c56f443d3ef7b5350fb3c7a27510840cb6bb4c (diff)
downloadgdb-41e04eaa320653226989794c5e16100fa2360a0b.zip
gdb-41e04eaa320653226989794c5e16100fa2360a0b.tar.gz
gdb-41e04eaa320653226989794c5e16100fa2360a0b.tar.bz2
include/
* bfdlink.h (struct bfd_link_hash_entry): Remove u.undef.weak field. bfd/ * linker.c (_bfd_generic_link_add_one_symbol): Don't init u.undef.weak.
Diffstat (limited to 'bfd/linker.c')
-rw-r--r--bfd/linker.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index d7ac067..d92a9d8 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -1640,7 +1640,6 @@ _bfd_generic_link_add_one_symbol (struct bfd_link_info *info,
/* Make a new weak undefined symbol. */
h->type = bfd_link_hash_undefweak;
h->u.undef.abfd = abfd;
- h->u.undef.weak = abfd;
break;
case CDEF: