From c68012fb328c6cace0319750ceffcb5fe3ebbd77 Mon Sep 17 00:00:00 2001 From: Jeff Johnston Date: Tue, 14 Aug 2001 20:00:32 +0000 Subject: [PATCH] 2001-08-14 Jeff Johnston * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as a label, not a hex constant. This patch was approved by Nick Clifton. --- gas/ChangeLog | 5 +++++ gas/expr.c | 3 +++ 2 files changed, 8 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index b8e88f8251b..3bf9a6f0f9c 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2001-08-14 Jeff Johnston + + * expr.c (operand)[LITERAL_PREFIXDOLLAR_HEX]: Treat $L as + a label, not a hex constant. + 2001-08-13 Nick Clifton * config/tc-v850.h: Add missing prototypes. diff --git a/gas/expr.c b/gas/expr.c index 6d98a3456ac..4258868f81c 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 -- 2.30.2