* ld.texinfo, ld.1: Document -export-dynamic.
authorIan Lance Taylor <ian@airs.com>
Mon, 29 Jan 1996 17:29:51 +0000 (17:29 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 29 Jan 1996 17:29:51 +0000 (17:29 +0000)
ld/ChangeLog
ld/ld.1

index 48c59e057d6c23841e3423a96b96c432f4fc664d..20c3143d354e05142ba614d492ab4ec8de64c027 100644 (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>
 
        * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed
diff --git a/ld/ld.1 b/ld/ld.1
index a12596e2230f1fb44979d818d61775e7edf9c722..cb0bf978d3de75277d93c7d1da013415357f502c 100644 (file)
--- a/ld/ld.1
+++ b/ld/ld.1
@@ -45,6 +45,7 @@ ld \- the GNU linker
 .I entry\c
 \&\|] 
 .RB "[\|" \-embedded\-relocs "\|]"
+.RB "[\|" \-export\-dynamic "\|]"
 .RB "[\|" \-F "\|]" 
 .RB "[\|" "\-F\ "\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
 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
 .B \-F
 .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
 .B \-L
 options it is given.  If a
-.B \-rpath option is used, the runtime search path
-will be formed exclusively using the
+.B \-rpath
+option is used, the runtime search path will be formed exclusively
+using the
 .B \-rpath
 options, ignoring
 the