mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-26 05:47:26 +08:00
* syms.c (bfd_is_local_label): Return false for file symbols.
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
2004-10-08 Alan Modra <amodra@bigpond.net.au>
|
||||||
|
|
||||||
|
* syms.c (bfd_is_local_label): Return false for file symbols.
|
||||||
|
|
||||||
2004-10-07 Bob Wilson <bob.wilson@acm.org>
|
2004-10-07 Bob Wilson <bob.wilson@acm.org>
|
||||||
|
|
||||||
* elf32-xtensa.c (elf32xtensa_size_opt): New global variable.
|
* elf32-xtensa.c (elf32xtensa_size_opt): New global variable.
|
||||||
|
@ -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
|
/* The BSF_SECTION_SYM check is needed for IA-64, where every label that
|
||||||
starts with '.' is local. This would accidentally catch section names
|
starts with '.' is local. This would accidentally catch section names
|
||||||
if we didn't reject them here. */
|
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;
|
return FALSE;
|
||||||
if (sym->name == NULL)
|
if (sym->name == NULL)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
Reference in New Issue
Block a user