+2010-09-24 Richard Guenther <rguenther@suse.de>
+
+ * Makefile.in (OBJS-onestep): Remove.
+ (ALL_HOST_BACKEND_OBJS): Remove libbackend.o.
+ (libbackend.a): Remove onestep support.
+ (libbackend.o): Remove.
+ * configure.ac (--enable-intermodule): Remove.
+ * configure: Regenerate.
+
2010-09-24 Bernd Schmidt <bernds@codesourcery.com>
* cfgcleanup.c (flow_find_head_matching_sequence): Terminate when
OBJS = $(OBJS-common) $(OBJS-md) $(OBJS-archive)
-OBJS-onestep = libbackend.o $(OBJS-archive)
-
# This lists all host objects for the front ends.
ALL_HOST_FRONTEND_OBJS = $(C_OBJS) \
$(foreach v,$(CONFIG_LANGUAGES),$($(v)_OBJS))
-ALL_HOST_BACKEND_OBJS = $(GCC_OBJS) $(OBJS) libbackend.o \
+ALL_HOST_BACKEND_OBJS = $(GCC_OBJS) $(OBJS) \
@TREEBROWSER@ main.o gccspec.o version.o intl.o prefix.o cppspec.o \
$(COLLECT2_OBJS) $(EXTRA_GCC_OBJS) mips-tfile.o mips-tdump.o \
$(GCOV_OBJS) $(GCOV_DUMP_OBJS)
compilations: $(BACKEND)
# This archive is strictly for the host.
-libbackend.a: $(OBJS@onestep@)
+libbackend.a: $(OBJS)
-rm -rf libbackend.a
- $(AR) $(AR_FLAGS) libbackend.a $(OBJS@onestep@)
+ $(AR) $(AR_FLAGS) libbackend.a $(OBJS)
-$(RANLIB) $(RANLIB_FLAGS) libbackend.a
# We call this executable `xgcc' rather than `gcc'
mips-tdump.o : mips-tdump.c $(CONFIG_H) $(RTL_H) $(SYSTEM_H) coretypes.h \
$(TM_H) version.h $(srcdir)/../include/getopt.h stab.def
-# FIXME: writing proper dependencies for this is a *LOT* of work.
-libbackend.o : $(OBJS-common:.o=.c) $(out_file) \
- insn-config.h insn-flags.h insn-codes.h insn-constants.h \
- insn-attr.h $(DATESTAMP) $(BASEVER) $(DEVPHASE) gcov-iov.h
- $(COMPILER) $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) \
- -DTARGET_NAME=\"$(target_noncanonical)\" \
- -DLOCALEDIR=\"$(localedir)\" \
- -c $(filter %.c,$^) -o $@ \
- -DBASEVER=$(BASEVER_s) -DDATESTAMP=$(DATESTAMP_s) \
- -DREVISION=$(REVISION_s) \
- -DDEVPHASE=$(DEVPHASE_s) -DPKGVERSION=$(PKGVERSION_s) \
- -DBUGURL=$(BUGURL_s) -combine
-
#\f
# Generate header and source files from the machine description,
# and compile them.
REPORT_BUGS_TEXI
REPORT_BUGS_TO
PKGVERSION
-onestep
CONFIGURE_SPECS
CROSS_SYSTEM_HEADER_DIR
TARGET_SYSTEM_ROOT_DEFINE
with_build_sysroot
with_sysroot
with_specs
-enable_intermodule
with_pkgversion
with_bugurl
enable_languages
--enable-objc-gc enable the use of Boehm's garbage collector with
the GNU Objective-C runtime
--disable-shared don't provide a shared libgcc
- --enable-intermodule build the compiler in one step
--enable-languages=LIST specify which front-ends to build
--disable-rpath do not hardcode runtime library paths
--enable-initfini-array use .init_array/.fini_array sections
-# Build with intermodule optimisations
-# Check whether --enable-intermodule was given.
-if test "${enable_intermodule+set}" = set; then :
- enableval=$enable_intermodule; case ${enable_intermodule} in
- yes) onestep="-onestep";;
- *) onestep="";;
-esac
-else
- onestep=""
-fi
-
-
-
# Check whether --with-pkgversion was given.
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17142 "configure"
+#line 17126 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
lt_dlunknown=0; lt_dlno_uscore=1; lt_dlneed_uscore=2
lt_status=$lt_dlunknown
cat > conftest.$ac_ext <<_LT_EOF
-#line 17248 "configure"
+#line 17232 "configure"
#include "confdefs.h"
#if HAVE_DLFCN_H
)
AC_SUBST(CONFIGURE_SPECS)
-# Build with intermodule optimisations
-AC_ARG_ENABLE(intermodule,
-[ --enable-intermodule build the compiler in one step],
-[case ${enable_intermodule} in
- yes) onestep="-onestep";;
- *) onestep="";;
-esac],
-[onestep=""])
-AC_SUBST(onestep)
-
ACX_PKGVERSION([GCC])
ACX_BUGURL([http://gcc.gnu.org/bugs.html])