diff options
author | Alan Modra <amodra@gmail.com> | 2004-11-24 11:30:17 +0000 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2004-11-24 11:30:17 +0000 |
commit | 3eda52aa3223324cb9a77b0245dbcd5bead619bd (patch) | |
tree | 133384a343c40cd66554fd35e54ede6177ee5aca /ld/ldexp.c | |
parent | eb129e357a5dce022c3e46e3d35d30074774e11c (diff) | |
download | gdb-3eda52aa3223324cb9a77b0245dbcd5bead619bd.zip gdb-3eda52aa3223324cb9a77b0245dbcd5bead619bd.tar.gz gdb-3eda52aa3223324cb9a77b0245dbcd5bead619bd.tar.bz2 |
* ldexp.c (fold_name): Correct PR 338 fix.
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r-- | ld/ldexp.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -600,7 +600,7 @@ fold_name (etree_type *tree, { h->type = bfd_link_hash_undefined; h->u.undef.abfd = NULL; - if (h->u.undef.next == NULL) + if (h->u.undef.next == NULL && h != link_info.hash->undefs_tail) bfd_link_add_undef (link_info.hash, h); } } |