diff options
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index 4511868..ba73f42 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -994,8 +994,9 @@ This option affects ELF DT_NEEDED tags for dynamic libraries mentioned on the command line after the @option{--as-needed} option. Normally, the linker will add a DT_NEEDED tag for each dynamic library mentioned on the command line, regardless of whether the library is actually -needed. @option{--as-needed} causes DT_NEEDED tags to only be emitted -for libraries that satisfy some reference from regular objects. +needed. @option{--as-needed} causes DT_NEEDED tags to only be emitted +for libraries that satisfy some symbol reference from regular objects +which is undefined at the point that the library was linked. @option{--no-as-needed} restores the default behaviour. @kindex --add-needed |