This is the mail archive of the gcc@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]

Re: Interactions between c++filter and assembler output


> 
> 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?




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