aboutsummaryrefslogtreecommitdiff
path: root/bfd/aoutx.h
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-11 17:33:43 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-11 17:33:43 +0000
commitc189fdfb8e60e1ca8e91f3a590476621ddf5d5f9 (patch)
tree032b3445b37367af52c286523678ad0abfedc177 /bfd/aoutx.h
parenta676355299ee9ef6adec6facbfbec1d03474dde5 (diff)
downloadbinutils-c189fdfb8e60e1ca8e91f3a590476621ddf5d5f9.zip
binutils-c189fdfb8e60e1ca8e91f3a590476621ddf5d5f9.tar.gz
binutils-c189fdfb8e60e1ca8e91f3a590476621ddf5d5f9.tar.bz2
* stab-syms.c (__define_stab_duplicate): Define.
(bfd_get_stab_name): Rename from aout_stab_name. Rewrite to use a switch. * bfd-in.h (bfd_get_stab_name): Declare. * bfd-in2.h: Rebuild. * Makefile.in: Rebuild dependencies. (BFD_LIBS): Add stab-syms.o. (BFD_LIBS_CFILES): Add stab-syms.c. (BFD32_BACKENDS): Remove stab-syms.o. (BFD32_BACKENDS_CFILES): Remove stab-syms.c. * configure.in: Don't list stab-syms.o in bfd_backends. * configure: Rebuild. * libaout.h (aout_stab_name): Don't declare. * aoutx.h (NAME(aout,get_symbol_info)): Call bfd_get_stab_name, not aout_stab_name.
Diffstat (limited to 'bfd/aoutx.h')
-rw-r--r--bfd/aoutx.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/bfd/aoutx.h b/bfd/aoutx.h
index 6ea54d1..b5b6099 100644
--- a/bfd/aoutx.h
+++ b/bfd/aoutx.h
@@ -692,7 +692,7 @@ NAME(aout,machine_type) (arch, machine, unknown)
case bfd_arch_sparc:
if (machine == 0
|| machine == bfd_mach_sparc
- || machine == bfd_mach_sparc64)
+ || machine == bfd_mach_sparc_v9)
arch_flags = M_SPARC;
break;
@@ -2487,7 +2487,7 @@ NAME(aout,get_symbol_info) (ignore_abfd, symbol, ret)
if (ret->type == '?')
{
int type_code = aout_symbol(symbol)->type & 0xff;
- CONST char *stab_name = aout_stab_name(type_code);
+ const char *stab_name = bfd_get_stab_name (type_code);
static char buf[10];
if (stab_name == NULL)