* 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
This commit is contained in:
Steve Chamberlain 1992-02-26 06:11:47 +00:00
parent 062676eb48
commit 14d3e47bfa
2 changed files with 6 additions and 1 deletions

View File

@ -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.

View File

@ -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;