diff options
author | Paul Mundt <lethal@linux-sh.org> | 2007-07-11 21:40:36 -0400 |
---|---|---|
committer | Paul Mundt <lethal@linux-sh.org> | 2007-07-11 21:40:36 -0400 |
commit | e181127a7a12c5d8e29afa19d235b53bf4140cb3 (patch) | |
tree | f6710a97673ea8c0d37448015501d7be1fcab587 /arch | |
parent | aab1b16a61d653173b1c5f158c51ec08dd6605b0 (diff) |
sh: Add a .bss.page_aligned section for 4K stacks.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
Diffstat (limited to 'arch')
-rw-r--r-- | arch/sh/kernel/vmlinux.lds.S | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S index 992c25ad377f..0696402f446a 100644 --- a/arch/sh/kernel/vmlinux.lds.S +++ b/arch/sh/kernel/vmlinux.lds.S | |||
@@ -103,14 +103,14 @@ SECTIONS | |||
103 | __machvec_end = .; | 103 | __machvec_end = .; |
104 | 104 | ||
105 | . = ALIGN(PAGE_SIZE); | 105 | . = ALIGN(PAGE_SIZE); |
106 | __init_end = .; | 106 | .bss : { |
107 | 107 | __init_end = .; | |
108 | . = ALIGN(4); | 108 | __bss_start = .; /* BSS */ |
109 | __bss_start = .; /* BSS */ | 109 | *(.bss.page_aligned) |
110 | .bss : { *(.bss) } | 110 | *(.bss) |
111 | 111 | . = ALIGN(4); | |
112 | . = ALIGN(4); | 112 | _end = . ; |
113 | _end = . ; | 113 | } |
114 | 114 | ||
115 | /* When something in the kernel is NOT compiled as a module, the | 115 | /* When something in the kernel is NOT compiled as a module, the |
116 | * module cleanup code and data are put into these segments. Both | 116 | * module cleanup code and data are put into these segments. Both |