This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Documenting -rdynamic
- From: Andrew Pinski <pinskia at physics dot uc dot edu>
- To: Wolfgang Bangerth <bangerth at ices dot utexas dot edu>
- Cc: gcc-patches at gcc dot gnu dot org, kenner at vlsi1 dot ultra dot nyu dot edu
- Date: Thu, 7 Jul 2005 16:28:35 -0400
- Subject: Re: Documenting -rdynamic
- References: <200507071525.50254.bangerth@ices.utexas.edu>
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.
Thanks,
Andrew Pinski