From 7ec9d82515b35f7861c26076e86db48c5e14e65c Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Tue, 9 Apr 1996 16:19:51 +0000 Subject: [PATCH] * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. --- ld/ChangeLog | 4 ++++ ld/ld.1 | 3 +++ ld/ld.texinfo | 8 +++++--- 3 files changed, 12 insertions(+), 3 deletions(-) diff --git a/ld/ChangeLog b/ld/ChangeLog index 7ab9c5a62f9..c8b2320fa3d 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +Tue Apr 9 12:18:57 1996 Ian Lance Taylor + + * ld.texinfo, ld.1: Mention -E as a synonym for -export-dynamic. + Mon Apr 8 11:56:23 1996 Ian Lance Taylor * emultempl/elf32.em: When checking for a native emulation, check diff --git a/ld/ld.1 b/ld/ld.1 index ccc47dda63f..1037e2a0bbb 100644 --- a/ld/ld.1 +++ b/ld/ld.1 @@ -45,6 +45,7 @@ ld \- the GNU linker .I entry\c \&\|] .RB "[\|" \-embedded\-relocs "\|]" +.RB "[\|" \-E "\|]" .RB "[\|" \-export\-dynamic "\|]" .RB "[\|" \-F "\|]" .RB "[\|" "\-F\ "\c @@ -463,6 +464,8 @@ 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 \-E .TP .B \-export\-dynamic When creating an ELF file, add all symbols to the dynamic symbol table. diff --git a/ld/ld.texinfo b/ld/ld.texinfo index a934b727550..915761a1f8f 100644 --- a/ld/ld.texinfo +++ b/ld/ld.texinfo @@ -170,8 +170,8 @@ ld [ -o @var{output} ] @var{objfile}@dots{} [ -Bstatic ] [ -Bdynamic ] [ -Bsymbolic ] [ -c @var{MRI-commandfile} ] [ -d | -dc | -dp ] [ -defsym @var{symbol}=@var{expression} ] - [ -dynamic-linker @var{file} ] [ -embedded-relocs ] [ -export-dynamic ] - [ -e @var{entry} ] [ -F ] [ -F @var{format} ] + [ -dynamic-linker @var{file} ] [ -embedded-relocs ] [ -E ] + [ -export-dynamic ] [ -e @var{entry} ] [ -F ] [ -F @var{format} ] [ -format @var{input-format} ] [ -g ] [ -G @var{size} ] [ -help ] [ -i ] [ -l@var{archive} ] [ -L@var{searchdir} ] [ -M ] [ -Map @var{mapfile} ] [ -m @var{emulation} ] @@ -398,8 +398,10 @@ discussion of defaults and other ways of specifying the entry point. @cindex dynamic symbol table +@kindex -E @kindex -export-dynamic -@item -export-dynamic +@item -E +@itemx -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 -- 2.30.2