diff options
author | Hans-Peter Nilsson <hp@axis.com> | 2006-01-03 05:56:15 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@axis.com> | 2006-01-03 05:56:15 +0000 |
commit | e0f6ea40b1ea2ff5617001e685010d90b4bf31e5 (patch) | |
tree | 6ee8716eeeb22a04dc6caeaa456a3c234946d7a4 /gas/config/tc-mmix.c | |
parent | 834b26f4b7b403acb2ccadca524e7ec653bdb015 (diff) | |
download | gdb-e0f6ea40b1ea2ff5617001e685010d90b4bf31e5.zip gdb-e0f6ea40b1ea2ff5617001e685010d90b4bf31e5.tar.gz gdb-e0f6ea40b1ea2ff5617001e685010d90b4bf31e5.tar.bz2 |
PR gas/2101
* config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
a local-label reference.
Diffstat (limited to 'gas/config/tc-mmix.c')
-rw-r--r-- | gas/config/tc-mmix.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/gas/config/tc-mmix.c b/gas/config/tc-mmix.c index b169692..c1a8d53 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 { |