freebsd-skq/libexec
jdp 4382ccec34 Revamp the symbol lookup algorithm to cope better with objects
loaded separately by dlopen that have global symbols with identical
names.  Viewing each dlopened object as a DAG which is linked by its
DT_NEEDED entries in the dynamic table, the search order is as
follows:

  * If the referencing object was linked with -Bsymbolic, search it
    internally.
  * Search all dlopened DAGs containing the referencing object.
  * Search all objects loaded at program start up.
  * Search all objects which were dlopened() using the RTLD_GLOBAL
    flag (which is now supported too).

The search terminates as soon as a strong definition is found.
Lacking that, the first weak definition is used.

These rules match those of Solaris, as best I could determine them
from its vague manual pages and the results of experiments I performed.

PR:		misc/12438
1999-08-30 01:48:19 +00:00
..
atrun $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
bootpd Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:10:20 +00:00
comsat $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
fingerd Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:10:20 +00:00
ftpd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getNAME $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
getty $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mail.local $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
makekey $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
mknetid $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
named-xfer $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rbootd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
revnetgroup $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rexecd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rlogind $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rpc.rquotad $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rpc.rstatd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rpc.rusersd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rpc.rwalld $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rpc.sprayd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rshd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rtld-aout $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
rtld-elf Revamp the symbol lookup algorithm to cope better with objects 1999-08-30 01:48:19 +00:00
smrsh Build sendmail-8.9.1 smrsh 1998-08-04 15:31:31 +00:00
talkd Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:10:20 +00:00
telnetd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
tftpd Add $FreeBSD$ lines to man pages that are missing them to make it 1999-08-28 23:10:20 +00:00
uucpd $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
xtend $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
ypxfr $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 00:22:10 +00:00
Makefile.inc BSD 4.4 Lite Libexec Sources 1994-05-27 12:39:25 +00:00