From 0a68f500fad520bd9e947259f71f0704362cde51 Mon Sep 17 00:00:00 2001 From: sobomax Date: Mon, 4 Feb 2002 10:33:48 +0000 Subject: Allow ldd(1) be used on shared libraries in addition to executables. --- lib/libc/gen/dlopen.3 | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'lib/libc') diff --git a/lib/libc/gen/dlopen.3 b/lib/libc/gen/dlopen.3 index 45f1d96..50b0599 100644 --- a/lib/libc/gen/dlopen.3 +++ b/lib/libc/gen/dlopen.3 @@ -123,6 +123,13 @@ Symbols in this shared object and its DAG of needed objects will be available for resolving undefined references only from other objects in the same DAG. This is the default, but it may be specified explicitly with this flag. +.It Dv RTLD_TRACE +When set, causes dynamic linker to exit after loading all objects +needed by this shared object and printing a summary which includes +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. .El .Pp If -- cgit v1.1