aboutsummaryrefslogtreecommitdiffstats
path: root/arch/cris/kernel/vmlinux.lds.S
diff options
context:
space:
mode:
Diffstat (limited to 'arch/cris/kernel/vmlinux.lds.S')
-rw-r--r--arch/cris/kernel/vmlinux.lds.S14
1 files changed, 13 insertions, 1 deletions
diff --git a/arch/cris/kernel/vmlinux.lds.S b/arch/cris/kernel/vmlinux.lds.S
index d49d17d2a14f..442218980db0 100644
--- a/arch/cris/kernel/vmlinux.lds.S
+++ b/arch/cris/kernel/vmlinux.lds.S
@@ -58,6 +58,8 @@ SECTIONS
58 ___data_start = . ; 58 ___data_start = . ;
59 __Sdata = . ; 59 __Sdata = . ;
60 .data : { /* Data */ 60 .data : { /* Data */
61 CACHELINE_ALIGNED_DATA(32)
62 READ_MOSTLY_DATA(32)
61 DATA_DATA 63 DATA_DATA
62 } 64 }
63 __edata = . ; /* End of data section. */ 65 __edata = . ; /* End of data section. */
@@ -84,6 +86,16 @@ SECTIONS
84 } 86 }
85 SECURITY_INIT 87 SECURITY_INIT
86 88
89 /* .exit.text is discarded at runtime, not link time,
90 * to deal with references from __bug_table
91 */
92 .exit.text : {
93 EXIT_TEXT
94 }
95 .exit.data : {
96 EXIT_DATA
97 }
98
87#ifdef CONFIG_ETRAX_ARCH_V10 99#ifdef CONFIG_ETRAX_ARCH_V10
88#ifdef CONFIG_BLK_DEV_INITRD 100#ifdef CONFIG_BLK_DEV_INITRD
89 .init.ramfs : { 101 .init.ramfs : {
@@ -112,7 +124,7 @@ SECTIONS
112 __init_end = .; 124 __init_end = .;
113 125
114 __data_end = . ; /* Move to _edata ? */ 126 __data_end = . ; /* Move to _edata ? */
115 BSS_SECTION(0, 0, 0) 127 BSS_SECTION(1, 1, 1)
116 128
117 . = ALIGN (0x20); 129 . = ALIGN (0x20);
118 _end = .; 130 _end = .;