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]
Other format: [Raw text]

Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c


On Mon, Nov 26, 2012 at 11:55 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Nov 26, 2012 at 7:19 PM, Joey Ye <joey.ye@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


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