aboutsummaryrefslogtreecommitdiff
path: root/bfd/evax-alpha.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1997-02-28 02:07:54 +0000
committerIan Lance Taylor <ian@airs.com>1997-02-28 02:07:54 +0000
commit35a3e78edb9d4a3ef98f975587752325c9be860f (patch)
treeef86e36c35a9eee883d91f4066c08bd26a096cc7 /bfd/evax-alpha.c
parent85d6f0b476fd84375e4c50d02b02bf34321d0546 (diff)
downloadgdb-35a3e78edb9d4a3ef98f975587752325c9be860f.zip
gdb-35a3e78edb9d4a3ef98f975587752325c9be860f.tar.gz
gdb-35a3e78edb9d4a3ef98f975587752325c9be860f.tar.bz2
* targets.c (BFD_JUMP_TABLE_SYMBOLS): Change _bfd_is_local_label
to _bfd_is_local_label_name. (bfd_target): Likewise. * syms.c (bfd_is_local_label): Define as function, not macro. (bfd_is_local_name): Define. * libbfd.c (bfd_generic_is_local_label_name): Rename from bfd_generic_is_local_label, and take a string rather than a symbol. * libbfd-in.h (_bfd_nosymbols_bfd_is_local_label): Don't define. (_bfd_nosymbols_bfd_is_local_label_name): Define. (bfd_generic_is_local_label): Don't declare. (bfd_generic_is_local_label_name): Declare. * bfd-in2.h, libbfd.h: Rebuild. * All backends: Change local_label to local_label_name.
Diffstat (limited to 'bfd/evax-alpha.c')
-rw-r--r--bfd/evax-alpha.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/bfd/evax-alpha.c b/bfd/evax-alpha.c
index f48e84c..c97db58 100644
--- a/bfd/evax-alpha.c
+++ b/bfd/evax-alpha.c
@@ -78,7 +78,7 @@ static void evax_print_symbol
PARAMS ((bfd *abfd, PTR file, asymbol *symbol, bfd_print_symbol_type how));
static void evax_get_symbol_info
PARAMS ((bfd *abfd, asymbol *symbol, symbol_info *ret));
-static boolean evax_bfd_is_local_label PARAMS ((bfd *abfd, asymbol *symbol));
+static boolean evax_bfd_is_local_label_name PARAMS ((bfd *abfd, const char *));
static alent *evax_get_lineno PARAMS ((bfd *abfd, asymbol *symbol));
static boolean evax_find_nearest_line
PARAMS ((bfd *abfd, asection *section, asymbol **symbols, bfd_vma offset,
@@ -1136,12 +1136,12 @@ evax_get_symbol_info (abfd, symbol, ret)
a compiler generated local label, else return false. */
static boolean
-evax_bfd_is_local_label (abfd, symbol)
+evax_bfd_is_local_label_name (abfd, name)
bfd *abfd;
- asymbol *symbol;
+ const char *name;
{
#if EVAX_DEBUG
- evax_debug (1, "evax_bfd_is_local_label(%p, %p)\n", abfd, symbol);
+ evax_debug (1, "evax_bfd_is_local_label_name(%p, %s)\n", abfd, name);
#endif
return false;
}