aboutsummaryrefslogtreecommitdiffstats
path: root/arch/sh/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/sh/kernel/vmlinux.lds.S')
-rw-r--r--arch/sh/kernel/vmlinux.lds.S20
1 files changed, 11 insertions, 9 deletions
diff --git a/arch/sh/kernel/vmlinux.lds.S b/arch/sh/kernel/vmlinux.lds.S
index 4c5b57e9c3c..0696402f446 100644
--- a/arch/sh/kernel/vmlinux.lds.S
+++ b/arch/sh/kernel/vmlinux.lds.S
@@ -97,18 +97,20 @@ SECTIONS
97 __initramfs_end = .; 97 __initramfs_end = .;
98#endif 98#endif
99 99
100 . = ALIGN(4);
100 __machvec_start = .; 101 __machvec_start = .;
101 .init.machvec : { *(.init.machvec) } 102 .machvec.init : { *(.machvec.init) }
102 __machvec_end = .; 103 __machvec_end = .;
103 . = ALIGN(PAGE_SIZE);
104 __init_end = .;
105
106 . = ALIGN(4);
107 __bss_start = .; /* BSS */
108 .bss : { *(.bss) }
109 104
110 . = ALIGN(4); 105 . = ALIGN(PAGE_SIZE);
111 _end = . ; 106 .bss : {
107 __init_end = .;
108 __bss_start = .; /* BSS */
109 *(.bss.page_aligned)
110 *(.bss)
111 . = ALIGN(4);
112 _end = . ;
113 }
112 114
113 /* 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
114 * module cleanup code and data are put into these segments. Both 116 * module cleanup code and data are put into these segments. Both