From af4dffffc860f58af5ad0dbc8f7c1d8ddab01379 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Fri, 28 Feb 1997 20:10:49 +0000 Subject: [PATCH] * 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. --- bfd/ChangeLog | 17 +++++++++++++++++ bfd/evax-alpha.c | 2 +- 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 422afa49a83..00a242943c4 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -1,3 +1,20 @@ +Fri Feb 28 15:06:45 1997 Ian Lance Taylor + + * 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 * aoutx.h (aout_link_write_symbols): Use bfd_is_local_label_name diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c index c97db588a4f..a6f694f9502 100644 --- a/bfd/evax-alpha.c +++ b/bfd/evax-alpha.c @@ -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] == '$'; } -- 2.30.2