From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 24895 invoked by alias); 20 May 2011 13:49:56 -0000 Received: (qmail 24885 invoked by uid 22791); 20 May 2011 13:49:55 -0000 X-SWARE-Spam-Status: No, hits=-1.7 required=5.0 tests=AWL,BAYES_50,MEDICAL_SUBJECT,RCVD_IN_DNSWL_HI,TW_XG,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from cantor.suse.de (HELO mx1.suse.de) (195.135.220.2) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 May 2011 13:49:38 +0000 Received: from relay2.suse.de (charybdis-ext.suse.de [195.135.221.2]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.suse.de (Postfix) with ESMTP id D372C90847; Fri, 20 May 2011 15:49:36 +0200 (CEST) Date: Fri, 20 May 2011 14:35:00 -0000 From: Michael Matz To: "Joseph S. Myers" , bonzini@gnu.org Cc: gcc-patches@gcc.gnu.org Subject: Merge OBJS-common,-md,-archive In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII X-IsSubscribed: yes Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-05/txt/msg01459.txt.bz2 Hi, On Fri, 20 May 2011, Joseph S. Myers wrote: > (Apart from the arbitrary division between GCC_OBJS and the xgcc link > rule, mentioned above, there are other arbitrary divisions that don't > make sense to me. In particular, the separation between OBJS-common, > OBJS-md and OBJS-archive, all used only in the definition of OBJS and > all ending up in libbackend.a. Indeed, this split doesn't make sense since some years. I have this local patch since I don't know when. Okay for trunk? (regstrapped multiple times on x86_64-linux, with all languages) Ciao, Michael. * Makefile.in (OBJS-common, OBJS-md, OBJS-archive): Merge into OBJS. Index: Makefile.in =================================================================== --- Makefile.in (revision 173940) +++ Makefile.in (working copy) @@ -1189,7 +1189,7 @@ C_OBJS = c-lang.o c-family/stub-objc.o $ # We put the insn-*.o files first so that a parallel make will build # them sooner, because they are large and otherwise tend to be the # last objects to finish building. -OBJS-common = \ +OBJS = \ insn-attrtab.o \ insn-automata.o \ insn-emit.o \ @@ -1222,11 +1222,16 @@ OBJS-common = \ cfgloopanal.o \ cfgloopmanip.o \ cfgrtl.o \ + cgraph.o \ + cgraphbuild.o \ + cgraphunit.o \ combine.o \ combine-stack-adj.o \ compare-elim.o \ convert.o \ coverage.o \ + cppbuiltin.o \ + cppdefault.o \ cprop.o \ cse.o \ cselib.o \ @@ -1287,11 +1292,23 @@ OBJS-common = \ hwint.o \ ifcvt.o \ implicit-zee.o \ + incpath.o \ init-regs.o \ input.o \ integrate.o \ internal-fn.o \ intl.o \ + ipa-cp.o \ + ipa-split.o \ + ipa-inline.o \ + ipa-inline-analysis.o \ + ipa-inline-transform.o \ + ipa-prop.o \ + ipa-pure-const.o \ + ipa-reference.o \ + ipa-ref.o \ + ipa-utils.o \ + ipa.o \ ira.o \ ira-build.o \ ira-costs.o \ @@ -1319,6 +1336,7 @@ OBJS-common = \ lto-opts.o \ lto-streamer.o \ lto-compress.o \ + matrix-reorg.o \ mcf.o \ mode-switching.o \ modulo-sched.o \ @@ -1336,6 +1354,7 @@ OBJS-common = \ postreload-gcse.o \ postreload.o \ predict.o \ + prefix.o \ pretty-print.o \ print-rtl.o \ print-tree.o \ @@ -1394,10 +1413,12 @@ OBJS-common = \ tree-eh.o \ tree-emutls.o \ tree-if-conv.o \ + tree-inline.o \ tree-into-ssa.o \ tree-iterator.o \ tree-loop-distribution.o \ tree-nested.o \ + tree-nomudflap.o \ tree-nrv.o \ tree-object-size.o \ tree-optimize.o \ @@ -1452,54 +1473,26 @@ OBJS-common = \ tree-tailcall.o \ tree-vect-generic.o \ tree-vect-patterns.o \ - tree-vect-data-refs.o \ - tree-vect-stmts.o \ - tree-vect-loop.o \ - tree-vect-loop-manip.o \ - tree-vect-slp.o \ + tree-vect-data-refs.o \ + tree-vect-stmts.o \ + tree-vect-loop.o \ + tree-vect-loop-manip.o \ + tree-vect-slp.o \ tree-vectorizer.o \ tree-vrp.o \ tree.o \ value-prof.o \ var-tracking.o \ varasm.o \ + varpool.o \ vec.o \ version.o \ vmsdbgout.o \ web.o \ - xcoffout.o - -# Target object files. -OBJS-md = $(out_object_file) - -# Language independent object files which are not used by all languages. -OBJS-archive = \ + xcoffout.o \ + $(out_object_file) \ $(EXTRA_OBJS) \ - $(host_hook_obj) \ - cgraph.o \ - cgraphbuild.o \ - cgraphunit.o \ - cppbuiltin.o \ - cppdefault.o \ - incpath.o \ - ipa-cp.o \ - ipa-split.o \ - ipa-inline.o \ - ipa-inline-analysis.o \ - ipa-inline-transform.o \ - ipa-prop.o \ - ipa-pure-const.o \ - ipa-reference.o \ - ipa-ref.o \ - ipa-utils.o \ - ipa.o \ - matrix-reorg.o \ - prefix.o \ - tree-inline.o \ - tree-nomudflap.o \ - varpool.o - -OBJS = $(OBJS-common) $(OBJS-md) $(OBJS-archive) + $(host_hook_obj) # This lists all host objects for the front ends. ALL_HOST_FRONTEND_OBJS = $(C_OBJS) \