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 | |
parent | 834b26f4b7b403acb2ccadca524e7ec653bdb015 (diff) | |
download | fsf-binutils-gdb-e0f6ea40b1ea2ff5617001e685010d90b4bf31e5.zip fsf-binutils-gdb-e0f6ea40b1ea2ff5617001e685010d90b4bf31e5.tar.gz fsf-binutils-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')
-rw-r--r-- | gas/ChangeLog | 6 | ||||
-rw-r--r-- | gas/config/tc-mmix.c | 4 |
2 files changed, 9 insertions, 1 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog index 4448486..1fd2f9e 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,9 @@ +2006-01-03 Hans-Peter Nilsson <hp@bitrange.com> + + 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 <sterling@tensilica.com> Bob Wilson <bob.wilson@acm.org> 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 { |