* ld.texinfo, ld.1: Document -export-dynamic.

This commit is contained in:
Ian Lance Taylor
1996-01-29 17:29:51 +00:00
parent 8e3ff08126
commit 4bdd9722a6
2 changed files with 20 additions and 2 deletions

View File

@ -1,3 +1,12 @@
Mon Jan 29 12:29:26 1996 Ian Lance Taylor <ian@cygnus.com>
* ld.texinfo, ld.1: Document -export-dynamic.
Fri Jan 26 11:11:55 1996 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* emultempl/sunos.em: Check for native compile by comparing
${target} and ${host}.
Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk> Thu Jan 25 16:46:58 1996 James G. Smith <jsmith@cygnus.co.uk>
* emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed

13
ld/ld.1
View File

@ -45,6 +45,7 @@ ld \- the GNU linker
.I entry\c .I entry\c
\&\|] \&\|]
.RB "[\|" \-embedded\-relocs "\|]" .RB "[\|" \-embedded\-relocs "\|]"
.RB "[\|" \-export\-dynamic "\|]"
.RB "[\|" \-F "\|]" .RB "[\|" \-F "\|]"
.RB "[\|" "\-F\ "\c .RB "[\|" "\-F\ "\c
.I format\c .I format\c
@ -457,6 +458,13 @@ create a table which may be used at runtime to relocate any data which
was statically initialized to pointer values. See the code in was statically initialized to pointer values. See the code in
testsuite/ld-empic for details. testsuite/ld-empic for details.
.TP
.B \-export\-dynamic
When creating an ELF file, add all symbols to the dynamic symbol table.
Normally, the dynamic symbol table contains only symbols which are used
by a dynamic object. This option is needed for some uses of
.I dlopen.
.TP .TP
.B \-F .B \-F
.TP .TP
@ -722,8 +730,9 @@ option may also be used on SunOS. By default, on SunOS, the linker
will form a runtime search patch out of all the will form a runtime search patch out of all the
.B \-L .B \-L
options it is given. If a options it is given. If a
.B \-rpath option is used, the runtime search path .B \-rpath
will be formed exclusively using the option is used, the runtime search path will be formed exclusively
using the
.B \-rpath .B \-rpath
options, ignoring options, ignoring
the the