aboutsummaryrefslogtreecommitdiff
path: root/ld/ldexp.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldexp.c')
-rw-r--r--ld/ldexp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldexp.c b/ld/ldexp.c
index c19070f..217a702 100644
--- a/ld/ldexp.c
+++ b/ld/ldexp.c
@@ -577,7 +577,7 @@ fold_name (etree_type *tree,
{
h->type = bfd_link_hash_undefined;
h->u.undef.abfd = NULL;
- if (h->und_next == NULL)
+ if (h->u.undef.next == NULL)
bfd_link_add_undef (link_info.hash, h);
}
}