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

From: Ulrich Drepper (drepper@cygnus.com)
Date: Mon Jan 10 2000 - 18:41:31 EST


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

> I created an internal entry point that doesn't use malloc, which is safe
> because we're executing before any user code does so we know we have room
> in the static atexit table.

That's not true. Global constructors unfortunately exist and it is
allowed (and through C++ code will happen very frequently) to call
atexit etc.

There is a problem with all these constructors and until we have
priorities in constructors (or at least the preinit support) there
will always be problems popping up.

-- 
---------------.      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