diff options
author | Ian Lance Taylor <ian@airs.com> | 1995-07-05 16:31:07 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1995-07-05 16:31:07 +0000 |
commit | a2546fcef767bb388f8fc4d90b0b04c2ad7063e3 (patch) | |
tree | 2c4cd799cb788486ca7db4833293b26a90bbec03 /bfd/ecoff.c | |
parent | 3af584b4a16be2ddfb92fc52ec491ba181572967 (diff) | |
download | gdb-a2546fcef767bb388f8fc4d90b0b04c2ad7063e3.zip gdb-a2546fcef767bb388f8fc4d90b0b04c2ad7063e3.tar.gz gdb-a2546fcef767bb388f8fc4d90b0b04c2ad7063e3.tar.bz2 |
* ecoff.c (_bfd_ecoff_bfd_is_local_label): New function.
* libecoff.h (_bfd_ecoff_bfd_is_local_label): Declare.
* elf32-mips.c (mips_elf_is_local_label): New static function.
(bfd_elf32_bfd_is_local_label): Define.
PR 6978.
Diffstat (limited to 'bfd/ecoff.c')
-rw-r--r-- | bfd/ecoff.c | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/bfd/ecoff.c b/bfd/ecoff.c index 21d81d9..b85bf41 100644 --- a/bfd/ecoff.c +++ b/bfd/ecoff.c @@ -1467,6 +1467,17 @@ _bfd_ecoff_get_symbol_info (abfd, symbol, ret) bfd_symbol_info (symbol, ret); } +/* Return whether this is a local label. */ + +/*ARGSUSED*/ +boolean +_bfd_ecoff_bfd_is_local_label (abfd, symbol) + bfd *abfd; + asymbol *symbol; +{ + return symbol->name[0] == '$'; +} + /* Print information about an ECOFF symbol. */ void |