diff options
| -rw-r--r-- | man3/dlopen.3 | 15 |
1 files changed, 11 insertions, 4 deletions
diff --git a/man3/dlopen.3 b/man3/dlopen.3 index 18801ec5da..fefad1f25a 100644 --- a/man3/dlopen.3 +++ b/man3/dlopen.3 @@ -214,10 +214,17 @@ flag; and definitions in the shared object itself (and any dependencies that were loaded for that object). .PP -If the executable was linked with the flag "\-rdynamic" -(or, synonymously, "\-\-export\-dynamic"), -then global symbols in the executable will also be used -to resolve references in a dynamically loaded shared object. +Any global symbols in the executable that were placed into +its dynamic symbol table by +.BR ld (1) +can also be used to resolve references in a dynamically loaded shared object. +Symbols may be placed in the dynamic symbol table +either because the executable was linked with the flag "\-rdynamic" +(or, synonymously, "\-\-export\-dynamic"), which causes all of +the executable's global symbols to be placed in the dynamic symbol table, +or because +.BR ld (1) +noted a dependency on a symbol in another object during static linking. .PP If the same shared object is opened again with .BR dlopen (), |
