[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <47BE36B0.8070003@zytor.com>
Date: Thu, 21 Feb 2008 18:42:56 -0800
From: "H. Peter Anvin" <hpa@...or.com>
To: "Huang, Ying" <ying.huang@...el.com>
CC: Ingo Molnar <mingo@...e.hu>, Ingo Molnar <mingo@...hat.com>,
Thomas Gleixner <tglx@...utronix.de>, Andi Kleen <ak@...e.de>,
Ian Campbell <ijc@...lion.org.uk>,
Matt Mackall <mpm@...enic.com>, linux-kernel@...r.kernel.org
Subject: Re: [PATCH 2/2] x86 : relocate uninitialized variable in init DATA
section into init BSS section
Huang, Ying wrote:
>
> I think another method is to add a new attribute into GCC to prepend or
> append something to section name instead of just to replace it, like the
> example as follow:
>
> #define __initdata __attribute__((section_append(".init")))
>
Same difference, but less flexible.
-hpa
--
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