On Mon, Nov 26, 2012 at 11:55 PM, H.J. Lu <hjl.to...@gmail.com> wrote: > On Mon, Nov 26, 2012 at 7:19 PM, Joey Ye <joey...@arm.com> wrote: >> Ping^2 >> >>> -----Original Message----- >>> From: Joey Ye >>> Sent: Tuesday, November 20, 2012 10:09 >>> To: gcc-patches@gcc.gnu.org >>> Cc: Joey Ye >>> Subject: RE: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c
> Since we have --enable-languages=.., can't we disable > JCR_SECTION section if java isn't enabled? I suppose that is certainly another option. My main goal is to not have _Jv_RegisterClasses show up in crtbegin.o, as it simply isn't needed or desired in the case of Haiku. Right now we only enable C and C++, and it simply makes no sense to have anything Java-related show up in our crtbegin.o. - joe