PR gas/2101

* config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
	a local-label reference.
This commit is contained in:
Hans-Peter Nilsson 2006-01-03 05:56:15 +00:00
parent 834b26f4b7
commit e0f6ea40b1
2 changed files with 9 additions and 1 deletions

View File

@ -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>

View File

@ -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
{