From e0f6ea40b1ea2ff5617001e685010d90b4bf31e5 Mon Sep 17 00:00:00 2001 From: Hans-Peter Nilsson Date: Tue, 3 Jan 2006 05:56:15 +0000 Subject: [PATCH] PR gas/2101 * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as a local-label reference. --- gas/ChangeLog | 6 ++++++ gas/config/tc-mmix.c | 4 +++- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index 444848668c6..1fd2f9ea6d1 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2006-01-03 Hans-Peter Nilsson + + PR gas/2101 + * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as + a local-label reference. + 2005-12-30 Sterling Augustine Bob Wilson diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index b169692d810..c1a8d536b18 100644 --- a/gas/config/tc-mmix.c +++ b/gas/config/tc-mmix.c @@ -3077,7 +3077,9 @@ mmix_handle_mmixal (void) { if ((s[1] != 'B' && s[1] != 'F') || is_part_of_name (s[-1]) - || is_part_of_name (s[2])) + || is_part_of_name (s[2]) + /* Don't treat e.g. #1F as a local-label reference. */ + || (s != input_line_pointer && s[-1] == '#')) s++; else { -- 2.30.2