* $literal support
authorFrank Ch. Eigler <fche@redhat.com>
Fri, 23 Jun 2000 10:51:28 +0000 (10:51 +0000)
committerFrank Ch. Eigler <fche@redhat.com>
Fri, 23 Jun 2000 10:51:28 +0000 (10:51 +0000)
2000-06-23  Frank Ch. Eigler  <fche@redhat.com>

* expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX
is defined.

gas/ChangeLog
gas/expr.c

index cd13e01753c4335af6580bd954c14efb85c6ea39..994854e05424942b1e00115dfb156ebdf194066e 100644 (file)
@@ -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
index d082469610b179f4869e8b40e4d9e5a214fce13d..fe2aa6204e1f8bedd6cea489b551068bbf37ea8b 100644 (file)
@@ -820,6 +820,12 @@ operand (expressionP)
                         expressionP);
       break;
 
+#ifdef LITERAL_PREFIXDOLLAR_HEX
+    case '$':
+      integer_constant (16, expressionP);
+      break;
+#endif
+
     case '0':
       /* non-decimal radix */