Re: [RFA] minsyms.c: Fix switching to GNU v3 ABI

Ian Lance Taylor
2004-03-10T18:30:51Z

Corinna Vinschen <vinschen@redhat.com> writes:

> On Mar 10 11:37, Daniel Jacobowitz wrote:
> > What's the one symbol with just one underscore?
>
> _ZZN9__gnu_cxx27__verbose_terminate_handlerEvE11terminating

That should be investigated further, as it probably indicates a gcc
bug.

Consider this source code:

void __verbose_terminate_handler()
{
static int terminating = 0;
if (terminating)
{
return;
}
terminating = 1;
}

If you compile it as a C file, do you see the initial underscore on
"terminating". If you compile it as a C++ file, do you see two
initial underscores before the 'Z'? It should be consistent.

Ian