gdb: add target_ops::supports_displaced_step
[deliverable/binutils-gdb.git] / gas / expr.c
index 0fab9556c70ebe36766d4e34de73bbf413475ff6..6f8ccb823031f737e0472ff1f674e19c7d763855 100644 (file)
@@ -1,5 +1,5 @@
 /* expr.c -operands, expressions-
-   Copyright (C) 1987-2019 Free Software Foundation, Inc.
+   Copyright (C) 1987-2020 Free Software Foundation, Inc.
 
    This file is part of GAS, the GNU Assembler.
 
@@ -780,20 +780,6 @@ operand (expressionS *expressionP, enum expr_mode mode)
                        expressionP);
       break;
 
-    case '$':
-      if (literal_prefix_dollar_hex)
-        {
-          /* $L is the start of a local label, not a hex constant.  */
-          if (* input_line_pointer == 'L')
-            goto isname;
-          integer_constant (16, expressionP);
-        }
-      else
-        {
-          goto isname;
-        }
-      break;
-
 #ifdef LITERAL_PREFIXPERCENT_BIN
     case '%':
       integer_constant (2, expressionP);
@@ -1121,7 +1107,21 @@ operand (expressionS *expressionP, enum expr_mode mode)
       }
       break;
 
-#if defined (DOLLAR_DOT) || defined (TC_M68K)
+#if !defined (DOLLAR_DOT) && !defined (TC_M68K)
+    case '$':
+      if (literal_prefix_dollar_hex)
+       {
+         /* $L is the start of a local label, not a hex constant.  */
+         if (* input_line_pointer == 'L')
+               goto isname;
+         integer_constant (16, expressionP);
+       }
+      else
+       {
+         goto isname;
+       }
+      break;
+#else
     case '$':
       /* '$' is the program counter when in MRI mode, or when
         DOLLAR_DOT is defined.  */
This page took 0.026008 seconds and 4 git commands to generate.