This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]