From mboxrd@z Thu Jan 1 00:00:00 1970 From: Valdis.Kletnieks@vt.edu Subject: Re: [PATCH 1/23] make section names compatible with -ffunction-sections -fdata-sections Date: Tue, 01 Jul 2008 18:56:13 -0400 Message-ID: <60320.1214952973@turing-police.cc.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 Return-path: In-Reply-To: Your message of "Wed, 02 Jul 2008 02:33:48 +0200." <200807020233.48646.vda.linux@googlemail.com> Sender: linux-embedded-owner@vger.kernel.org List-ID: 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 --==_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--