From 2f12d57ff976c36890ebe3740861b65806ef4da0 Mon Sep 17 00:00:00 2001 From: Ramana Radhakrishnan Date: Thu, 3 Mar 2005 05:30:10 +0000 Subject: [PATCH] 2005-03-03 Ramana Radhakrishnan * config/tc-arc.c(md_assemble): Remove dead code for handling immediate indexing with ld and st. --- gas/ChangeLog | 5 +++++ gas/config/tc-arc.c | 10 +--------- 2 files changed, 6 insertions(+), 9 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index c111a5c1740..8de9f44caf5 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2005-03-03 Ramana Radhakrishnan + + * config/tc-arc.c(md_assemble): Remove dead code for handling + immediate indexing of ld and st . + 2005-03-02 Daniel Jacobowitz Joseph Myers diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c index 12dfd9dffbd..3bdb160aab8 100644 --- a/gas/config/tc-arc.c +++ b/gas/config/tc-arc.c @@ -436,15 +436,7 @@ md_assemble (str) /* Non operand chars must match exactly. */ if (*syn != '%' || *++syn == '%') { - /* Handle '+' specially as we want to allow "ld r0,[sp-4]". */ - /* ??? The syntax has changed to [sp,-4]. */ - if (0 && *syn == '+' && *str == '-') - { - /* Skip over syn's +, but leave str's - alone. - That makes the case identical to "ld r0,[sp+-4]". */ - ++syn; - } - else if (*str == *syn) + if (*str == *syn) { if (*syn == ' ') past_opcode_p = 1; -- 2.30.2