tech-userlevel archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

Re: __strong_alias



Joerg Sonnenberger <joerg%britannica.bec.de@localhost> wrote:

> Your test case makes sure that foo() is resolved the first time it is
> called. Effectively, you have disabled RTLD_LAZY that way.

Even if I do not call foo() before dlopen, main_foo() is called after
dlopen().

And if I link with -ltest I would expect libtest_foo() to override
main_foo() at link time, but it does not.

-- 
Emmanuel Dreyfus
http://hcpnet.free.fr/pubz
manu%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index