This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC 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] Fix bootstrap on ARM v3


On Sun, 2007-05-20 at 12:16 +0100, Paul Brook wrote:
> We don't support ARMv1, so that's not a concern. I've a feeling ARMv2 may be 
> effectively unsupported now we've removed support for 26-bit mode, but that's 
> a separate issue.

It's possible to run apcs-32 code on ARMv2 chips, provided you avoid the
missing instructions (substantially, that means no MSR/MRS instructions)
and watch out for the odd case where the PSR bits leak into the PC
value.  The only case where the compiler really cares is handled in the
return_addr_mask pattern.

R.

There's a port of NetBSD (to acorn-26) that relies on this support.


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