From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26261 invoked by alias); 24 Jan 2008 16:37:10 -0000 Received: (qmail 26236 invoked by uid 22791); 24 Jan 2008 16:37:03 -0000 X-Spam-Check-By: sourceware.org Received: from mx04.lb01.inode.at (HELO mx.inode.at) (62.99.145.4) by sourceware.org (qpsmtpd/0.31) with ESMTP; Thu, 24 Jan 2008 16:36:39 +0000 Received: from [85.127.87.33] (port=13777 helo=s37.loc) by smartmx-04.inode.at with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA:32) (Exim 4.50) id 1JI548-0007Pp-TR; Thu, 24 Jan 2008 17:36:36 +0100 Received: from cow by s37.loc with local (Exim 4.68) (envelope-from ) id 1JI547-0000nr-JH; Thu, 24 Jan 2008 17:36:35 +0100 Date: Thu, 24 Jan 2008 17:50:00 -0000 From: Bernhard Fischer To: bonzini@gnu.org Cc: GCC Patches Subject: Re: [PATCH] PR33396 - add --enable-intermodule for libgcc Message-ID: <20080124163635.GA3040@aon.at> References: <20071119175146.GA1588@aon.at> <474293D9.3090006@gnu.org> <20071121153910.GA2187@aon.at> <47445361.1080800@lu.unisi.ch> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47445361.1080800@lu.unisi.ch> User-Agent: Mutt/1.5.17 (2007-11-01) 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: 2008-01/txt/msg01164.txt.bz2 On Wed, Nov 21, 2007 at 04:48:49PM +0100, Paolo Bonzini wrote: > >>> I am not sure what happens if you pass combine for many assembly source >>> codes, as in this: >> >> I only checked on i386 (which doesn't seem to have any LIB1ASMFUNCS), >> but i guess it should work fine. > > You can try it on the command line, using -### to see what is passed > actually to gas and ld. > >> Looks like it would be the least intrusive approach to add >> libgcc/*-obj*-onestep.mk that mimmic the normal *-obj*.mk >> Alternatively i'd have to add 'ifneq ($(onestep),)' to the iterator *.mk. >> What do you think? > > I suggest you try both on one iterator makefile, and see what looks nicer. This is still not yet done, fwiw. I have updated the generic libgcc part against trunk and have added it to the PR. My last comment shows some statistics about the size-savings i got from building libgcc with -combine -- about 70% smaller.