aboutsummaryrefslogtreecommitdiff
path: root/ld/ldsym.c
diff options
context:
space:
mode:
Diffstat (limited to 'ld/ldsym.c')
-rw-r--r--ld/ldsym.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldsym.c b/ld/ldsym.c
index ed8a246..6b2a3a7 100644
--- a/ld/ldsym.c
+++ b/ld/ldsym.c
@@ -460,7 +460,7 @@ write_file_locals (output_buffer)
"used by the linker" and I can't find any other code that
uses it. Should be a cleaner way of doing this (like an
"application flags" field in the symbol structure?). */
- newsym->flags = BSF_LOCAL | BSF_KEEP_G;
+ newsym->flags = BSF_LOCAL | BSF_KEEP_G | BSF_FILE;
newsym->section = s;
*output_buffer++ = newsym;
break;