Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755147AbZDZCrq (ORCPT ); Sat, 25 Apr 2009 22:47:46 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1751264AbZDZCrh (ORCPT ); Sat, 25 Apr 2009 22:47:37 -0400 Received: from 124x34x33x190.ap124.ftth.ucom.ne.jp ([124.34.33.190]:50611 "EHLO master.linux-sh.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751258AbZDZCrg (ORCPT ); Sat, 25 Apr 2009 22:47:36 -0400 Date: Sun, 26 Apr 2009 11:42:21 +0900 From: Paul Mundt To: Tim Abbott Cc: Sam Ravnborg , Linus Torvalds , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters , Masami Hiramatsu , "Theodore Ts'o" , Nikanth Karthikesan , Arjan van de Ven , Am?rico Wang Subject: Re: [PATCH v3 1/3] Make section names compatible with -ffunction-sections -fdata-sections Message-ID: <20090426024221.GA7286@linux-sh.org> Mail-Followup-To: Paul Mundt , Tim Abbott , Sam Ravnborg , Linus Torvalds , Linux kernel mailing list , Anders Kaseorg , Waseem Daher , Denys Vlasenko , Rusty Russell , Andi Kleen , "H. Peter Anvin" , Stephen Rothwell , Jeff Arnold , Andrew Morton , Jon Masters , Masami Hiramatsu , Theodore Ts'o , Nikanth Karthikesan , Arjan van de Ven , Am?rico Wang References: <1240519774-20307-1-git-send-email-tabbott@mit.edu> <20090424172358.GA21946@uranus.ravnborg.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.13 (2006-08-11) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1343 Lines: 31 On Sat, Apr 25, 2009 at 10:10:38PM -0400, Tim Abbott wrote: > On Fri, 24 Apr 2009, Sam Ravnborg wrote: > > > This patch touches far too many files. > > We should try to work out a method so we are in better control > > of the section names, so renaming in the end is a simple patch > > touching only a few files. > > OK, I'm now planning to implement this approach. > > > > -.section .text.head, "ax" > > > +.section .text..head, "ax" > > > > Use __HEAD (from include/linux/init.h) > > Same goes for all other uses of .text.head. > > I notice that __HEAD uses .head.text, while some architectures use > .text.head. It looks like this is just an inconsistency across > architectures that will be removed as a consequence of this cleanup work > (no architecture uses both .head.text and .text.head). > The use of .text.head is quite intentional. See f8657e1b55901e6c227094258d1fa3642fa242bd for starters. Most of the rest of the platforms that switched did so for section mismatch avoidance reasons, those that kept .head.text presumably did not hit these mismatches or simply didn't care. -- 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/