From ed6d6fd3c4a370d8e315cfe55a9971042e8917c9 Mon Sep 17 00:00:00 2001 From: "Frank Ch. Eigler" Date: Fri, 23 Jun 2000 10:51:28 +0000 Subject: [PATCH] * $literal support 2000-06-23 Frank Ch. Eigler * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX is defined. --- gas/ChangeLog | 5 +++++ gas/expr.c | 6 ++++++ 2 files changed, 11 insertions(+) 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 */ -- 2.30.2