aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorWolfgang Bangerth <bangerth@dealii.org>2005-07-29 20:12:12 -0600
committerJim Wilson <wilson@gcc.gnu.org>2005-07-29 19:12:12 -0700
commit0cbc4d773a832fcda2aaa9c5dae163b2038af2e3 (patch)
treee1c0e48684555f105b253b9e955a943f3e1de4a3
parent91d975b88eee06af82847fdb48c58e230506c72c (diff)
downloadgcc-0cbc4d773a832fcda2aaa9c5dae163b2038af2e3.zip
gcc-0cbc4d773a832fcda2aaa9c5dae163b2038af2e3.tar.gz
gcc-0cbc4d773a832fcda2aaa9c5dae163b2038af2e3.tar.bz2
re PR target/22582 (-rdynamic is undocumented)
Patch from Wolfgang Bangerth. PR target/22582 * doc/invoke.texi: Document -rdynamic. From-SVN: r102582
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/invoke.texi10
2 files changed, 14 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0764a57..ae5288e 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2005-07-29 Wolfgang Bangerth <bangerth@dealii.org>
+
+ PR target/22582
+ * doc/invoke.texi: Document -rdynamic.
+
2005-07-30 Joseph S. Myers <joseph@codesourcery.com>
PR c/23143
diff --git a/gcc/doc/invoke.texi b/gcc/doc/invoke.texi
index f59ef6d..5004419 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.