Don't understand startup code in ARM bFLT environment
Joakim Tjernlund
joakim.tjernlund at transmode.se
Wed Aug 20 12:41:53 UTC 2008
On Wed, 2008-08-20 at 04:54 -0700, tike64 wrote:
> > From: Joakim Tjernlund
> > On Wed, 2008-08-20 at 03:07 -0700, tike64 wrote:
> > > There is still something I can't get right in my head. By only looking at the
> > > codes I would be sure that staticly linked program in full ARM-with-MMU system
> > > would crash in the same way. Yet with gdb I see that in that case the r0 is zero
> > > at the start of the _start. Who is clearing it?
> >
> > Linux clears it before staring the app.
>
> Ok, but where?
Somewhere in the kernel where the exec() system call is performed.
More information about the uClibc
mailing list