Patches for the merged arm-thumb branch

Scott Bambrough scottb@netwinder.org
Wed Feb 9 10:13:00 GMT 2000


Philip Blundell wrote:
> 
> In message < 38A190EB.288DE808@netwinder.org >, Scott Bambrough writes:
> >Fri Jul 16 10:29:48 1999  Philip Blundell  <pb@futuretv.com>
> >
> >        * config/arm/arm.c (legitimize_pic_address): Handle LABEL_REF
> >        correctly.
> >
> >        * config/arm/arm.h (LEGITIMATE_CONSTANT_P): Allow anything when
> >        generating PIC.
> >        (GO_IF_LEGITIMATE_INDEX): Fix handling of HImode values.
> >        (LEGITIMATE_PIC_OPERAND): Disallow references to labels.
> 
> Thanks for looking into these.
> 
> I had a vague feeling that the GO_IF_LEGITIMATE_INDEX patch wasn't necessary
> any more, though I can't actually find any evidence of that right now.  Do you
> have a testcase that fails without it?

No.  I'm not even sure why it was put in.  I don't remember being involved in
this particular instance.  Sorry.
 
> I think the others are still necessary but I'd like to get feedback from Nick
> or Richard before installing them.

Fair enough.  I told you in December I would try and devote time to cleaning
these up.  The issues in the two emails I sent this morning are the only
stumbling blocks I see to having an complete ARM ELF compiler for Linux that
builds from the source tree without patches.  I'll continue to devote time to
this, as I can, until we reach that goal.  Comments, hints, and suggestions are
welcome though.  I'm also close to having libgcj compile to completion, which
would make the java compiler useful on the ARM.  That's a little further off
though.

Scott

-- 
Scott Bambrough - Software Engineer
REBEL.COM    http://www.rebel.com
NetWinder    http://www.netwinder.org


More information about the Gcc-patches mailing list