aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--bfd/linker.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/linker.c b/bfd/linker.c
index 6e609b5..2c6754b 100644
--- a/bfd/linker.c
+++ b/bfd/linker.c
@@ -1343,7 +1343,7 @@ _bfd_generic_link_add_one_symbol (info, abfd, name, flags, section, value,
if (hashp != NULL && *hashp != NULL)
{
h = *hashp;
- BFD_ASSERT (strcmp (h->name, name) == 0);
+ BFD_ASSERT (strcmp (h->root.string, name) == 0);
}
else
{