aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog6
-rw-r--r--gas/config/tc-ppc.c5
2 files changed, 7 insertions, 4 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index e5d9b84..f0a4faa 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,9 @@
+2007-05-02 Alan Modra <amodra@bigpond.net.au>
+
+ PR 4448
+ * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
+ PPC_OPERAND_PLUS1.
+
2007-05-01 H.J. Lu <hongjiu.lu@intel.com>
* config/tc-i386.c (match_template): Check suffix for crc32 in
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;