summaryrefslogtreecommitdiff
path: root/gas/expr.c
diff options
context:
space:
mode:
Diffstat (limited to 'gas/expr.c')
-rw-r--r--gas/expr.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/expr.c b/gas/expr.c
index 6d98a3456a..4258868f81 100644
--- a/gas/expr.c
+++ b/gas/expr.c
@@ -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