aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ppc.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/tc-ppc.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/tc-ppc.c')
-rw-r--r--gas/config/tc-ppc.c3
1 files changed, 2 insertions, 1 deletions
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"));
}