diff options
author | Ian Lance Taylor <ian@airs.com> | 1999-06-22 14:35:19 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1999-06-22 14:35:19 +0000 |
commit | a77f5182c7d7ee65904c073161053e330bc8eed1 (patch) | |
tree | 3cd248846c9769f8b476cf4863e2564aa9a754d0 /gas/config/tc-arm.c | |
parent | 8fc2b121ea7cbd74147d537981dba1fa341bc8f9 (diff) | |
download | gdb-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-arm.c')
-rw-r--r-- | gas/config/tc-arm.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gas/config/tc-arm.c b/gas/config/tc-arm.c index f22fee0..9900b31 100644 --- a/gas/config/tc-arm.c +++ b/gas/config/tc-arm.c @@ -5279,7 +5279,7 @@ md_apply_fix3 (fixP, val, seg) /* Note whether this will delete the relocation. */ #if 0 /* patch from REarnshaw to JDavis (disabled for the moment, since it doesn't work fully) */ - if ((fixP->fx_addsy == 0 || fixP->fx_addsy->sy_value.X_op == O_constant) + if ((fixP->fx_addsy == 0 || symbol_constant_p (fixP->fx_addsy)) && !fixP->fx_pcrel) #else if (fixP->fx_addsy == 0 && !fixP->fx_pcrel) |