This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: Get rid of underscore.c


	

> Claiming that it belongs in GCC because libstdc++-v3 needs to be able
> to demangle symbols is just as valid as claiming that so do many of the
> binutils and gdb, that also do demangling.

libstdc++-v3 (actually, libsupc++) provides a definition for
__cxa_demangle, which uses the bits directly from libiberty. Note,
underscore.c is not used, seemingly.

from libstdc++-v3/libsupc++/Makefile.am:

c_sources = \
        cxa_demangle.c \
        dyn-string.c 

-benjamin


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