|
From: Tom H. <to...@co...> - 2005-11-11 10:59:10
|
In message <200...@ac...>
Julian Seward <js...@ac...> wrote:
>> we don't need libc. so don't link it
>
> This is for the preload libraries, right? Not the main executable
> (libc for that disappeared some time back).
>
> Are you 100% sure of this -- for example, that there will be no
> bad interaction the preloads needing gcc helper functions like __udivdi3 ?
> I guess those come from libgcc and not glibc.
Well strictly speaking vgpreload_core.so does need glibc as it's whole
purpose in life is to find __libc_freeres.
The reason it is still working is that glibc is normally loaded anyway
so the symbol can be resolved. Statically linked programs ignore the
preload anyway, so the only problem would be a dynamically linked
program that didn't link with glibc or did so statically.
Tom
--
Tom Hughes (to...@co...)
http://www.compton.nu/
|