aboutsummaryrefslogtreecommitdiff
path: root/gas/config
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2007-05-02 11:24:17 +0000
committerAlan Modra <amodra@gmail.com>2007-05-02 11:24:17 +0000
commit3896c469d237119ce0d9b6056979eb503c771231 (patch)
tree98ef5dfb4ffb0ecb7f73701fdbe5f47334f699dc /gas/config
parent0d063f63c5ddefb05c3a80e3ce1d2dd5c07e996d (diff)
downloadgdb-3896c469d237119ce0d9b6056979eb503c771231.zip
gdb-3896c469d237119ce0d9b6056979eb503c771231.tar.gz
gdb-3896c469d237119ce0d9b6056979eb503c771231.tar.bz2
gas/
PR 4448 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for PPC_OPERAND_PLUS1. include/opcode/ * ppc.h (PPC_OPERAND_PLUS1): Update comment.
Diffstat (limited to 'gas/config')
-rw-r--r--gas/config/tc-ppc.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/gas/config/tc-ppc.c b/gas/config/tc-ppc.c
index 4fe9f5a..96f165c 100644
--- a/gas/config/tc-ppc.c
+++ b/gas/config/tc-ppc.c
@@ -1544,10 +1544,7 @@ ppc_insert_operand (insn, operand, val, file, line)
}
if ((operand->flags & PPC_OPERAND_PLUS1) != 0)
- {
- max++;
- min++;
- }
+ max++;
if ((operand->flags & PPC_OPERAND_NEGATIVE) != 0)
test = - val;