Skip to content

Commit

Permalink
sh: Add a .bss.page_aligned section for 4K stacks.
Browse files Browse the repository at this point in the history
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
  • Loading branch information
Paul Mundt committed Jul 12, 2007
1 parent aab1b16 commit e181127
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions arch/sh/kernel/vmlinux.lds.S
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e181127

Please sign in to comment.