From: Frank Ch. Eigler Date: Fri, 23 Jun 2000 10:51:28 +0000 (+0000) Subject: * $literal support X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=ed6d6fd3c4a370d8e315cfe55a9971042e8917c9;p=binutils-gdb.git * $literal support 2000-06-23 Frank Ch. Eigler * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX is defined. --- diff --git a/gas/ChangeLog b/gas/ChangeLog index cd13e01753c..994854e0542 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2000-06-23 Frank Ch. Eigler + + * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX + is defined. + 2000-06-23 matthew green * expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is diff --git a/gas/expr.c b/gas/expr.c index d082469610b..fe2aa6204e1 100644 --- a/gas/expr.c +++ b/gas/expr.c @@ -820,6 +820,12 @@ operand (expressionP) expressionP); break; +#ifdef LITERAL_PREFIXDOLLAR_HEX + case '$': + integer_constant (16, expressionP); + break; +#endif + case '0': /* non-decimal radix */