diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-22 14:17:55 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-22 14:17:55 +0000 |
commit | fed9b18aea1b56266dfef2eaa613e0055eb6aa12 (patch) | |
tree | 99bf19700080f0d717bb0a9c8c0d4b9b73ff8dde /gas | |
parent | 310b5aa239bd007ca01fdf11a325ce615d832ede (diff) | |
download | gdb-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')
-rw-r--r-- | gas/ChangeLog | 7 | ||||
-rw-r--r-- | gas/config/obj-ecoff.c | 7 | ||||
-rw-r--r-- | gas/config/tc-ppc.c | 3 | ||||
-rw-r--r-- | gas/config/tc-v850.c | 2 |
4 files changed, 14 insertions, 5 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 2e15c92..8959b51 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,10 @@ +1999-06-22 Ian Lance Taylor <ian@zembu.com> + + * 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. + 1999-06-22 Jonathan Larmour <jlarmour@cygnus.co.uk> * config/tc-arc.c (tc_gen_reloc): Use symbol_get_bfdsym to get at 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); diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c index aca3d22..56c2a48 100644 --- a/gas/config/tc-ppc.c +++ b/gas/config/tc-ppc.c @@ -1783,7 +1783,8 @@ md_assemble (str) if (ex.X_op == O_symbol) { assert (ex.X_add_symbol != NULL); - if (ex.X_add_symbol->bsym->section != tocdata_section) + if (symbol_get_bfdsym (ex.X_add_symbol)->section + != tocdata_section) { as_bad(_("[tocv] symbol is not a toc symbol")); } diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c index d85cfce..a480c8d 100644 --- a/gas/config/tc-v850.c +++ b/gas/config/tc-v850.c @@ -548,7 +548,7 @@ v850_comm (area) goto allocate_common; } - symbolP->bsym->flags |= BSF_OBJECT; + symbol_get_bfdsym (symbolP)->flags |= BSF_OBJECT; demand_empty_rest_of_line (); return; |