[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: ARM EABI port: minimum CPU choice

On Mon, 2006-06-12 at 14:16 +0100, Paul Brook wrote:
> > Martin pointed me to the AemEabiPort wiki page that suggests that the
> > function return is "tst lr, #1; moveq pc, lr; bx lr" and this would
> > work on ARMv4t as well.
> >
> > However, if the reason for this is to work on StrongARM (which doesn't
> > support Thumb, AFAIK) you could ban the Thumb use on ARMv4(t) and a
> > standard LDM or MOV PC, LR would return to Thumb code correctly on
> > ARMv5t. Debian would be built in ARM mode anyway and Thumb
> > interworking would only work correctly one ARMv5t (and later) cores.
> Are you sure? I was under the impression that "mov pc, lr" was only 
> interworking safe on Armv7.

You are right, but the "ldm" method is supported in ARMv5 and it could
be used.


Reply to: