aboutsummaryrefslogtreecommitdiff
path: root/gas/config/obj-ecoff.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-22 14:17:55 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-22 14:17:55 +0000
commitfed9b18aea1b56266dfef2eaa613e0055eb6aa12 (patch)
tree99bf19700080f0d717bb0a9c8c0d4b9b73ff8dde /gas/config/obj-ecoff.c
parent310b5aa239bd007ca01fdf11a325ce615d832ede (diff)
downloadgdb-fed9b18aea1b56266dfef2eaa613e0055eb6aa12.zip
gdb-fed9b18aea1b56266dfef2eaa613e0055eb6aa12.tar.gz
gdb-fed9b18aea1b56266dfef2eaa613e0055eb6aa12.tar.bz2
* config/obj-ecoff.c (obj_ecoff_set_ext): Change uses of bsym to
use symbol_get_bfdsym instead. * config/tc-ppc.c (md_assemble): Likewise. * config/tc-v850.c (v850_comm): Likewise.
Diffstat (limited to 'gas/config/obj-ecoff.c')
-rw-r--r--gas/config/obj-ecoff.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/gas/config/obj-ecoff.c b/gas/config/obj-ecoff.c
index ec3ce88..6489243 100644
--- a/gas/config/obj-ecoff.c
+++ b/gas/config/obj-ecoff.c
@@ -1,5 +1,5 @@
/* ECOFF object file format.
- Copyright (C) 1993, 94, 95, 96, 1997, 1998 Free Software Foundation, Inc.
+ Copyright (C) 1993, 94, 95, 96, 97, 98, 1999 Free Software Foundation, Inc.
Contributed by Cygnus Support.
This file was put together by Ian Lance Taylor <ian@cygnus.com>.
@@ -260,8 +260,9 @@ obj_ecoff_set_ext (sym, ext)
= &ecoff_backend (stdoutput)->debug_swap;
ecoff_symbol_type *esym;
- know (bfd_asymbol_flavour (sym->bsym) == bfd_target_ecoff_flavour);
- esym = ecoffsymbol (sym->bsym);
+ know (bfd_asymbol_flavour (symbol_get_bfdsym (sym))
+ == bfd_target_ecoff_flavour);
+ esym = ecoffsymbol (symbol_get_bfdsym (sym));
esym->local = false;
esym->native = xmalloc (debug_swap->external_ext_size);
(*debug_swap->swap_ext_out) (stdoutput, ext, esym->native);