diff options
author | Konstantin Belousov <kib@FreeBSD.org> | 2009-04-01 14:38:20 +0000 |
---|---|---|
committer | Konstantin Belousov <kib@FreeBSD.org> | 2009-04-01 14:38:20 +0000 |
commit | b2e4ce45d958731223ce1d47d197120c0c34df8e (patch) | |
tree | 56e480e79e99cf955457aad7e57d3f0398ec5ff1 /lib/libc | |
parent | 7496ce7d744b766c8f2e32b074bf28923bf39a82 (diff) | |
download | src-b2e4ce45d958731223ce1d47d197120c0c34df8e.tar.gz src-b2e4ce45d958731223ce1d47d197120c0c34df8e.zip |
Document RTLD_NODELETE, -z nodelete and -z origin support.
Notes
Notes:
svn path=/head/; revision=190624
Diffstat (limited to 'lib/libc')
-rw-r--r-- | lib/libc/gen/dlopen.3 | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 118e165ba433..187f817a4ab5 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -32,7 +32,7 @@ .\" @(#) dlopen.3 1.6 90/01/31 SMI .\" $FreeBSD$ .\" -.Dd September 10, 2002 +.Dd April 1, 2009 .Os .Dt DLOPEN 3 .Sh NAME @@ -123,7 +123,7 @@ call to One of the following flags may be ORed into the .Fa mode argument: -.Bl -tag -width RTLD_GLOBALX +.Bl -tag -width RTLD_NODELETE .It Dv RTLD_GLOBAL Symbols from this shared object and its directed acyclic graph (DAG) of needed objects will be available for resolving undefined references @@ -141,6 +141,13 @@ the absolute pathnames of all objects, to standard output. With this flag .Fn dlopen will return to the caller only in the case of error. +.It Dv RTLD_NODELETE +Prevents unload of the loaded object on +.Fn dlclose . +The same behaviour may be requested by +.Fl "z nodelete" +option of the static linker +.Xr ld 1 . .El .Pp If |