This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [committed] Fix eh/link failures on ppc-darwin7.x


Andrew Pinski <pinskia@physics.uc.edu> writes:

> The problem here is we don't strip the underscores before piping the
> mangled to c++filt so we need to pass --strip-underscores to c++filt.

c++filt will by default strip underscores on targets for which symbols
normally have a prepended underscore.  Passing --strip-underscores to
c++filt causes it to strip them unconditionally.  You should only have
to pass --strip-underscores if you are using a c++filt configured for
a different target, or if c++filt is misconfigured.

Since this script is apparently Darwin specific, it is presumably OK
to always pass --strip-underscores.  But I don't know why it is
required.

Ian


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]