Re: Stuff dragged in by crt1 (was Re: Announce: initrd-tftp 0.1)

From: Ulrich Drepper (drepper@cygnus.com)
Date: Mon Jan 10 2000 - 23:00:11 EST


Zack Weinberg <zack@wolery.cumb.org> writes:

> The constructors you are worried about are all executed by (*init)().
> We control the code executed by __libc_init_first, and in the current source
> base none of it calls atexit. Therefore, we can be absolutely certain that
> the above __internal_atexit calls are safe.

That's not true for shared objects. The constructors of the shared
objects involved are called before __libc_start_main is reached.

-- 
---------------.      drepper at gnu.org  ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Cygnus Solutions `--' drepper at cygnus.com   `------------------------

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sat Jan 15 2000 - 21:00:17 EST