aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1999-06-22 14:35:19 +0000
committerIan Lance Taylor <ian@airs.com>1999-06-22 14:35:19 +0000
commita77f5182c7d7ee65904c073161053e330bc8eed1 (patch)
tree3cd248846c9769f8b476cf4863e2564aa9a754d0 /gas/config/tc-v850.c
parent8fc2b121ea7cbd74147d537981dba1fa341bc8f9 (diff)
downloadgdb-a77f5182c7d7ee65904c073161053e330bc8eed1.zip
gdb-a77f5182c7d7ee65904c073161053e330bc8eed1.tar.gz
gdb-a77f5182c7d7ee65904c073161053e330bc8eed1.tar.bz2
* config/tc-arc.c (get_arc_exp_reloc_type): Change uses of
sy_value with appropriate accessor functions. * config/tc-arm.c (md_apply_fix3): Likewise. * config/tc-d10v.c (AT_WORD_P): Likewise. * config/tc-v850.c (reg_name_search): Likewise.
Diffstat (limited to 'gas/config/tc-v850.c')
-rw-r--r--gas/config/tc-v850.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/gas/config/tc-v850.c b/gas/config/tc-v850.c
index a480c8d..32d20af 100644
--- a/gas/config/tc-v850.c
+++ b/gas/config/tc-v850.c
@@ -726,9 +726,9 @@ reg_name_search (regs, regcount, name, accept_numbers)
{
/* If the symbol is an alias for another name then use that.
If the symbol is an alias for a number, then return the number. */
- if (symbolP->sy_value.X_op == O_symbol)
+ if (symbol_equated_p (symbolP))
{
- name = S_GET_NAME (symbolP->sy_value.X_add_symbol);
+ name = S_GET_NAME (symbol_get_value_expression (symbolP)->X_add_symbol);
}
else if (accept_numbers)
{