]> git.ipfire.org Git - thirdparty/man-pages.git/commit
dlopen.3: Clarify when an executable's symbols can be used for symbol resolution
authorMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 3 Jul 2019 08:06:36 +0000 (10:06 +0200)
committerMichael Kerrisk <mtk.manpages@gmail.com>
Wed, 3 Jul 2019 08:06:36 +0000 (10:06 +0200)
commit58a4ac49d4dbbc295da77807bfaf261642610634
tree1705be3c67612f366f62a67011de2d255588c947
parent43898de48866c677269c8c1821e2ceb35bc865f6
dlopen.3: Clarify when an executable's symbols can be used for symbol resolution

The --export-dynamic linker option is not the only way that main's
global symbols may end up in the dynamic symbol table and thus be
used to satisfy symbol reference in a shared object. A symbol
may also be placed into the dynamic symbol table if ld(1)
notices a dependency in another object during the static link.

Verified by experiment; see previous commit.

Signed-off-by: Michael Kerrisk <mtk.manpages@gmail.com>
man3/dlopen.3