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]

Re: Interactions between c++filter and assembler output




  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