Re: [PATCH 11/14] powerpc: Use macros for .data.page_aligned section.
From: Stephen Rothwell <hidden>
Date: 2009-04-28 15:14:32
Hi Tim, Firstly, patches for a particular architecture should really be cc'd to the list associated with that architecture. In this case, linuxppc-dev@ozlabs.org (cc'd). On Mon, 27 Apr 2009 16:33:05 -0400 Tim Abbott [off-list ref] wrote:
quoted hunk
+++ 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)@@ -259,11 +260,6 @@ SECTIONS *(.data.init_task) } - . = ALIGN(PAGE_SIZE); - .data.page_aligned : AT(ADDR(.data.page_aligned) - LOAD_OFFSET) { - *(.data.page_aligned) - } -
This moves the page_aligned section from a common part of the vmlinux.lds to a 32 bit only part. Was that intentional? -- Cheers, Stephen Rothwell sfr@canb.auug.org.au http://www.canb.auug.org.au/~sfr/