PR gas/2101
authorHans-Peter Nilsson <hp@axis.com>
Tue, 3 Jan 2006 05:56:15 +0000 (05:56 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Tue, 3 Jan 2006 05:56:15 +0000 (05:56 +0000)
* config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
a local-label reference.

gas/ChangeLog
gas/config/tc-mmix.c

index 444848668c63441cbb53206e24916aa9ec40a13d..1fd2f9ea6d15b5da17ce750b24f0ac0857435f9a 100644 (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>
 
index b169692d8101717f73619e3d589fe3f435b1b852..c1a8d536b18c476bc43f4cc18f43354ba3dfc42f 100644 (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
            {
This page took 0.029947 seconds and 4 git commands to generate.