[PATCH] sh: Fix args for __uClibc_main() in crt1.S

Paul Mundt lethal at linux-sh.org
Tue Aug 12 03:21:14 UTC 2008


On Fri, Aug 08, 2008 at 10:04:27AM +0900, Takashi Yoshii wrote:
> >This still requires the kernel zeroing the r4 value before handing
> >control over as per your FLAT_PLAT_INIT() patch, correct?
> Yes. I think kernel should set(clear) r4 for static object(ELF and FLT).
> For shared one(currently ELF), dl-start.h(uClibc)/dl-machine.h(glibc) set 
> r4.
> # Perhaps the real answer depends on what FLAT's ABI says. But, so far, yes.

Ok, I'll roll that in to my -rc3 updates then, thanks for the
confirmation.



More information about the uClibc mailing list