sh: Add a .bss.page_aligned section for 4K stacks.
authorPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jul 2007 01:40:36 +0000 (10:40 +0900)
committerPaul Mundt <lethal@linux-sh.org>
Thu, 12 Jul 2007 01:40:36 +0000 (10:40 +0900)
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
arch/sh/kernel/vmlinux.lds.S

index 992c25a..0696402 100644 (file)
@@ -103,14 +103,14 @@ SECTIONS
   __machvec_end = .;
 
   . = ALIGN(PAGE_SIZE);
-  __init_end = .;
-
-  . = ALIGN(4);
-  __bss_start = .;             /* BSS */
-  .bss : { *(.bss) }
-
-  . = ALIGN(4);
-  _end = . ;
+  .bss : {
+       __init_end = .;
+       __bss_start = .;                /* BSS */
+       *(.bss.page_aligned)
+       *(.bss)
+       . = ALIGN(4);
+       _end = . ;
+  }
 
   /* When something in the kernel is NOT compiled as a module, the
    * module cleanup code and data are put into these segments.  Both