This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Documenting -rdynamic
On Jul 7, 2005, at 1:28 PM, Andrew Pinski wrote:
On Jul 7, 2005, at 4:25 PM, Wolfgang Bangerth wrote:
+ @item -rdynamic
+ @opindex rdynamic
+ Pass the flag @option{-export-dynamic} to the ELF linker. 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.
Can say this option is not supported on all targets, other wise people
on say ppc-darwin will try to use it and we will get getting bug
reports
about it.
I'd be happy to swallow this option on darwin, as, we do this by
default (if I guess right).