aboutsummaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
authorJohn Darrington <john@darrington.wattle.id.au>2019-05-21 07:30:05 +0200
committerJohn Darrington <john@darrington.wattle.id.au>2019-05-21 07:30:05 +0200
commitda0523c66604dc11b8787d3e0123ea80a2503f14 (patch)
treea30c9d74f2ffda5c654301f8420d67f10d2184e8 /gas/expr.c
parent302d65e0b264df2db2f42a2ef51fb9d69f3225de (diff)
downloadgdb-da0523c66604dc11b8787d3e0123ea80a2503f14.zip
gdb-da0523c66604dc11b8787d3e0123ea80a2503f14.tar.gz
gdb-da0523c66604dc11b8787d3e0123ea80a2503f14.tar.bz2
Revert "GAS: Replace macro LITERAL_PREFIXDOLLAR_HEX with a runtime value."
This reverts commit cffc205c9eaacfa312323807cd60b9d3d1c26894.
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c19
1 files changed, 6 insertions, 13 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 0fab955..3efde88 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -35,8 +35,6 @@
#define CHAR_BIT 8
#endif
-bfd_boolean literal_prefix_dollar_hex = FALSE;
-
static void floating_constant (expressionS * expressionP);
static valueT generic_bignum_to_int32 (void);
#ifdef BFD64
@@ -780,19 +778,14 @@ operand (expressionS *expressionP, enum expr_mode mode)
expressionP);
break;
+#ifdef LITERAL_PREFIXDOLLAR_HEX
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;
- }
+ /* $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
#ifdef LITERAL_PREFIXPERCENT_BIN
case '%':