sh: Add a .bss.page_aligned section for 4K stacks.
Signed-off-by: Paul Mundt <lethal@linux-sh.org>
This commit is contained in:
@@ -103,14 +103,14 @@ SECTIONS
|
|||||||
__machvec_end = .;
|
__machvec_end = .;
|
||||||
|
|
||||||
. = ALIGN(PAGE_SIZE);
|
. = ALIGN(PAGE_SIZE);
|
||||||
__init_end = .;
|
.bss : {
|
||||||
|
__init_end = .;
|
||||||
. = ALIGN(4);
|
__bss_start = .; /* BSS */
|
||||||
__bss_start = .; /* BSS */
|
*(.bss.page_aligned)
|
||||||
.bss : { *(.bss) }
|
*(.bss)
|
||||||
|
. = ALIGN(4);
|
||||||
. = ALIGN(4);
|
_end = . ;
|
||||||
_end = . ;
|
}
|
||||||
|
|
||||||
/* When something in the kernel is NOT compiled as a module, the
|
/* When something in the kernel is NOT compiled as a module, the
|
||||||
* module cleanup code and data are put into these segments. Both
|
* module cleanup code and data are put into these segments. Both
|
||||||
|
Reference in New Issue
Block a user