From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 1811 invoked by alias); 20 May 2011 14:01:53 -0000 Received: (qmail 1789 invoked by uid 22791); 20 May 2011 14:01:50 -0000 X-SWARE-Spam-Status: No, hits=1.7 required=5.0 tests=AWL,BAYES_50,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FROM,MEDICAL_SUBJECT,RCVD_IN_DNSWL_LOW,RFC_ABUSE_POST,TW_XG X-Spam-Check-By: sourceware.org Received: from mail-qy0-f175.google.com (HELO mail-qy0-f175.google.com) (209.85.216.175) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 20 May 2011 14:01:32 +0000 Received: by qyk35 with SMTP id 35so291202qyk.20 for ; Fri, 20 May 2011 07:01:31 -0700 (PDT) Received: by 10.224.40.205 with SMTP id l13mr3476377qae.42.1305900091572; Fri, 20 May 2011 07:01:31 -0700 (PDT) Received: from yakj.usersys.redhat.com (nat-pool-mxp-t.redhat.com [209.132.186.18]) by mx.google.com with ESMTPS id m7sm2244359qcg.41.2011.05.20.07.01.28 (version=TLSv1/SSLv3 cipher=OTHER); Fri, 20 May 2011 07:01:29 -0700 (PDT) Message-ID: <4DD67437.2090908@gnu.org> Date: Fri, 20 May 2011 14:41:00 -0000 From: Paolo Bonzini User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; en-US; rv:1.9.2.17) Gecko/20110428 Fedora/3.1.10-1.fc14 Lightning/1.0b3pre Mnenhy/0.8.3 Thunderbird/3.1.10 MIME-Version: 1.0 To: Michael Matz CC: "Joseph S. Myers" , gcc-patches@gcc.gnu.org Subject: Re: Merge OBJS-common,-md,-archive References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit 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/msg01462.txt.bz2 On 05/20/2011 03:49 PM, Michael Matz wrote: > 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) \ > Looks good, thanks. Paolo