This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Interactions between c++filter and assembler output
- To: Marc dot Espie at liafa dot jussieu dot fr (Marc Espie)
- Subject: Re: Interactions between c++filter and assembler output
- From: Joe Buck <jbuck at Synopsys dot COM>
- Date: Fri, 26 Feb 99 9:26:58 PST
- Cc: egcs at egcs dot cygnus dot com
>
> I've noticed that c++filt gets easily confused while unmangling assembler
> files. For instance, in constructs such as
> .type blaname,function
> it doesn't know where to end blaname (at the comma), and ends up not
> unmangling it.
That's a c++filt bug, then; a comma can't appear in a mangled symbol.
> For machines where it causes no further problems, I think it is a good
> idea to tweak the assembler output a bit, so that it yields
> .type blaname , function
> which c++filt knows how to unmangle correctly.
Why not just fix c++filt?