diff options
author | Ian Lance Taylor <ian@airs.com> | 1997-02-28 20:10:49 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1997-02-28 20:10:49 +0000 |
commit | af4dffffc860f58af5ad0dbc8f7c1d8ddab01379 (patch) | |
tree | ac32323ab03c720977b34ec8cdbdbc7e9d5e554d | |
parent | 236049217663ad79c7f522d6442332a346ff4d53 (diff) | |
download | gdb-af4dffffc860f58af5ad0dbc8f7c1d8ddab01379.zip gdb-af4dffffc860f58af5ad0dbc8f7c1d8ddab01379.tar.gz gdb-af4dffffc860f58af5ad0dbc8f7c1d8ddab01379.tar.bz2 |
* 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.
-rw-r--r-- | bfd/ChangeLog | 17 | ||||
-rw-r--r-- | bfd/evax-alpha.c | 2 |
2 files changed, 18 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog index 422afa4..00a2429 100644 --- a/bfd/ChangeLog +++ b/bfd/ChangeLog @@ -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 diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c index c97db58..a6f694f 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] == '$'; } |