aboutsummaryrefslogtreecommitdiff
path: root/ld/ldlang.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldlang.c')
-rw-r--r--ld/ldlang.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/ld/ldlang.c b/ld/ldlang.c
index 343c4de..7f9e3d2 100644
--- a/ld/ldlang.c
+++ b/ld/ldlang.c
@@ -4895,6 +4895,9 @@ ld_is_local_symbol (asymbol * sym)
if (name == NULL || *name == 0)
return false;
+ if (strcmp (name, "(null)") == 0)
+ return false;
+
/* Skip .Lxxx and such like. */
if (bfd_is_local_label (link_info.output_bfd, sym))
return false;