[uClinux-dev] arm thumb userspace programs

Thierry Durand tdurand at atmel.fr
Mon Nov 12 09:17:15 EST 2001


gerg a écrit :
> 
> Hi Adrian,
> 
> Adrian von Bidder wrote:
> > When I build userspace programs in arm thumb: what is the best place to
> > switch from arm to thumb space?
> >
> >  - the init code in _start or
> >  - the loader (we're using FLAT binaries)?
> >
> > The first would not require thumb binaries to be flagged specially, so
> > I'd guess it's much easier.
> 
> I would suggest the crt0.S code for the app is better (in _start
> in otehr words). Not having to have special support is the loader
> seems much cleaner to me.
> 
> Regards
> Greg
> 
> ------------------------------------------------------------------------
> Greg Ungerer  --  Chief Software Wizard        EMAIL:  gerg at snapgear.com
> Snapgear                                       PHONE:    +61 7 3279 1822
> 825 Stanley St,                                  FAX:    +61 7 3279 1820
> Woolloogabba, QLD, 4102, Australia               WEB:   www.snapgear.com
> This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/

I agree with Greg.
-- 
Thierry Durand
Smart Phones & Internet Appliances
Application Group Manager
Atmel
This message resent by the uclinux-dev at uclinux.org list server http://www.uClinux.org/



More information about the uClinux-dev mailing list