aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-arc.c
diff options
context:
space:
mode:
authorRamana Radhakrishnan <ramana.r@gmail.com>2005-03-03 05:30:10 +0000
committerRamana Radhakrishnan <ramana.r@gmail.com>2005-03-03 05:30:10 +0000
commit2f12d57ff976c36890ebe3740861b65806ef4da0 (patch)
tree4dccc5a7e4692e4223b228e04fe2da04ed72a079 /gas/config/tc-arc.c
parent2da5c03714e1f97bb83d05114e97dcf92eb17b64 (diff)
downloadgdb-2f12d57ff976c36890ebe3740861b65806ef4da0.zip
gdb-2f12d57ff976c36890ebe3740861b65806ef4da0.tar.gz
gdb-2f12d57ff976c36890ebe3740861b65806ef4da0.tar.bz2
2005-03-03 Ramana Radhakrishnan <ramana.radhakrishnan@codito.com>
* config/tc-arc.c(md_assemble): Remove dead code for handling immediate indexing with ld and st.
Diffstat (limited to 'gas/config/tc-arc.c')
-rw-r--r--gas/config/tc-arc.c10
1 files changed, 1 insertions, 9 deletions
diff --git a/gas/config/tc-arc.c b/gas/config/tc-arc.c
index 12dfd9d..3bdb160 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;