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 Espie <Marc dot Espie at liafa dot jussieu dot fr>
- Subject: Re: Interactions between c++filter and assembler output
- From: Jeffrey A Law <law at hurl dot cygnus dot com>
- Date: Fri, 26 Feb 1999 11:48:07 -0700
- cc: egcs at egcs dot cygnus dot com
- Reply-To: law at cygnus dot com
In message <19990226175510.18648@liafa1.liafa.jussieu.fr>you write:
> 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.
>
> 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.
>
> I've checked that most, if not all, gas flavors don't have any problems
> doing that.
This seems like a bug in c++filt to me. I'd generally prefer to fix the
bug rather than hack up the assembly code to avoid the bug :-)
jeff