diff options
author | David E. O'Brien <obrien@FreeBSD.org> | 2002-04-12 19:33:52 +0000 |
---|---|---|
committer | David E. O'Brien <obrien@FreeBSD.org> | 2002-04-12 19:33:52 +0000 |
commit | 0aecce1e344d43b8c267e4097a6add59b602e1e6 (patch) | |
tree | b6180daa6d6e558ce86214f98d103e01ff4e70ff /contrib/binutils/bfd/i386linux.c | |
parent | 55ba99bb8dde491eff144f287834f17d0c9e541e (diff) |
Import of Binutils from the FSF 2.12 branch.
(this fixes several linker problems and coredumps)
These bits are taken from the FSF anoncvs repo on 10-April-2002 13:24 Zulu
Notes
Notes:
svn path=/vendor/binutils/dist/; revision=94536
Diffstat (limited to 'contrib/binutils/bfd/i386linux.c')
-rw-r--r-- | contrib/binutils/bfd/i386linux.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/contrib/binutils/bfd/i386linux.c b/contrib/binutils/bfd/i386linux.c index bb9365001759..755b456cfcd1 100644 --- a/contrib/binutils/bfd/i386linux.c +++ b/contrib/binutils/bfd/i386linux.c @@ -1,5 +1,5 @@ /* BFD back-end for linux flavored i386 a.out binaries. - Copyright 1992, 1993, 1994, 1995, 1996, 1997, 2001 + Copyright 1992, 1993, 1994, 1995, 1996, 1997, 2001, 2002 Free Software Foundation, Inc. This file is part of BFD, the Binary File Descriptor library. @@ -438,6 +438,9 @@ linux_tally_symbols (h, data) struct linux_link_hash_entry *h1, *h2; boolean exists; + if (h->root.root.type == bfd_link_hash_warning) + h = (struct linux_link_hash_entry *) h->root.root.u.i.link; + if (h->root.root.type == bfd_link_hash_undefined && strncmp (h->root.root.root.string, NEEDS_SHRLIB, sizeof NEEDS_SHRLIB - 1) == 0) |