mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-25 21:41:47 +08:00
Treat assembler generated local labels as local.
* elf.c (_bfd_elf_is_local_label_name): Treat assembler generated local labels as local.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2015-04-07 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
|
* elf.c (_bfd_elf_is_local_label_name): Treat assembler generated
|
||||||
|
local labels as local.
|
||||||
|
|
||||||
2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
|
2015-04-06 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
* compress.c (get_uncompressed_size): Removed.
|
* compress.c (get_uncompressed_size): Removed.
|
||||||
|
@ -7743,6 +7743,10 @@ _bfd_elf_is_local_label_name (bfd *abfd ATTRIBUTE_UNUSED,
|
|||||||
if (name[0] == '_' && name[1] == '.' && name[2] == 'L' && name[3] == '_')
|
if (name[0] == '_' && name[1] == '.' && name[2] == 'L' && name[3] == '_')
|
||||||
return TRUE;
|
return TRUE;
|
||||||
|
|
||||||
|
/* Treat assembler generated local labels as local. */
|
||||||
|
if (name[0] == 'L' && name[strlen (name) - 1] < 32)
|
||||||
|
return TRUE;
|
||||||
|
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user