X-Git-Url: http://drtracing.org/?a=blobdiff_plain;f=ld%2Fld.texi;h=bf474d4c62b04f7d1de3016f6dec8b1f8ca0cfac;hb=37a141bfed4dd3c33d77c15dfde00e4b4f5b24c7;hp=52342523ed3372bf2c9bb5aec9db443eb99c870b;hpb=198204a7f0255c0e25dcda6b7d6a72e666d689c1;p=deliverable%2Fbinutils-gdb.git diff --git a/ld/ld.texi b/ld/ld.texi index 52342523ed..bf474d4c62 100644 --- a/ld/ld.texi +++ b/ld/ld.texi @@ -569,6 +569,24 @@ Note that this option is specific to ELF targeted ports. PE targets support a similar function to export all symbols from a DLL or EXE; see the description of @samp{--export-all-symbols} below. +@kindex --export-dynamic-symbol=@var{glob} +@cindex export dynamic symbol +@item --export-dynamic-symbol=@var{glob} +When creating a dynamically linked executable, symbols matching +@var{glob} will be added to the dynamic symbol table. When creating a +shared library, references to symbols matching @var{glob} will not be +bound to the definitions within the shared library. This option is a +no-op when creating a shared library and @samp{-Bsymbolic} or +@samp{--dynamic-list} are not specified. This option is only meaningful +on ELF platforms which support shared libraries. + +@kindex --export-dynamic-symbol-list=@var{file} +@cindex export dynamic symbol list +@item --export-dynamic-symbol-list=@var{file} +Specify a @samp{--export-dynamic-symbol} for each pattern in the file. +The format of the file is the same as the version node without +scope and node name. See @ref{VERSION} for more information. + @ifclear SingleFormat @cindex big-endian objects @cindex endianness @@ -1760,12 +1778,10 @@ Print a summary of all target-specific options on the standard output and exit. @kindex -Map=@var{mapfile} @item -Map=@var{mapfile} Print a link map to the file @var{mapfile}. See the description of the -@option{-M} option, above. Specifying the empty string as @var{mapfile} -(that is, @code{-Map=}) causes the link map to be written to a file -named after the @var{output} file, with @code{.map} appended. -Specifying a directory as @var{mapfile} causes the link map to be -written into a file inside the directory. The name of the file is -again based upon the @var{output} filename with @code{.map} appended. +@option{-M} option, above. Specifying a directory as @var{mapfile} +causes the linker map to be written into a file inside the directory. +The name of the file is based upon the @var{output} filename with +@code{.map} appended. @cindex memory usage @kindex --no-keep-memory