From: Steve Chamberlain Date: Wed, 26 Feb 1992 06:11:47 +0000 (+0000) Subject: * expr.c: If an expression is single comma, then return with X-Git-Tag: gdb-4_18~22310 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=14d3e47bfa5112e3684a53b9ee3b966fac0902a8;p=platform%2Fupstream%2Fbinutils.git * 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 --- 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;