Re: [PATCH 11/14] powerpc: Use macros for .data.page_alignedsection.

From: Tim Abbott
Date: Tue Apr 28 2009 - 00:21:07 EST


On Mon, 27 Apr 2009, Tim Abbott wrote:

> +++ b/arch/powerpc/kernel/vmlinux.lds.S
> @@ -222,6 +222,7 @@ SECTIONS
>
> #ifdef CONFIG_PPC32
> .data : AT(ADDR(.data) - LOAD_OFFSET) {
> + PAGE_ALIGNED_DATA
> DATA_DATA
> *(.sdata)
> *(.got.plt) *(.got)

Just noticed that PAGE_ALIGNED_DATA is only being added for CONFIG_PPC32.

Since there will be several more FOO_DATA macros being added to the .data
section, I think the right fix is to first unify the two .data output
section definitions, and then convert to using PAGE_ALIGNED_DATA.

-Tim Abbott
--
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/