aboutsummaryrefslogtreecommitdiff
path: root/binutils
diff options
context:
space:
mode:
Diffstat (limited to 'binutils')
-rw-r--r--binutils/objcopy.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/binutils/objcopy.c b/binutils/objcopy.c
index f54ae73..5fb33b5 100644
--- a/binutils/objcopy.c
+++ b/binutils/objcopy.c
@@ -1743,6 +1743,7 @@ filter_symbols (bfd *abfd, bfd *obfd, asymbol **osyms,
else if (!undefined
&& (flags & BSF_LOCAL)
+ && !(flags & BSF_FILE)
&& is_specified_symbol (name, globalize_specific_htab))
{
flags &= ~BSF_LOCAL;