This is the mail archive of the java-patches@gcc.gnu.org mailing list for the Java project.


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

Re: RFC: Java class registration (w/crtstuff change)


<green@peach.cygnus.co.uk.bothner.com> writes:

> The new class registration mechanism has the compiler storing pointers
> to classes requiring registration in a new section: .jcr (java class
> registration).  crtbegin and crtend are used to begin the list (with
> __JCR_LIST__) and NULL terminate it (at __JCR_END__).
> DO_GLOBAL_CTORS_BODY is modified to include a single call to libgcj's
> _Jv_RegisterClasses (made available via weak symbol).

I think this approach is winning.  Have you verified that the Right
Thing will happen for shared libraries loaded with dlopen?
-- 
	--Per Bothner
per@bothner.com   http://www.bothner.com/per/


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