On Mon, Nov 28, 2005 at 04:10:55PM +0100, Lubos Lunak wrote:
>  Which means that in such case there's no reason to have those symbols weak, 
> and having them weak means that the symbol lookup in ld.so for them will be 
> more expensive (because it has to search all libraries for a non-weak symbol 
> only to find out there's obviously no such thing).

That's not right.  At least glibc's ld.so has not done this by default
in years; only if you export LD_DYNAMIC_WEAK=1.  Weak defs are treated
exactly the same as strong defs during dynamic lookup, by default.

-- 
Daniel Jacobowitz
CodeSourcery, LLC

Reply via email to