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]

Re: [PATCH] PIC support for SH


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~

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