[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: __cxa_atexit and __dso_handle

davidw@dedasys.com (David N. Welton) writes:

> Since I don't have shared libraries, is it ok if I just define it,
> just so it's there?
> void*   __dso_handle = (void*) &__dso_handle;

That should work, yes.

> BTW, can you also confirm that this is for C++ only?

In GCC, it is for C++ only, yes. However, it is a general ABI feature,
so application code may want to use this directly as well.


Reply to: