aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
authorJan Beulich <jbeulich@novell.com>2007-09-26 06:58:01 +0000
committerJan Beulich <jbeulich@novell.com>2007-09-26 06:58:01 +0000
commitcc941dee4852b197c1437b2eb28eafb0c9ccaff9 (patch)
treed7a3be528fec59011b1e252e0792d14c485c6d7e /gas
parentc15900ec3600482ecc5269dc0bbe25c2fa48007a (diff)
downloadgdb-cc941dee4852b197c1437b2eb28eafb0c9ccaff9.zip
gdb-cc941dee4852b197c1437b2eb28eafb0c9ccaff9.tar.gz
gdb-cc941dee4852b197c1437b2eb28eafb0c9ccaff9.tar.bz2
gas/
2007-09-26 Jan Beulich <jbeulich@novell.com> * config/tc-ia64.c (dot_pred_rel): Replace specialized handling with simple call to parse_operand.
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.c9
2 files changed, 8 insertions, 6 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 06df1e6..0b5829f 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,10 @@
2007-09-26 Jan Beulich <jbeulich@novell.com>
+ * config/tc-ia64.c (dot_pred_rel): Replace specialized handling
+ with simple call to parse_operand.
+
+2007-09-26 Jan Beulich <jbeulich@novell.com>
+
* config/tc-i386.c (NUM_FLAG_CODE): Remove.
2007-09-26 Jan Beulich <jbeulich@novell.com>
diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c
index d6fcb2c..04995cc 100644
--- a/gas/config/tc-ia64.c
+++ b/gas/config/tc-ia64.c
@@ -5282,14 +5282,13 @@ dot_pred_rel (type)
SKIP_WHITESPACE ();
}
- SKIP_WHITESPACE ();
while (1)
{
valueT bits = 1;
- int regno;
+ int sep, regno;
expressionS pr, *pr1, *pr2;
- expression_and_evaluate (&pr);
+ sep = parse_operand (&pr, ',');
if (pr.X_op == O_register
&& pr.X_add_number >= REG_P
&& pr.X_add_number <= REG_P + 63)
@@ -5336,10 +5335,8 @@ dot_pred_rel (type)
if (mask & bits)
as_warn (_("Duplicate predicate register ignored"));
mask |= bits;
- if (*input_line_pointer != ',')
+ if (sep != ',')
break;
- ++input_line_pointer;
- SKIP_WHITESPACE ();
}
switch (type)