crt1.S start code

Mike Frysinger vapier at gentoo.org
Fri Dec 23 21:12:25 UTC 2005


On Fri, Dec 23, 2005 at 03:53:15PM -0500, Lei Sun wrote:
> /* clear the frame pointer and link registers */
>     mov fp, #0
>     mov lr, #0
>     /* pop argc off the stack and save a pointer to argv */
>     ldr a2, [sp], #4
>     mov a3, sp

this code is the same as in glibc and it's worked thus far, so i think
it's safe to assume the current code is correct
-mike



More information about the uClibc mailing list