[PATCH, libgcc] Make possible to disable JCR in crtstuff.c
Joseph Prostko
joe.prostko@gmail.com
Tue Dec 18 01:24:00 GMT 2012
On Mon, Dec 17, 2012 at 2:28 PM, H.J. Lu <hjl.tools@gmail.com> wrote:
> On Mon, Dec 17, 2012 at 1:50 AM, Joey Ye <joey.ye@arm.com> wrote:
>> * libgcc/Makefile.in: Include TARGET_USE_JCR_SECTION in CFLAGS.
>> * libgcc/configure.ac (use_jcr_section): New variable.
>> * libgcc/configure: Regenerated.
>> * libgcc/crtstuff.c: Check TARGET_USE_JCR_SECTION.
>
>
> I would use JAVA_IS_ENABLED instead of TARGET_USE_JCR_SECTION.
> But it is only my personal preference.
I believe Joey did that to be consistent with the
TARGET_USE_JCR_SECTION macro used in gcc/defaults.h that can be turned
on or off for targets that specify it . If JAVA_IS_ENABLED is used
instead, should TARGET_USE_JCR_SECTION be deprecated?
- joe
More information about the Gcc-patches
mailing list