[parisc-linux] second sr0 patch

LaMont Jones lamont@hp.com
Sun, 23 Feb 2003 15:20:35 -0700 (MST)


In article <20030223204842.E2938@parcelfarce.linux.theplanet.co.uk> you wrote:

> --- gas/config/tc-hppa.c	23 Jan 2003 12:51:04 -0000	1.102
> +++ gas/config/tc-hppa.c	23 Feb 2003 19:21:09 -0000
> @@ -1794,7 +1794,7 @@ pa_ip (str)
>  	      if (!pa_parse_number (&s, 0))
>  		break;
>  	      num = pa_number;
> -	      CHECK_FIELD (num, 3, 0, 1);
> +	      CHECK_FIELD (num, 3, 1, 1);
>  	      INSERT_FIELD_AND_CONTINUE (opcode, num, 14);
>  
>  	    /* Handle a 3 bit space identifier at 18.  */

I don't think this is a good plan.  Emit a warning, sure, but there is
a large collection of legacy PARISC assembly code out there that has
this perfectly legal, and hp-ux assembler-accepted-from-day-0 construct.

lamont