diff options
Diffstat (limited to 'ld/ld.texinfo')
-rw-r--r-- | ld/ld.texinfo | 17 |
1 files changed, 15 insertions, 2 deletions
diff --git a/ld/ld.texinfo b/ld/ld.texinfo index ea21283..283ee08 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -487,9 +487,9 @@ back to the symbols defined by the program, rather than some other dynamic object, then you will probably need to use this option when linking the program itself. -You can also use the version script to control what symbols should +You can also use the dynamic list to control what symbols should be added to the dynamic symbol table if the output format supports it. -See the description of @samp{--version-script} in @ref{VERSION}. +See the description of @samp{--dynamic-list}. @ifclear SingleFormat @cindex big-endian objects @@ -1130,6 +1130,19 @@ for a program linked against a shared library to override the definition within the shared library. This option is only meaningful on ELF platforms which support shared libraries. +@kindex --dynamic-list=@var{dynamic-list-file} +@item --dynamic-list=@var{dynamic-list-file} +Specify the name of a dynamic list file to the linker. This is +typically used when creating shared libraries to specify a list of +global symbols whose references shouldn't be bound to the definition +within the shared library, or creating dynamically linked executables +to specify a list of symbols which should be added to the symbol table +in the executable. This option is only meaningful on ELF platforms +which support shared libraries. + +The format of the dynamic list is the same as the version node without +scope and node name. See @ref{VERSION} for more information. + @kindex --check-sections @kindex --no-check-sections @item --check-sections |