Re: [PATCH 2/2] x86 : relocate uninitialized variable in init DATAsection into init BSS section

From: H. Peter Anvin
Date: Thu Feb 21 2008 - 22:00:33 EST


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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/