PATCH: Add access restriction check for application registers (was Re: Is this a gas bug?)

Jie Zhang jiez@citiz.net
Thu May 27 14:57:00 GMT 2004


On Thu, 2004-05-27 at 02:28, H. J. Lu wrote:
> 
> The patch is not corrrect. I am testing this patch now.
> 

Yes, I agree. But then why not define ar_is_in_integer_unit (int reg) as
following now: 

static int
ar_is_in_integer_unit (int reg)
{
  reg -= REG_AR;
  return reg >= 48 && reg <= 127;
}


Jie



More information about the Binutils mailing list