tech-toolchain archive

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

Re: "Fixing" new ld(1) DT_NEEDED handling



On Sun, Oct 13, 2013 at 02:54:15PM +0100, David Laight wrote:
 > Nope: Solaris is using the 'traditional' behaviour where a program can
 > reference symbols in dependant libraries but only ends up with a
 > single DT_NEEDED entry.
 > IIRC this the way the dynamic linkey works (even on Linux).
 > 
 > The gnu_ld have f*cked this up completely.

Given the proclivities of the dynamic linker, it's very dangerous for
the dynamic linker and the static linker to use different name
resolution rules and/or different scoping.

It should be possible to make the dynamic linker match the new static
linkage rules; however, this is likely to break old binaries...

-- 
David A. Holland
dholland%netbsd.org@localhost


Home | Main Index | Thread Index | Old Index