summaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2013-07-18 16:12:34 +0000
committerNick Clifton <nickc@redhat.com>2013-07-18 16:12:34 +0000
commit00ffb0bfd90d16becee1c12d255ec638288beca2 (patch)
treec8c97209e2ab7c5d29732606de2f6200d5031614 /gas
parent3ec62d9f73e0470ca2db0dfab7d26f960d022223 (diff)
downloadbinutils-redhat-00ffb0bfd90d16becee1c12d255ec638288beca2.tar.gz
* ar.c (usage): Fix C conformance issue.
* config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs unsigned comparison.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-i386-intel.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 87908d7267..04229f9ba8 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2013-07-18 Jim Thomas <thomas@cfht.hawaii.edu>
+
+ * config/tc-i386-intel.c (i386_intel_operand): Fixed signed vs
+ unsigned comparison.
+
2013-07-18 Sandeep Kumar Singh <Sandeep.Singh2@kpitcummins.com>
* config/rx-defs.h: Add macros for RX100, RX200, RX600, and
diff --git a/gas/config/tc-i386-intel.c b/gas/config/tc-i386-intel.c
index aefdc2a9c7..9080861834 100644
--- a/gas/config/tc-i386-intel.c
+++ b/gas/config/tc-i386-intel.c
@@ -792,7 +792,7 @@ i386_intel_operand (char *operand_string, int got_a_float)
|| intel_state.is_mem)
{
/* Memory operand. */
- if (i.mem_operands
+ if ((int) i.mem_operands
>= 2 - !current_templates->start->opcode_modifier.isstring)
{
/* Handle