[uClibc]Re: Found the problem
Erik Andersen
andersen at codepoet.org
Fri Nov 15 00:49:36 UTC 2002
On Thu Nov 14, 2002 at 04:05:36PM -0800, David Meggy wrote:
> This patch fixes it
>
>
> diff -urN uClibc-0.9.16-orig/libc/sysdeps/linux/arm/crt0.S
> uClibc-0.9.16/libc/sysdeps/linux/arm/crt0.S
> --- uClibc-0.9.16-orig/libc/sysdeps/linux/arm/crt0.S Mon Sep 30 22:30:10
> 2002
> +++ uClibc-0.9.16/libc/sysdeps/linux/arm/crt0.S Thu Nov 14 16:03:05 2002
> @@ -84,9 +84,8 @@
> ldr r3, =_init
>
> /* Push _fini onto the stack as the final argument to main() */
> - stmfd sp!, {r0}
> - ldr a1, =_fini
> - stmfd sp!, {r0}
> + ldr r4, =_fini
> + stmfd sp!, {r4}
Doh! My fault -- I don't know what I was thinking. Thanks!
-Erik
--
Erik B. Andersen http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--
More information about the uClibc
mailing list