summaryrefslogtreecommitdiff
path: root/gnu/usr.bin/ld/shlib.c
AgeCommit message (Collapse)Author
2000-01-16Kill XXX code which is bogus and unused anyway (no call with dodotpath==1Marc Espie
and major !=-1 anywhere). Simplify test logic: it's enough to check path != NULL to know whether we found something. cmpdewey() code is enough to ensure we get the best one (libfoo.a doesn't change n, any appropriate libfoo.so will take precedence).
2000-01-16Bug-fix: skipping inappropriate versions is independent of whetherMarc Espie
we found something correct or not.
2000-01-02revert back 1.4->1.5.assar
ld (and ld.so) should take the shared library of the highest version in the first directory that it founds. this is the way ld/ld.so has traditionally worked since SunOS 4 and this is the way it should work. before changing this back - please make sure you understand the semantics of this and that you are not just hiding some other bug but toggling this change. also verify the example in the PR. see PR/972
1999-02-20fix library search problem; the linker would stop searchingMarco S Hyman
for shared libs when the first was found... thus it would miss a newer version found later in the search path
1998-05-11Make usable as a cross-linkerNiklas Hallqvist
1998-04-26If a good matching shared library is found, don't look in the nextTheo de Raadt
directories. This is compatible with the SunOS behaviour. Also, it fixes a problem where it was not possible for some 3rd party package to have a library with the same name as a library already in the system, and a lower version number. The highest version would always be picked. This particular problem shows up with Mozilla, which has a libutil.so.1.0; fvdl
1998-03-26RCS id cleanupNiklas Hallqvist
1995-10-18initial import of NetBSD treeTheo de Raadt