This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c
- From: Joseph Prostko <joe dot prostko at gmail dot com>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 27 Nov 2012 02:36:06 -0500
- Subject: Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c
- References: <50b4317c.494f420a.4523.ffffdc1fSMTPIN_ADDED_BROKEN@mx.google.com>
On Mon, Nov 26, 2012 at 10: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
>>
>> Ping, as Joseph Prostko is saying that this patch shall solve the same
>> problem he's facing.
Indeed. I am working on updating Haiku's GCC port to GCC 4.7.2, and
in the past we always ended up editing defaults.h to not define
JCR_SECTION_NAME as a way to get around this issue. Basically, in
Haiku, we don't want _Jv_RegisterClasses to end up in crtbegin.o so we
patched things in what I consider an unsatisfactory manner. I hope to
get Haiku's GCC changes upstreamed at some point, and I admit our
current fix wouldn't stand any chance at being upstreamed compared to
Joey's suggested fix.
- joe