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
+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
2005-07-30 Joseph S. Myers <joseph@codesourcery.com>
PR c/23143
@item Linker Options
@xref{Link Options,,Options for Linking}.
@gccoptlist{@var{object-file-name} -l@var{library} @gol
@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}}
-s -static -static-libgcc -shared -shared-libgcc -symbolic @gol
-Wl,@var{option} -Xlinker @var{option} @gol
-u @var{symbol}}
that were used to generate code (@option{-fpie}, @option{-fPIE},
or model suboptions) when you specify this option.
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.
@item -s
@opindex s
Remove all symbol table and relocation information from the executable.