From 864274b0e90535a7228860f234b51d465c16d9bc Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Fri, 8 Oct 2004 05:53:59 +0000 Subject: [PATCH] * syms.c (bfd_is_local_label): Return false for file symbols. --- bfd/ChangeLog | 4 ++++ bfd/syms.c | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index df818211b2b..fcaa49937f5 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,7 @@ +2004-10-08 Alan Modra + + * syms.c (bfd_is_local_label): Return false for file symbols. + 2004-10-07 Bob Wilson * elf32-xtensa.c (elf32xtensa_size_opt): New global variable. 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; -- 2.30.2