aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arc.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2001-10-17 05:51:12 +0000
committerAlan Modra <amodra@gmail.com>2001-10-17 05:51:12 +0000
commitd3ecfc599fbf95d896a970b06d122a4e17470c0d (patch)
tree0f105e6bfbb5d5e31bd8d93a63e1dd729111467b /gas/config/tc-arc.c
parentaa200fe8a3a83f8e483d6a138929e73ae099e145 (diff)
downloadgdb-d3ecfc599fbf95d896a970b06d122a4e17470c0d.zip
gdb-d3ecfc599fbf95d896a970b06d122a4e17470c0d.tar.gz
gdb-d3ecfc599fbf95d896a970b06d122a4e17470c0d.tar.bz2
* bit_fix.h: Comment typo fix.
* config/tc-mips.c: Likewise. * config/tc-sh.c: Likewise. * config/tc-arc.c (arc_code_symbol): Remove unnecessary test.
Diffstat (limited to 'gas/config/tc-arc.c')
-rw-r--r--gas/config/tc-arc.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 569502e..112c30a 100644
--- a/gas/config/tc-arc.c
+++ b/gas/config/tc-arc.c
@@ -1632,9 +1632,7 @@ void
arc_code_symbol (expressionP)
expressionS *expressionP;
{
- if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0
- /* I think this test is unnecessary but just as a sanity check... */
- && expressionP->X_op_symbol == NULL)
+ if (expressionP->X_op == O_symbol && expressionP->X_add_number == 0)
{
expressionS two;
expressionP->X_op = O_right_shift;