From: wilson Date: Sat, 30 Jul 2005 02:12:12 +0000 (+0000) Subject: Patch from Wolfgang Bangerth. X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=commitdiff_plain;h=d1f806fdcf70ec2b1dce74d7af5330dabd482d3a;ds=sidebyside Patch from Wolfgang Bangerth. PR target/22582 * doc/invoke.texi: Document -rdynamic. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@102582 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 0764a579f34..ae5288eb011 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2005-07-29 Wolfgang Bangerth + + PR target/22582 + * doc/invoke.texi: Document -rdynamic. + 2005-07-30 Joseph S. Myers PR c/23143 diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi index f59ef6dc406..5004419a897 100644 --- a/gcc/doc/invoke.texi +++ b/gcc/doc/invoke.texi @@ -362,7 +362,7 @@ Objective-C and Objective-C++ Dialects}. @item Linker Options @xref{Link Options,,Options for Linking}. @gccoptlist{@var{object-file-name} -l@var{library} @gol --nostartfiles -nodefaultlibs -nostdlib -pie @gol +-nostartfiles -nodefaultlibs -nostdlib -pie -rdynamic @gol -s -static -static-libgcc -shared -shared-libgcc -symbolic @gol -Wl,@var{option} -Xlinker @var{option} @gol -u @var{symbol}} @@ -6176,6 +6176,14 @@ For predictable results, you must also specify the same set of options that were used to generate code (@option{-fpie}, @option{-fPIE}, or model suboptions) when you specify this option. +@item -rdynamic +@opindex rdynamic +Pass the flag @option{-export-dynamic} to the ELF linker, on targets +that support it. This instructs the linker to add all symbols, not +only used ones, to the dynamic symbol table. This option is needed +for some uses of @code{dlopen} or to allow obtaining backtraces +from within a program. + @item -s @opindex s Remove all symbol table and relocation information from the executable.