aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/expr.c6
2 files changed, 11 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index cd13e01..994854e 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,8 @@
+2000-06-23 Frank Ch. Eigler <fche@redhat.com>
+
+ * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
+ is defined.
+
2000-06-23 matthew green <mrg@redhat.com>
* expr.c (operand): Do not as_bad() if RELAX_PAREN_GROUPING is
diff --git a/gas/expr.c b/gas/expr.c
index d082469..fe2aa62 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 */