* syms.c (bfd_is_local_label): Return false if the symbol has no
name. * coff-i960.c (coff_i960_is_local_label_name): New function. (coff_bfd_is_local_label_name): Define. * coff-m68k.c (m68k_coff_is_local_label_name): New function. (coff_bfd_is_local_label_name): Define. * coff-rs6000.c (xcoff_is_local_label_name): New function. (coff_bfd_is_local_label_name): Define. * elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning with .. or _.L_ as local. * elf32-i386.c (elf_i386_is_local_label_name): New function. (bfd_elf32_bfd_is_local_label_name): Define. * evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols beginning with $ as local.
This commit is contained in:
parent
2360492176
commit
af4dffffc8
2 changed files with 18 additions and 1 deletions
|
@ -1,3 +1,20 @@
|
|||
Fri Feb 28 15:06:45 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* syms.c (bfd_is_local_label): Return false if the symbol has no
|
||||
name.
|
||||
* coff-i960.c (coff_i960_is_local_label_name): New function.
|
||||
(coff_bfd_is_local_label_name): Define.
|
||||
* coff-m68k.c (m68k_coff_is_local_label_name): New function.
|
||||
(coff_bfd_is_local_label_name): Define.
|
||||
* coff-rs6000.c (xcoff_is_local_label_name): New function.
|
||||
(coff_bfd_is_local_label_name): Define.
|
||||
* elf.c (_bfd_elf_is_local_label_name): Treat symbols beginning
|
||||
with .. or _.L_ as local.
|
||||
* elf32-i386.c (elf_i386_is_local_label_name): New function.
|
||||
(bfd_elf32_bfd_is_local_label_name): Define.
|
||||
* evax-alpha.c (evax_bfd_is_local_label_name): Treat symbols
|
||||
beginning with $ as local.
|
||||
|
||||
Thu Feb 27 18:36:23 1997 Ian Lance Taylor <ian@cygnus.com>
|
||||
|
||||
* aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name
|
||||
|
|
|
@ -1143,7 +1143,7 @@ evax_bfd_is_local_label_name (abfd, name)
|
|||
#if EVAX_DEBUG
|
||||
evax_debug (1, "evax_bfd_is_local_label_name(%p, %s)\n", abfd, name);
|
||||
#endif
|
||||
return false;
|
||||
return name[0] == '$';
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue