Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1758233AbZD0RD1 (ORCPT ); Mon, 27 Apr 2009 13:03:27 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1754827AbZD0RDN (ORCPT ); Mon, 27 Apr 2009 13:03:13 -0400 Received: from caramon.arm.linux.org.uk ([78.32.30.218]:41473 "EHLO caramon.arm.linux.org.uk" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753597AbZD0RDM (ORCPT ); Mon, 27 Apr 2009 13:03:12 -0400 Date: Mon, 27 Apr 2009 18:00:17 +0100 From: Russell King 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 , Paul Mundt , =?iso-8859-1?Q?Am=E9rico?= Wang , Ralf Baechle , Kyle McMartin , David Howells , Tony Luck Subject: Re: [PATCH 05/15] arm: convert to use __HEAD and HEAD_TEXT macros. Message-ID: <20090427170017.GB30189@flint.arm.linux.org.uk> References: <1240711870-30505-1-git-send-email-tabbott@mit.edu> <1240711870-30505-2-git-send-email-tabbott@mit.edu> <1240711870-30505-3-git-send-email-tabbott@mit.edu> <1240711870-30505-4-git-send-email-tabbott@mit.edu> <1240711870-30505-5-git-send-email-tabbott@mit.edu> <20090426111924.GD28642@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.18 (2008-05-17) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1376 Lines: 37 On Mon, Apr 27, 2009 at 12:46:21PM -0400, Tim Abbott wrote: > On Sun, 26 Apr 2009, Sam Ravnborg wrote: > > > > - .text.head : { > > > + HEAD_TEXT_SECTION : { > > > > Spell it out direct rather than hiding the .head.text > > behind a macro name here. > > Does .head.text actually need its own output section here? I notice that > only the linker scripts for arm, x86, and ia64 have an output section for > .head.text; the rest just place it at the start of the .text or .init.text > output section. It would be great if we could eliminate these extra > references to .head.text by doing the same thing here. It could be merged with the .init section. IOW, it becomes: .init : { /* Init code and data */ _stext = .; _sinittext = .; *(.text.head) INIT_TEXT _einittext = .; __proc_info_begin = .; *(.proc.info.init) __proc_info_end = .; ... -- Russell King Linux kernel 2.6 ARM Linux - http://www.arm.linux.org.uk/ maintainer of: -- 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/