[klibc] [PATCH] update crt0.S on ppc32
H. Peter Anvin
hpa at zytor.com
Sat Nov 29 17:08:36 PST 2003
Olaf Hering wrote:
> The _start stuff was changed some time ago, but ppc was not updated.
> This fixes klibc for me. I'm not sure what to do with the second arg to
> __libc_init, so I set it to 0..
You need to look at the psABI for the target platform (I don't have the
one for PPC) to find out how to get the onexit pointer. However, it's
not a huge deal, as I believe Linux always makes it zero. You want to
at least put in a comment to that effect, though.
More information about the klibc