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]

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.

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.
-- 
	Marc Espie		
|anime, sf, juggling, unicycle, acrobatics, comics...
|AmigaOS, OpenBSD, C++, perl, Icon, PostScript...
| `real programmers don't die, they just get out of beta'


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