On Thu, Dec 13, 2012 at 7:39 PM, Joey Ye <joey...@arm.com> wrote: >> -----Original Message----- >> From: H.J. Lu [mailto:hjl.to...@gmail.com] >> Sent: Tuesday, November 27, 2012 12:56 >> To: Joey Ye >> Cc: gcc-patches@gcc.gnu.org >> Subject: Re: [PATCH, libgcc] Make possible to disable JCR in crtstuff.c >> >> > >> >> > OK to trunk? >> >> > >> >> > 2012-09-21 Joey Ye <joey...@arm.com> >> >> > >> >> > * crtstuff.c: Check TARGET_USE_JCR_SECTION. >> >> > >> >> Since we have --enable-languages=.., can't we disable >> JCR_SECTION section if java isn't enabled? > Updated configure disabling jcr section usage if not configured with java. > > 2012-12-12 Joey Ye <joey...@arm.com> > > * configure.ac (enable-jcr-section): New target_configargs. > * configure: Regenerated. > * 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.
Why do we need a new configure option at toplevel? Can't you check --enable-languages=.. in libgcc? -- H.J.