[PATCH] PIC support for SH

Richard Henderson rth@cygnus.com
Fri Sep 1 11:09:00 GMT 2000


On Fri, Sep 01, 2000 at 01:33:12AM -0700, Jason Merrill wrote:
> Can someone please explain again why we need both crtbegin and crtbeginS?
> It still seems gratuitous to me.

#ifdef CRTSTUFFS_O
void *__dso_handle = &__dso_handle;
#else
void *__dso_handle = 0;
#endif

I.e. __cxa_finalize needs to know whether it's dealing with the
main application or a dso.


r~


More information about the Gcc-patches mailing list