__libc_ia64_register_backing_store_base

Ulrich Drepper drepper@redhat.com
Wed Aug 29 17:46:00 GMT 2001


Richard Henderson <rth@redhat.com> writes:

> Doesn't LD_PRELOAD init code run first?

No.  The preloaded modules are added right after the executable in the
lookup path and are therefore initialized right before the application
(unless there are explit dependencies telling ld.so otherwise).

> Anyway, the GC library is used like malloc, and so _must_ be usable
> from constructors.  If you say it should defer collection until all
> constructors are run, fine.  The question then is: how should it know
> when all constructors are finished?  I don't know of any answer here.

The application startup code can signal this somehow.  Put something
in crtbegin. 

-- 
---------------.                          ,-.   1325 Chesapeake Terrace
Ulrich Drepper  \    ,-------------------'   \  Sunnyvale, CA 94089 USA
Red Hat          `--' drepper at redhat.com   `------------------------



More information about the Java-patches mailing list