aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@redhat.com>2000-06-23 10:51:28 +0000
committerFrank Ch. Eigler <fche@redhat.com>2000-06-23 10:51:28 +0000
commited6d6fd3c4a370d8e315cfe55a9971042e8917c9 (patch)
treeb462b337107e3d28b3a30f68af3521de241e95bf
parentf7c8887211f063c41e16da38a881b9bf6203f300 (diff)
downloadfsf-binutils-gdb-ed6d6fd3c4a370d8e315cfe55a9971042e8917c9.zip
fsf-binutils-gdb-ed6d6fd3c4a370d8e315cfe55a9971042e8917c9.tar.gz
fsf-binutils-gdb-ed6d6fd3c4a370d8e315cfe55a9971042e8917c9.tar.bz2
* $literal support
2000-06-23 Frank Ch. Eigler <fche@redhat.com> * expr.c (operand): Permit $hex literals if LITERAL_PREFIXDOLLAR_HEX is defined.
-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 */