* syms.c (bfd_is_local_label): Return false if the symbol has no
authorIan Lance Taylor <ian@airs.com>
Fri, 28 Feb 1997 20:10:49 +0000 (20:10 +0000)
committerIan Lance Taylor <ian@airs.com>
Fri, 28 Feb 1997 20:10:49 +0000 (20:10 +0000)
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
bfd/evax-alpha.c

index 422afa49a8360a899e0158ecba2c1887a2b9e88e..00a242943c46b1f67d082fc45d8e244ff0f5199b 100644 (file)
@@ -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
index c97db588a4f314b3d21d5e4afe0418fe56b26e69..a6f694f9502ce116dd52f0116871d1850de7d69f 100644 (file)
@@ -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] == '$';
 }