__libc_subinit

Roland McGrath roland@frob.com
Sat Feb 23 17:51:00 GMT 2002


> I've just removed the handling of __libc_subinit completely from the
> Linux setup.  It really was only an expensive way to call a single
> function.  This is now done directly instead.

It's not that expensive.  And it was a way to call either zero or one
functions for static linking (i.e. if you didn't use __progname, zero).
But I am not going to argue.

How about you just rename __init_misc to __libc_init instead of diddling
every init-first.c file (and you missed some)?

> One, the stdio initialization, will eventually go away.  

Indeed it will.

> This leave the use in times.c.

I don't mind changing that one.



More information about the Libc-hacker mailing list