summaryrefslogtreecommitdiffstats
path: root/src/ld.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/ld.c')
-rw-r--r--src/ld.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ld.c b/src/ld.c
index 5c20f475..61627e58 100644
--- a/src/ld.c
+++ b/src/ld.c
@@ -1519,6 +1519,8 @@ create_special_section_symbol (struct symbol **symp, const char *name)
abort ();
(*symp)->defined = 1;
+ (*symp)->local = 1;
+ (*symp)->hidden = 1;
(*symp)->type = STT_OBJECT;
++ld_state.nsymtab;