2001-08-14 Jeff Johnston <jjohnstn@redhat.com>
authorJeff Johnston <jjohnstn@redhat.com>
Tue, 14 Aug 2001 20:00:32 +0000 (20:00 +0000)
committerJeff Johnston <jjohnstn@redhat.com>
Tue, 14 Aug 2001 20:00:32 +0000 (20:00 +0000)
        * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
        a label, not a hex constant.

This patch was approved by Nick Clifton.

gas/ChangeLog
gas/expr.c

index b8e88f8251ba3ec0d9b5635edd23c0e664195ece..3bf9a6f0f9caaf0b187e8dc68630283283e9ab1b 100644 (file)
@@ -1,3 +1,8 @@
+2001-08-14  Jeff Johnston  <jjohnstn@redhat.com>
+
+        * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as
+        a label, not a hex constant.
+
 2001-08-13  Nick Clifton  <nickc@cambridge.redhat.com>
 
        * config/tc-v850.h: Add missing prototypes.
index 6d98a3456acc428c7f89f485ea41f6df25142e3d..4258868f81c1f23628f844b1c253650e9582b758 100644 (file)
@@ -811,6 +811,9 @@ operand (expressionP)
 
 #ifdef LITERAL_PREFIXDOLLAR_HEX
     case '$':
+      /* $L is the start of a local label, not a hex constant.  */
+      if (* input_line_pointer == 'L')
+      goto isname;
       integer_constant (16, expressionP);
       break;
 #endif
This page took 0.030345 seconds and 4 git commands to generate.