aboutsummaryrefslogtreecommitdiff
path: root/gas
diff options
context:
space:
mode:
Diffstat (limited to 'gas')
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/expr.c3
2 files changed, 6 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index 7c4d4e4..7d12119 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,5 +1,9 @@
Tue Feb 25 14:17:15 1992 Steve Chamberlain (sac at rtl.cygnus.com)
+ * expr.c: If an expression is single comma, then return with
+ SEG_ABSENT rather than an error - since the sparc front end does
+ really strange things with things like fbge,a
+
* as.h: include bfd.h if using many sections
* expr.c: LOCAL_LABELS_FB had been changed to lower case - so
local labels didn't work.
diff --git a/gas/expr.c b/gas/expr.c
index 96fb27d..871ada0 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -407,6 +407,7 @@ operand (expressionP)
integer_constant(2, expressionP);
break;
+ case '0':
case '1':
case '2':
case '3':
@@ -542,7 +543,7 @@ operand (expressionP)
}
-
+ case ',':
case '\n':
/* can't imagine any other kind of operand */
expressionP->X_seg = SEG_ABSENT;