summaryrefslogtreecommitdiff
path: root/bfd/xcofflink.c
diff options
context:
space:
mode:
Diffstat (limited to 'bfd/xcofflink.c')
-rw-r--r--bfd/xcofflink.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/xcofflink.c b/bfd/xcofflink.c
index d457aa05f0..ccd82befda 100644
--- a/bfd/xcofflink.c
+++ b/bfd/xcofflink.c
@@ -1827,7 +1827,7 @@ xcoff_link_add_symbols (abfd, info)
section = bfd_und_section_ptr;
value = 0;
}
- else if ((*sym_hash)->root.next != NULL
+ else if ((*sym_hash)->root.und_next != NULL
|| info->hash->undefs_tail == &(*sym_hash)->root)
{
/* This symbol has been referenced. In this