This is the mail archive of the
libc-alpha@sources.redhat.com
mailing list for the glibc project.
Re: PPC startup code
On Sat, Mar 15, 2003 at 10:23:36PM +1100, Paul Mackerras wrote:
> Roland McGrath writes:
>
> > In fact, I don't mind doing all this cleanup in libc-start.c myself.
> > Someone just has to decide about whether start.S and the calling sequence
> > ought to change or stay the same. I vote for changing it to match every
> > other platform. But I don't speak for powerpc users.
>
> Given that the calling sequence is in fact defined in the ABI spec, I
> think we probably shouldn't change it without a really good reason.
> It would be good to use the generic __libc_start_main code, though,
> by having the PPC __libc_start_main be a small shim that calls the
> generic one (presumably renamed to __generic_libc_start_main or
> something). But I guess it is ultimately up to Franz to decide.
And given that the real __libc_start_main can be defined
in ppc's libc-start.c which can include sysdeps/generic/libc-start.c,
it can be even inlined.
Jakub