summaryrefslogtreecommitdiff
path: root/bfd/syms.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2004-10-08 05:53:59 +0000
committerAlan Modra <amodra@bigpond.net.au>2004-10-08 05:53:59 +0000
commite5100ab1582d48f5741bd1bc23d1d1b4cc5de3bd (patch)
tree4281c5697e046d0f0092b0366a1f87c9a4e50f75 /bfd/syms.c
parent65843df1d23edd36aefd391574edf5992bfc03e3 (diff)
downloadgdb-e5100ab1582d48f5741bd1bc23d1d1b4cc5de3bd.tar.gz
* syms.c (bfd_is_local_label): Return false for file symbols.
Diffstat (limited to 'bfd/syms.c')
-rw-r--r--bfd/syms.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/bfd/syms.c b/bfd/syms.c
index ca4584c1a11..e78f5ec7be7 100644
--- a/bfd/syms.c
+++ b/bfd/syms.c
@@ -355,7 +355,7 @@ bfd_is_local_label (bfd *abfd, asymbol *sym)
/* The BSF_SECTION_SYM check is needed for IA-64, where every label that
starts with '.' is local. This would accidentally catch section names
if we didn't reject them here. */
- if ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_SECTION_SYM)) != 0)
+ if ((sym->flags & (BSF_GLOBAL | BSF_WEAK | BSF_FILE | BSF_SECTION_SYM)) != 0)
return FALSE;
if (sym->name == NULL)
return FALSE;