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 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


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