Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1761456AbYGAXlW (ORCPT ); Tue, 1 Jul 2008 19:41:22 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1757403AbYGAXlK (ORCPT ); Tue, 1 Jul 2008 19:41:10 -0400 Received: from accolon.hansenpartnership.com ([76.243.235.52]:55689 "EHLO accolon.hansenpartnership.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751797AbYGAXlI (ORCPT ); Tue, 1 Jul 2008 19:41:08 -0400 Subject: Re: [PATCH 14/23] make section names compatible with -ffunction-sections -fdata-sections: parisc From: James Bottomley To: Denys Vlasenko Cc: linux-arch@vger.kernel.org, Russell King , David Howells , Ralf Baechle , Lennert Buytenhek , Josh Boyer , Paul Mackerras , David Woodhouse , Andi Kleen , torvalds@linux-foundation.org, akpm@linux-foundation.org, Paul Gortmaker , linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org, Tim Bird , Martin Schwidefsky , Dave Miller In-Reply-To: <200807020239.11410.vda.linux@googlemail.com> References: <200807020239.11410.vda.linux@googlemail.com> Content-Type: text/plain; charset=utf-8 Date: Tue, 01 Jul 2008 18:41:00 -0500 Message-Id: <1214955660.3316.31.camel@localhost.localdomain> Mime-Version: 1.0 X-Mailer: Evolution 2.22.2 (2.22.2-2.fc9) Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1178 Lines: 33 On Wed, 2008-07-02 at 02:39 +0200, Denys Vlasenko wrote: > The purpose of this patch is to make kernel buildable > with "gcc -ffunction-sections -fdata-sections". > This patch fixes parisc architecture. > > Signed-off-by: Denys Vlasenko Um ... if you look at the Makefile you'll see we already build parisc with -ffunction-sections; we have to: our relative jumps are too small to guarantee finding the stubs in large files. Since our text is -ffunction-sections compatible already, I question the need for transformations like this: > - *(.text.do_softirq) > - *(.text.sys_exit) > - *(.text.do_sigaltstack) > - *(.text.do_fork) > + *(.do_softirq.text) > + *(.sys_exit.text) > + *(.do_sigaltstack.text) > + *(.do_fork.text) And thus by the same token the data transformations. James -- 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/