From 4bdd9722a68a1f6ae5f2e7668de55137aa45d6b1 Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Mon, 29 Jan 1996 17:29:51 +0000 Subject: [PATCH] * ld.texinfo, ld.1: Document -export-dynamic. --- ld/ChangeLog | 9 +++++++++ ld/ld.1 | 13 +++++++++++-- 2 files changed, 20 insertions(+), 2 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 48c59e057d6..20c3143d354 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,12 @@ +Mon Jan 29 12:29:26 1996 Ian Lance Taylor + + * ld.texinfo, ld.1: Document -export-dynamic. + +Fri Jan 26 11:11:55 1996 Andreas Schwab + + * emultempl/sunos.em: Check for native compile by comparing + ${target} and ${host}. + Thu Jan 25 16:46:58 1996 James G. Smith * emulparams/{elf32b4300.sh, elf32l4300.sh}: Changed diff --git a/ld/ld.1 b/ld/ld.1 index a12596e2230..cb0bf978d3d 100644 --- 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 -- 2.30.2