From mboxrd@z Thu Jan 1 00:00:00 1970 From: Yves Rutschle To: 'Jens-Christian Lache' , "'crossgcc@sources.redhat.com'" Subject: RE: gcc compile Date: Sun, 01 Apr 2001 00:00:00 -0000 Message-ID: X-SW-Source: 2001-q1/msg00202.html Message-ID: <20010401000000.VXmdnB-wg7H7YCg5jDcy64y4JombpqONBcwMengP6_I@z> > Even at the beginning of "start" the cpsr is equal to 0x10; > > I have added a mode switch to user mode to crt0.S > and will install the proposed swi handler. Aha, good one, I didn't think about that. An ARM core starts up in SVC (otherwise you can't setup anything). So you need to switch to usermode indeed. Probably your hardware initialisation was setting user mode without your knowing, whereas the simulator only does what you tell it to do. Cheers, Y. ------ Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/ Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com