Messages in this thread | | | Date | Tue, 28 Apr 2009 00:20:47 -0400 (EDT) | From | Tim Abbott <> | Subject | Re: [PATCH 11/14] powerpc: Use macros for .data.page_aligned section. |
| |
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
| |