Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

sh: Add a .bss.page_aligned section for 4K stacks.

Signed-off-by: Paul Mundt <lethal@linux-sh.org>

+8 -8
+8 -8
arch/sh/kernel/vmlinux.lds.S
··· 103 103 __machvec_end = .; 104 104 105 105 . = ALIGN(PAGE_SIZE); 106 - __init_end = .; 107 - 108 - . = ALIGN(4); 109 - __bss_start = .; /* BSS */ 110 - .bss : { *(.bss) } 111 - 112 - . = ALIGN(4); 113 - _end = . ; 106 + .bss : { 107 + __init_end = .; 108 + __bss_start = .; /* BSS */ 109 + *(.bss.page_aligned) 110 + *(.bss) 111 + . = ALIGN(4); 112 + _end = . ; 113 + } 114 114 115 115 /* When something in the kernel is NOT compiled as a module, the 116 116 * module cleanup code and data are put into these segments. Both