This is the mail archive of the
libc-alpha@sourceware.cygnus.com
mailing list for the glibc project.
Re: Problem with __malloc_hooks :-(
Hello,
> Not surprising at all. The only thing that could call it is a .so
> initialiser or the glibc initialization code, and why should they?
>
> [ld.so must not call the glibc malloc() before crt0 has run,
> so it would have to be called after crt0 and before main().]
I may have been dreaming but until recently the earliest malloc()
calls appeared to come from ld.so (on i586-linux).
Regards,
Wolfram.