[gnu.utils.bug] bug in GAS

taylor@THINK.COM (05/22/89)

For the exts/inss instructions, the size of the bit field is allowed to
be from 1 to 32 bits long.  But, gas only allows the bit field to be
from 1 to 31 bits long.

The fix is easy.  Here it is.

RCS file: RCS/ns32k.c,v
retrieving revision 1.4
diff -c -r1.4 ns32k.c
*** /tmp/,RCSt1a15610	Mon May 22 02:38:30 1989
--- ns32k.c	Sat May 20 01:00:34 1989
***************
*** 847,853 ****
        IIF(11,2,42,
  	  (unsigned long)argv[i], /* i always 3 here */
  	  0,0,0,0,0,
! 	  bit_fix_new(5,0,1,31,-1,0,-1),-1,0);
        break;
      case 'i':
        iif.instr_size+=1;
--- 847,853 ----
        IIF(11,2,42,
  	  (unsigned long)argv[i], /* i always 3 here */
  	  0,0,0,0,0,
! 	  bit_fix_new(5,0,1,32,-1,0,-1),-1,0);
        break;
      case 'i':
        iif.instr_size+=1;

David
--
David Taylor
taylor@think.com, ...!think!taylor