This is the mail archive of the egcs@egcs.cygnus.com mailing list for the EGCS project. See the EGCS home page for more information.


[Date Prev][Date Next][Thread Prev][Thread Next]
[Date Index] [Subject Index] [Author Index] [Thread Index]

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'