Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1760303AbYGAW7z (ORCPT ); Tue, 1 Jul 2008 18:59:55 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754109AbYGAW7p (ORCPT ); Tue, 1 Jul 2008 18:59:45 -0400 Received: from turing-police.cc.vt.edu ([128.173.14.107]:54525 "EHLO turing-police.cc.vt.edu" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753649AbYGAW7o (ORCPT ); Tue, 1 Jul 2008 18:59:44 -0400 X-Mailer: exmh version 2.7.2 01/07/2005 with nmh-1.2 To: Denys Vlasenko Cc: linux-arch@vger.kernel.org, Andrew Morton , Russell King , David Howells , Ralf Baechle , Lennert Buytenhek , Josh Boyer , Paul Mackerras , David Woodhouse , Andi Kleen , torvalds@linux-foundation.org, Paul Gortmaker , linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Bird , Martin Schwidefsky , Dave Miller Subject: Re: [PATCH 1/23] make section names compatible with -ffunction-sections -fdata-sections In-Reply-To: Your message of "Wed, 02 Jul 2008 02:33:48 +0200." <200807020233.48646.vda.linux@googlemail.com> From: Valdis.Kletnieks@vt.edu References: <200807020233.48646.vda.linux@googlemail.com> Mime-Version: 1.0 Content-Type: multipart/signed; boundary="==_Exmh_1214952973_2982P"; micalg=pgp-sha1; protocol="application/pgp-signature" Content-Transfer-Encoding: 7bit Date: Tue, 01 Jul 2008 18:56:13 -0400 Message-ID: <60320.1214952973@turing-police.cc.vt.edu> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1132 Lines: 34 --==_Exmh_1214952973_2982P Content-Type: text/plain; charset=us-ascii On Wed, 02 Jul 2008 02:33:48 +0200, Denys Vlasenko said: > The purpose of these patches is to make kernel buildable > with "gcc -ffunction-sections -fdata-sections". > > Newer gcc and binutils can do dead code and data removal > at link time. It is achieved using combination of > -ffunction-sections -fdata-sections options for gcc and > --gc-sections for ld. Interesting idea. Do you happen to have before-and-after 'size vmlinux' numbers to show how much space is actually reclaimed? --==_Exmh_1214952973_2982P Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Exmh version 2.5 07/13/2001 iD8DBQFIarYNcC3lWbTT17ARAh9sAJ9xjYck9zBa6K8R7tTHzDIj28eiwACeOD8Q hdump+CXw2+ZexG6of1uSVQ= =RKDh -----END PGP SIGNATURE----- --==_Exmh_1214952973_2982P-- -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/