diff options
Diffstat (limited to 'arch/frv/kernel/vmlinux.lds.S')
-rw-r--r-- | arch/frv/kernel/vmlinux.lds.S | 66 |
1 files changed, 7 insertions, 59 deletions
diff --git a/arch/frv/kernel/vmlinux.lds.S b/arch/frv/kernel/vmlinux.lds.S index 7dbf41f68b52..cbe811fccfcc 100644 --- a/arch/frv/kernel/vmlinux.lds.S +++ b/arch/frv/kernel/vmlinux.lds.S | |||
@@ -35,50 +35,13 @@ SECTIONS | |||
35 | #endif | 35 | #endif |
36 | } | 36 | } |
37 | _einittext = .; | 37 | _einittext = .; |
38 | .init.data : { INIT_DATA } | ||
39 | |||
40 | . = ALIGN(8); | ||
41 | __setup_start = .; | ||
42 | .setup.init : { KEEP(*(.init.setup)) } | ||
43 | __setup_end = .; | ||
44 | |||
45 | __initcall_start = .; | ||
46 | .initcall.init : { | ||
47 | INITCALLS | ||
48 | } | ||
49 | __initcall_end = .; | ||
50 | __con_initcall_start = .; | ||
51 | .con_initcall.init : { *(.con_initcall.init) } | ||
52 | __con_initcall_end = .; | ||
53 | SECURITY_INIT | ||
54 | . = ALIGN(4); | ||
55 | __alt_instructions = .; | ||
56 | .altinstructions : { *(.altinstructions) } | ||
57 | __alt_instructions_end = .; | ||
58 | .altinstr_replacement : { *(.altinstr_replacement) } | ||
59 | 38 | ||
39 | INIT_DATA_SECTION(8) | ||
60 | PERCPU(4096) | 40 | PERCPU(4096) |
61 | 41 | ||
62 | #ifdef CONFIG_BLK_DEV_INITRD | 42 | . = ALIGN(PAGE_SIZE); |
63 | . = ALIGN(4096); | ||
64 | __initramfs_start = .; | ||
65 | .init.ramfs : { *(.init.ramfs) } | ||
66 | __initramfs_end = .; | ||
67 | #endif | ||
68 | |||
69 | . = ALIGN(THREAD_SIZE); | ||
70 | __init_end = .; | 43 | __init_end = .; |
71 | 44 | ||
72 | /* put sections together that have massive alignment issues */ | ||
73 | . = ALIGN(THREAD_SIZE); | ||
74 | .data.init_task : { | ||
75 | /* init task record & stack */ | ||
76 | *(.data.init_task) | ||
77 | } | ||
78 | |||
79 | . = ALIGN(L1_CACHE_BYTES); | ||
80 | .data.cacheline_aligned : { *(.data.cacheline_aligned) } | ||
81 | |||
82 | .trap : { | 45 | .trap : { |
83 | /* trap table management - read entry-table.S before modifying */ | 46 | /* trap table management - read entry-table.S before modifying */ |
84 | . = ALIGN(8192); | 47 | . = ALIGN(8192); |
@@ -124,13 +87,12 @@ SECTIONS | |||
124 | 87 | ||
125 | } | 88 | } |
126 | 89 | ||
127 | . = ALIGN(8); /* Exception table */ | 90 | EXCEPTION_TABLE(8) |
128 | __start___ex_table = .; | ||
129 | __ex_table : { KEEP(*(__ex_table)) } | ||
130 | __stop___ex_table = .; | ||
131 | 91 | ||
132 | _sdata = .; | 92 | _sdata = .; |
133 | .data : { /* Data */ | 93 | .data : { /* Data */ |
94 | INIT_TASK_DATA(THREAD_SIZE) | ||
95 | CACHELINE_ALIGNED_DATA(L1_CACHE_BYTES) | ||
134 | DATA_DATA | 96 | DATA_DATA |
135 | *(.data.*) | 97 | *(.data.*) |
136 | EXIT_DATA | 98 | EXIT_DATA |
@@ -159,22 +121,8 @@ SECTIONS | |||
159 | . = ALIGN(PAGE_SIZE); | 121 | . = ALIGN(PAGE_SIZE); |
160 | __kernel_image_end = .; | 122 | __kernel_image_end = .; |
161 | 123 | ||
162 | /* Stabs debugging sections. */ | 124 | STABS_DEBUG |
163 | .stab 0 : { *(.stab) } | 125 | DWARF_DEBUG |
164 | .stabstr 0 : { *(.stabstr) } | ||
165 | .stab.excl 0 : { *(.stab.excl) } | ||
166 | .stab.exclstr 0 : { *(.stab.exclstr) } | ||
167 | .stab.index 0 : { *(.stab.index) } | ||
168 | .stab.indexstr 0 : { *(.stab.indexstr) } | ||
169 | |||
170 | .debug_line 0 : { *(.debug_line) } | ||
171 | .debug_info 0 : { *(.debug_info) } | ||
172 | .debug_abbrev 0 : { *(.debug_abbrev) } | ||
173 | .debug_aranges 0 : { *(.debug_aranges) } | ||
174 | .debug_frame 0 : { *(.debug_frame) } | ||
175 | .debug_pubnames 0 : { *(.debug_pubnames) } | ||
176 | .debug_str 0 : { *(.debug_str) } | ||
177 | .debug_ranges 0 : { *(.debug_ranges) } | ||
178 | 126 | ||
179 | .comment 0 : { *(.comment) } | 127 | .comment 0 : { *(.comment) } |
180 | 128 | ||