[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20090427170017.GB30189@flint.arm.linux.org.uk>
Date: Mon, 27 Apr 2009 18:00:17 +0100
From: Russell King <rmk+lkml@....linux.org.uk>
To: Tim Abbott <tabbott@....EDU>
Cc: Sam Ravnborg <sam@...nborg.org>,
Linus Torvalds <torvalds@...ux-foundation.org>,
Linux kernel mailing list <linux-kernel@...r.kernel.org>,
Anders Kaseorg <andersk@....edu>,
Waseem Daher <wdaher@....edu>,
Denys Vlasenko <vda.linux@...glemail.com>,
Rusty Russell <rusty@...tcorp.com.au>,
Andi Kleen <andi@...stfloor.org>,
"H. Peter Anvin" <hpa@...or.com>,
Stephen Rothwell <sfr@...b.auug.org.au>,
Jeff Arnold <jbarnold@....edu>,
Andrew Morton <akpm@...ux-foundation.org>,
Jon Masters <jonathan@...masters.org>,
Masami Hiramatsu <mhiramat@...hat.com>,
Theodore Ts'o <tytso@....edu>,
Nikanth Karthikesan <knikanth@...e.de>,
Arjan van de Ven <arjan@...radead.org>,
Paul Mundt <lethal@...ux-sh.org>,
Américo Wang <xiyou.wangcong@...il.com>,
Ralf Baechle <ralf@...ux-mips.org>,
Kyle McMartin <kyle@...artin.ca>,
David Howells <dhowells@...hat.com>,
Tony Luck <tony.luck@...el.com>
Subject: Re: [PATCH 05/15] arm: convert to use __HEAD and HEAD_TEXT macros.
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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists