On Mon, Oct 29, 2012 at 9:20 AM, Perry Smith <pedz...@gmail.com> wrote: > > I'm sure they could be rewritten in C. GNUs libc choose to do them in C++ > probably because C++ just gives a nicer way to do things.
In the GNU libc __cxa_atexit and __cxa_finalize are written in C, not C++. We should not add C++ code to libgcc. We could add it to libsupc++. Ian