From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 23936 invoked by alias); 17 Nov 2005 00:02:54 -0000 Received: (qmail 23919 invoked by uid 22791); 17 Nov 2005 00:02:50 -0000 Received: from bethe.phy.uc.edu (HELO bethe.phy.uc.edu) (129.137.4.14) by sourceware.org (qpsmtpd/0.30-dev) with ESMTP; Thu, 17 Nov 2005 00:02:50 +0000 Received: from earth.geop.uc.edu (earth.phy.uc.edu [10.44.11.234]) by bethe.phy.uc.edu (8.12.11/8.12.11) with ESMTP id jAH00gbZ026072; Wed, 16 Nov 2005 19:00:42 -0500 Received: from earth.phy.uc.edu (localhost.localdomain [127.0.0.1]) by earth.geop.uc.edu (8.12.11/8.9.3) with ESMTP id jAH00gLg004809; Wed, 16 Nov 2005 19:00:42 -0500 Received: (from pinskia@localhost) by earth.phy.uc.edu (8.12.11/8.12.11/Submit) id jAH00gcd004808; Wed, 16 Nov 2005 19:00:42 -0500 From: Andrew Pinski Message-Id: <200511170000.jAH00gcd004808@earth.phy.uc.edu> Subject: Re: Link-time optimzation To: mark@codesourcery.com (Mark Mitchell) Date: Thu, 17 Nov 2005 00:02:00 -0000 Cc: gcc@gcc.gnu.org (gcc mailing list) In-Reply-To: <437BB214.1070306@codesourcery.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-Spam-Score: -100 () USER_IN_WHITELIST Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2005-11/txt/msg00740.txt.bz2 > > The GCC community has talked about link-time optimization for some time. > In addition to results with other compilers, Geoff Keating's work on > inter-module optimization has demonstrated the potential for improved > code-generation from applying optimizations across translation units. I don't understand why all the Linker section cannot just be done from collect2 and let the linker not know anything at all. That seems like the best way of implementing it. Unless you want to integrate binutils inside GCC which might be the best goal anyways if we also want to include MS style inline asm. Also I see there is no mention of LLVM at all in the design, I would have thought that it should be mentioned why you did not choose that bytecode format and why make another one. -- Pinski