blob: cb752ba7246611d7f326af760bfbe96a1e4b2592 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef LOAD_OFFSET
2#define LOAD_OFFSET 0
3#endif
4
5#ifndef VMLINUX_SYMBOL
6#define VMLINUX_SYMBOL(_sym_) _sym_
7#endif
8
Sam Ravnborg6d30e3a2005-07-14 20:15:44 +00009/* Align . to a 8 byte boundary equals to maximum function alignment. */
10#define ALIGN_FUNCTION() . = ALIGN(8)
11
Sam Ravnborgeb8f6892008-01-20 20:07:28 +010012/* The actual configuration determine if the init/exit sections
13 * are handled as text/data or they can be discarded (which
14 * often happens at runtime)
15 */
16#ifdef CONFIG_HOTPLUG
17#define DEV_KEEP(sec) *(.dev##sec)
18#define DEV_DISCARD(sec)
19#else
20#define DEV_KEEP(sec)
21#define DEV_DISCARD(sec) *(.dev##sec)
22#endif
23
24#ifdef CONFIG_HOTPLUG_CPU
25#define CPU_KEEP(sec) *(.cpu##sec)
26#define CPU_DISCARD(sec)
27#else
28#define CPU_KEEP(sec)
29#define CPU_DISCARD(sec) *(.cpu##sec)
30#endif
31
Adrian Bunk1a3fb6d2008-01-24 22:20:18 +010032#if defined(CONFIG_MEMORY_HOTPLUG)
Sam Ravnborgeb8f6892008-01-20 20:07:28 +010033#define MEM_KEEP(sec) *(.mem##sec)
34#define MEM_DISCARD(sec)
35#else
36#define MEM_KEEP(sec)
37#define MEM_DISCARD(sec) *(.mem##sec)
38#endif
39
40
Sam Ravnborgca967252007-05-17 13:38:44 +020041/* .data section */
42#define DATA_DATA \
Sam Ravnborg0e0d3142007-05-17 20:14:48 +020043 *(.data) \
Mathieu Desnoyers8256e472007-10-18 23:41:06 -070044 *(.data.init.refok) \
Sam Ravnborg312b1482008-01-28 20:21:15 +010045 *(.ref.data) \
Sam Ravnborgeb8f6892008-01-20 20:07:28 +010046 DEV_KEEP(init.data) \
47 DEV_KEEP(exit.data) \
48 CPU_KEEP(init.data) \
49 CPU_KEEP(exit.data) \
50 MEM_KEEP(init.data) \
51 MEM_KEEP(exit.data) \
Mathieu Desnoyers8256e472007-10-18 23:41:06 -070052 . = ALIGN(8); \
53 VMLINUX_SYMBOL(__start___markers) = .; \
54 *(__markers) \
55 VMLINUX_SYMBOL(__stop___markers) = .;
Sam Ravnborgca967252007-05-17 13:38:44 +020056
Sam Ravnborg4096b462007-05-29 21:29:00 +020057#define RO_DATA(align) \
58 . = ALIGN((align)); \
Linus Torvalds1da177e2005-04-16 15:20:36 -070059 .rodata : AT(ADDR(.rodata) - LOAD_OFFSET) { \
Vivek Goyal65695802006-12-07 02:14:03 +010060 VMLINUX_SYMBOL(__start_rodata) = .; \
Linus Torvalds1da177e2005-04-16 15:20:36 -070061 *(.rodata) *(.rodata.*) \
62 *(__vermagic) /* Kernel version magic */ \
Mathieu Desnoyers8256e472007-10-18 23:41:06 -070063 *(__markers_strings) /* Markers: strings */ \
Linus Torvalds1da177e2005-04-16 15:20:36 -070064 } \
65 \
66 .rodata1 : AT(ADDR(.rodata1) - LOAD_OFFSET) { \
67 *(.rodata1) \
68 } \
69 \
Jan Beulich6360b1f2008-05-12 15:44:41 +020070 BUG_TABLE \
71 \
Linus Torvalds1da177e2005-04-16 15:20:36 -070072 /* PCI quirks */ \
73 .pci_fixup : AT(ADDR(.pci_fixup) - LOAD_OFFSET) { \
74 VMLINUX_SYMBOL(__start_pci_fixups_early) = .; \
75 *(.pci_fixup_early) \
76 VMLINUX_SYMBOL(__end_pci_fixups_early) = .; \
77 VMLINUX_SYMBOL(__start_pci_fixups_header) = .; \
78 *(.pci_fixup_header) \
79 VMLINUX_SYMBOL(__end_pci_fixups_header) = .; \
80 VMLINUX_SYMBOL(__start_pci_fixups_final) = .; \
81 *(.pci_fixup_final) \
82 VMLINUX_SYMBOL(__end_pci_fixups_final) = .; \
83 VMLINUX_SYMBOL(__start_pci_fixups_enable) = .; \
84 *(.pci_fixup_enable) \
85 VMLINUX_SYMBOL(__end_pci_fixups_enable) = .; \
Alan Cox1597cac2006-12-04 15:14:45 -080086 VMLINUX_SYMBOL(__start_pci_fixups_resume) = .; \
87 *(.pci_fixup_resume) \
88 VMLINUX_SYMBOL(__end_pci_fixups_resume) = .; \
Rafael J. Wysockie1a2a512008-05-15 21:51:31 +020089 VMLINUX_SYMBOL(__start_pci_fixups_resume_early) = .; \
90 *(.pci_fixup_resume_early) \
91 VMLINUX_SYMBOL(__end_pci_fixups_resume_early) = .; \
92 VMLINUX_SYMBOL(__start_pci_fixups_suspend) = .; \
93 *(.pci_fixup_suspend) \
94 VMLINUX_SYMBOL(__end_pci_fixups_suspend) = .; \
Linus Torvalds1da177e2005-04-16 15:20:36 -070095 } \
96 \
David Woodhouse5658c762008-05-23 13:52:42 +010097 /* Built-in firmware blobs */ \
98 .builtin_fw : AT(ADDR(.builtin_fw) - LOAD_OFFSET) { \
99 VMLINUX_SYMBOL(__start_builtin_fw) = .; \
100 *(.builtin_fw) \
101 VMLINUX_SYMBOL(__end_builtin_fw) = .; \
102 } \
103 \
Matt Porter394b7012005-11-07 01:00:15 -0800104 /* RapidIO route ops */ \
105 .rio_route : AT(ADDR(.rio_route) - LOAD_OFFSET) { \
106 VMLINUX_SYMBOL(__start_rio_route_ops) = .; \
107 *(.rio_route_ops) \
108 VMLINUX_SYMBOL(__end_rio_route_ops) = .; \
109 } \
110 \
Jan Beulich63687a52008-05-12 15:44:41 +0200111 TRACEDATA \
112 \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700113 /* Kernel symbol table: Normal symbols */ \
114 __ksymtab : AT(ADDR(__ksymtab) - LOAD_OFFSET) { \
115 VMLINUX_SYMBOL(__start___ksymtab) = .; \
116 *(__ksymtab) \
117 VMLINUX_SYMBOL(__stop___ksymtab) = .; \
118 } \
119 \
120 /* Kernel symbol table: GPL-only symbols */ \
121 __ksymtab_gpl : AT(ADDR(__ksymtab_gpl) - LOAD_OFFSET) { \
122 VMLINUX_SYMBOL(__start___ksymtab_gpl) = .; \
123 *(__ksymtab_gpl) \
124 VMLINUX_SYMBOL(__stop___ksymtab_gpl) = .; \
125 } \
126 \
Arjan van de Venf71d20e2006-06-28 04:26:45 -0700127 /* Kernel symbol table: Normal unused symbols */ \
128 __ksymtab_unused : AT(ADDR(__ksymtab_unused) - LOAD_OFFSET) { \
129 VMLINUX_SYMBOL(__start___ksymtab_unused) = .; \
130 *(__ksymtab_unused) \
131 VMLINUX_SYMBOL(__stop___ksymtab_unused) = .; \
132 } \
133 \
134 /* Kernel symbol table: GPL-only unused symbols */ \
135 __ksymtab_unused_gpl : AT(ADDR(__ksymtab_unused_gpl) - LOAD_OFFSET) { \
136 VMLINUX_SYMBOL(__start___ksymtab_unused_gpl) = .; \
137 *(__ksymtab_unused_gpl) \
138 VMLINUX_SYMBOL(__stop___ksymtab_unused_gpl) = .; \
139 } \
140 \
Greg Kroah-Hartman9f28bb72006-03-20 13:17:13 -0800141 /* Kernel symbol table: GPL-future-only symbols */ \
142 __ksymtab_gpl_future : AT(ADDR(__ksymtab_gpl_future) - LOAD_OFFSET) { \
143 VMLINUX_SYMBOL(__start___ksymtab_gpl_future) = .; \
144 *(__ksymtab_gpl_future) \
145 VMLINUX_SYMBOL(__stop___ksymtab_gpl_future) = .; \
146 } \
147 \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700148 /* Kernel symbol table: Normal symbols */ \
149 __kcrctab : AT(ADDR(__kcrctab) - LOAD_OFFSET) { \
150 VMLINUX_SYMBOL(__start___kcrctab) = .; \
151 *(__kcrctab) \
152 VMLINUX_SYMBOL(__stop___kcrctab) = .; \
153 } \
154 \
155 /* Kernel symbol table: GPL-only symbols */ \
156 __kcrctab_gpl : AT(ADDR(__kcrctab_gpl) - LOAD_OFFSET) { \
157 VMLINUX_SYMBOL(__start___kcrctab_gpl) = .; \
158 *(__kcrctab_gpl) \
159 VMLINUX_SYMBOL(__stop___kcrctab_gpl) = .; \
160 } \
161 \
Arjan van de Venf71d20e2006-06-28 04:26:45 -0700162 /* Kernel symbol table: Normal unused symbols */ \
163 __kcrctab_unused : AT(ADDR(__kcrctab_unused) - LOAD_OFFSET) { \
164 VMLINUX_SYMBOL(__start___kcrctab_unused) = .; \
165 *(__kcrctab_unused) \
166 VMLINUX_SYMBOL(__stop___kcrctab_unused) = .; \
167 } \
168 \
169 /* Kernel symbol table: GPL-only unused symbols */ \
170 __kcrctab_unused_gpl : AT(ADDR(__kcrctab_unused_gpl) - LOAD_OFFSET) { \
171 VMLINUX_SYMBOL(__start___kcrctab_unused_gpl) = .; \
172 *(__kcrctab_unused_gpl) \
173 VMLINUX_SYMBOL(__stop___kcrctab_unused_gpl) = .; \
174 } \
175 \
Greg Kroah-Hartman9f28bb72006-03-20 13:17:13 -0800176 /* Kernel symbol table: GPL-future-only symbols */ \
177 __kcrctab_gpl_future : AT(ADDR(__kcrctab_gpl_future) - LOAD_OFFSET) { \
178 VMLINUX_SYMBOL(__start___kcrctab_gpl_future) = .; \
179 *(__kcrctab_gpl_future) \
180 VMLINUX_SYMBOL(__stop___kcrctab_gpl_future) = .; \
181 } \
182 \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700183 /* Kernel symbol table: strings */ \
184 __ksymtab_strings : AT(ADDR(__ksymtab_strings) - LOAD_OFFSET) { \
185 *(__ksymtab_strings) \
186 } \
187 \
Sam Ravnborgeb8f6892008-01-20 20:07:28 +0100188 /* __*init sections */ \
189 __init_rodata : AT(ADDR(__init_rodata) - LOAD_OFFSET) { \
Sam Ravnborg312b1482008-01-28 20:21:15 +0100190 *(.ref.rodata) \
Sam Ravnborgeb8f6892008-01-20 20:07:28 +0100191 DEV_KEEP(init.rodata) \
192 DEV_KEEP(exit.rodata) \
193 CPU_KEEP(init.rodata) \
194 CPU_KEEP(exit.rodata) \
195 MEM_KEEP(init.rodata) \
196 MEM_KEEP(exit.rodata) \
197 } \
198 \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700199 /* Built-in module parameters. */ \
200 __param : AT(ADDR(__param) - LOAD_OFFSET) { \
201 VMLINUX_SYMBOL(__start___param) = .; \
202 *(__param) \
203 VMLINUX_SYMBOL(__stop___param) = .; \
Arjan van de Venedeed302008-01-30 13:34:08 +0100204 . = ALIGN((align)); \
Vivek Goyal65695802006-12-07 02:14:03 +0100205 VMLINUX_SYMBOL(__end_rodata) = .; \
Marcelo Tosatti7583ddf2006-09-27 01:51:02 -0700206 } \
Sam Ravnborg4096b462007-05-29 21:29:00 +0200207 . = ALIGN((align));
208
209/* RODATA provided for backward compatibility.
210 * All archs are supposed to use RO_DATA() */
211#define RODATA RO_DATA(4096)
Linus Torvalds1da177e2005-04-16 15:20:36 -0700212
213#define SECURITY_INIT \
Eric W. Biederman60bad7f2005-06-25 14:57:46 -0700214 .security_initcall.init : AT(ADDR(.security_initcall.init) - LOAD_OFFSET) { \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700215 VMLINUX_SYMBOL(__security_initcall_start) = .; \
216 *(.security_initcall.init) \
217 VMLINUX_SYMBOL(__security_initcall_end) = .; \
218 }
219
Sam Ravnborg76647092007-05-13 00:31:33 +0200220/* .text section. Map to function alignment to avoid address changes
221 * during second ld run in second ld pass when generating System.map */
222#define TEXT_TEXT \
223 ALIGN_FUNCTION(); \
Jan Beulichfb5e2b32008-06-18 12:36:01 +0100224 *(.text.hot) \
Sam Ravnborg0e0d3142007-05-17 20:14:48 +0200225 *(.text) \
Sam Ravnborg312b1482008-01-28 20:21:15 +0100226 *(.ref.text) \
Al Viro23ec23c2007-10-13 08:40:24 +0100227 *(.text.init.refok) \
Sam Ravnborgeb8f6892008-01-20 20:07:28 +0100228 *(.exit.text.refok) \
229 DEV_KEEP(init.text) \
230 DEV_KEEP(exit.text) \
231 CPU_KEEP(init.text) \
232 CPU_KEEP(exit.text) \
233 MEM_KEEP(init.text) \
Jan Beulichfb5e2b32008-06-18 12:36:01 +0100234 MEM_KEEP(exit.text) \
235 *(.text.unlikely)
Sam Ravnborgeb8f6892008-01-20 20:07:28 +0100236
Sam Ravnborg76647092007-05-13 00:31:33 +0200237
Sam Ravnborg6d30e3a2005-07-14 20:15:44 +0000238/* sched.text is aling to function alignment to secure we have same
239 * address even at second ld pass when generating System.map */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700240#define SCHED_TEXT \
Sam Ravnborg6d30e3a2005-07-14 20:15:44 +0000241 ALIGN_FUNCTION(); \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700242 VMLINUX_SYMBOL(__sched_text_start) = .; \
243 *(.sched.text) \
244 VMLINUX_SYMBOL(__sched_text_end) = .;
245
Sam Ravnborg6d30e3a2005-07-14 20:15:44 +0000246/* spinlock.text is aling to function alignment to secure we have same
247 * address even at second ld pass when generating System.map */
Linus Torvalds1da177e2005-04-16 15:20:36 -0700248#define LOCK_TEXT \
Sam Ravnborg6d30e3a2005-07-14 20:15:44 +0000249 ALIGN_FUNCTION(); \
Linus Torvalds1da177e2005-04-16 15:20:36 -0700250 VMLINUX_SYMBOL(__lock_text_start) = .; \
251 *(.spinlock.text) \
252 VMLINUX_SYMBOL(__lock_text_end) = .;
Prasanna S Panchamukhid0aaff92005-09-06 15:19:26 -0700253
254#define KPROBES_TEXT \
255 ALIGN_FUNCTION(); \
256 VMLINUX_SYMBOL(__kprobes_text_start) = .; \
257 *(.kprobes.text) \
258 VMLINUX_SYMBOL(__kprobes_text_end) = .;
Paolo 'Blaisorblade' Giarrussoa7d0c212005-09-10 19:44:54 +0200259
Sam Ravnborg37c514e2008-02-19 21:00:18 +0100260/* Section used for early init (in .S files) */
261#define HEAD_TEXT *(.head.text)
262
Sam Ravnborg01ba2bd2008-01-20 14:15:03 +0100263/* init and exit section handling */
Sam Ravnborgeb8f6892008-01-20 20:07:28 +0100264#define INIT_DATA \
265 *(.init.data) \
266 DEV_DISCARD(init.data) \
267 DEV_DISCARD(init.rodata) \
268 CPU_DISCARD(init.data) \
269 CPU_DISCARD(init.rodata) \
270 MEM_DISCARD(init.data) \
271 MEM_DISCARD(init.rodata)
Sam Ravnborg01ba2bd2008-01-20 14:15:03 +0100272
Sam Ravnborgeb8f6892008-01-20 20:07:28 +0100273#define INIT_TEXT \
274 *(.init.text) \
275 DEV_DISCARD(init.text) \
276 CPU_DISCARD(init.text) \
277 MEM_DISCARD(init.text)
278
279#define EXIT_DATA \
280 *(.exit.data) \
281 DEV_DISCARD(exit.data) \
282 DEV_DISCARD(exit.rodata) \
283 CPU_DISCARD(exit.data) \
284 CPU_DISCARD(exit.rodata) \
285 MEM_DISCARD(exit.data) \
286 MEM_DISCARD(exit.rodata)
287
288#define EXIT_TEXT \
289 *(.exit.text) \
290 DEV_DISCARD(exit.text) \
291 CPU_DISCARD(exit.text) \
292 MEM_DISCARD(exit.text)
Sam Ravnborg01ba2bd2008-01-20 14:15:03 +0100293
Paolo 'Blaisorblade' Giarrussoa7d0c212005-09-10 19:44:54 +0200294 /* DWARF debug sections.
295 Symbols in the DWARF debugging sections are relative to
296 the beginning of the section so we begin them at 0. */
297#define DWARF_DEBUG \
298 /* DWARF 1 */ \
299 .debug 0 : { *(.debug) } \
300 .line 0 : { *(.line) } \
301 /* GNU DWARF 1 extensions */ \
302 .debug_srcinfo 0 : { *(.debug_srcinfo) } \
303 .debug_sfnames 0 : { *(.debug_sfnames) } \
304 /* DWARF 1.1 and DWARF 2 */ \
305 .debug_aranges 0 : { *(.debug_aranges) } \
306 .debug_pubnames 0 : { *(.debug_pubnames) } \
307 /* DWARF 2 */ \
308 .debug_info 0 : { *(.debug_info \
309 .gnu.linkonce.wi.*) } \
310 .debug_abbrev 0 : { *(.debug_abbrev) } \
311 .debug_line 0 : { *(.debug_line) } \
312 .debug_frame 0 : { *(.debug_frame) } \
313 .debug_str 0 : { *(.debug_str) } \
314 .debug_loc 0 : { *(.debug_loc) } \
315 .debug_macinfo 0 : { *(.debug_macinfo) } \
316 /* SGI/MIPS DWARF 2 extensions */ \
317 .debug_weaknames 0 : { *(.debug_weaknames) } \
318 .debug_funcnames 0 : { *(.debug_funcnames) } \
319 .debug_typenames 0 : { *(.debug_typenames) } \
320 .debug_varnames 0 : { *(.debug_varnames) } \
321
322 /* Stabs debugging sections. */
323#define STABS_DEBUG \
324 .stab 0 : { *(.stab) } \
325 .stabstr 0 : { *(.stabstr) } \
326 .stab.excl 0 : { *(.stab.excl) } \
327 .stab.exclstr 0 : { *(.stab.exclstr) } \
328 .stab.index 0 : { *(.stab.index) } \
329 .stab.indexstr 0 : { *(.stab.indexstr) } \
330 .comment 0 : { *(.comment) }
Jeremy Fitzhardinge9c9b8b32006-09-25 23:32:26 -0700331
Jan Beulich6360b1f2008-05-12 15:44:41 +0200332#ifdef CONFIG_GENERIC_BUG
Jeremy Fitzhardinge7664c5a2006-12-08 02:36:19 -0800333#define BUG_TABLE \
334 . = ALIGN(8); \
335 __bug_table : AT(ADDR(__bug_table) - LOAD_OFFSET) { \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700336 VMLINUX_SYMBOL(__start___bug_table) = .; \
Jeremy Fitzhardinge7664c5a2006-12-08 02:36:19 -0800337 *(__bug_table) \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700338 VMLINUX_SYMBOL(__stop___bug_table) = .; \
Jeremy Fitzhardinge7664c5a2006-12-08 02:36:19 -0800339 }
Jan Beulich6360b1f2008-05-12 15:44:41 +0200340#else
341#define BUG_TABLE
342#endif
Jeremy Fitzhardinge7664c5a2006-12-08 02:36:19 -0800343
Jan Beulich63687a52008-05-12 15:44:41 +0200344#ifdef CONFIG_PM_TRACE
345#define TRACEDATA \
346 . = ALIGN(4); \
347 .tracedata : AT(ADDR(.tracedata) - LOAD_OFFSET) { \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700348 VMLINUX_SYMBOL(__tracedata_start) = .; \
Jan Beulich63687a52008-05-12 15:44:41 +0200349 *(.tracedata) \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700350 VMLINUX_SYMBOL(__tracedata_end) = .; \
Jan Beulich63687a52008-05-12 15:44:41 +0200351 }
352#else
353#define TRACEDATA
354#endif
355
Jeremy Fitzhardinge9c9b8b32006-09-25 23:32:26 -0700356#define NOTES \
Roland McGrathcbe87122007-07-19 01:48:36 -0700357 .notes : AT(ADDR(.notes) - LOAD_OFFSET) { \
358 VMLINUX_SYMBOL(__start_notes) = .; \
359 *(.note.*) \
360 VMLINUX_SYMBOL(__stop_notes) = .; \
361 }
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700362
363#define INITCALLS \
Eduard - Gabriel Munteanuc2147a52008-07-25 19:45:11 -0700364 *(.initcallearly.init) \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700365 VMLINUX_SYMBOL(__early_initcall_end) = .; \
Linus Torvaldsb3438f82006-11-20 11:47:18 -0800366 *(.initcall0.init) \
367 *(.initcall0s.init) \
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700368 *(.initcall1.init) \
Andrew Morton735a7ff2006-10-27 11:42:37 -0700369 *(.initcall1s.init) \
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700370 *(.initcall2.init) \
Andrew Morton735a7ff2006-10-27 11:42:37 -0700371 *(.initcall2s.init) \
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700372 *(.initcall3.init) \
Andrew Morton735a7ff2006-10-27 11:42:37 -0700373 *(.initcall3s.init) \
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700374 *(.initcall4.init) \
Andrew Morton735a7ff2006-10-27 11:42:37 -0700375 *(.initcall4s.init) \
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700376 *(.initcall5.init) \
Andrew Morton735a7ff2006-10-27 11:42:37 -0700377 *(.initcall5s.init) \
Linus Torvalds8d610dd2006-12-11 12:12:04 -0800378 *(.initcallrootfs.init) \
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700379 *(.initcall6.init) \
Andrew Morton735a7ff2006-10-27 11:42:37 -0700380 *(.initcall6s.init) \
381 *(.initcall7.init) \
382 *(.initcall7s.init)
Andrew Morton61ce1ef2006-10-27 11:41:44 -0700383
Fenghua Yu5fb7dc32007-07-19 01:48:12 -0700384#define PERCPU(align) \
385 . = ALIGN(align); \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700386 VMLINUX_SYMBOL(__per_cpu_start) = .; \
Fenghua Yu5fb7dc32007-07-19 01:48:12 -0700387 .data.percpu : AT(ADDR(.data.percpu) - LOAD_OFFSET) { \
388 *(.data.percpu) \
389 *(.data.percpu.shared_aligned) \
390 } \
Yoshinori Satoc6de00262008-07-31 00:07:29 -0700391 VMLINUX_SYMBOL(__per_cpu_end) = .;