blob: d083561337f2204bfd7e456e308ef75fc3b12d37 [file] [log] [blame]
Linus Torvalds1da177e2005-04-16 15:20:36 -07001#ifndef _ASM_GENERIC_SECTIONS_H_
2#define _ASM_GENERIC_SECTIONS_H_
3
4/* References to section boundaries */
5
6extern char _text[], _stext[], _etext[];
7extern char _data[], _sdata[], _edata[];
8extern char __bss_start[], __bss_stop[];
9extern char __init_begin[], __init_end[];
10extern char _sinittext[], _einittext[];
Linus Torvalds1da177e2005-04-16 15:20:36 -070011extern char _end[];
Tejun Heo3e5d8f92009-01-13 20:41:35 +090012extern char __per_cpu_load[], __per_cpu_start[], __per_cpu_end[];
Prasanna S Panchamukhid0aaff92005-09-06 15:19:26 -070013extern char __kprobes_text_start[], __kprobes_text_end[];
Andi Kleen2bc04142005-11-05 17:25:53 +010014extern char __initdata_begin[], __initdata_end[];
Heiko Carstensa581c2a2006-07-01 04:36:30 -070015extern char __start_rodata[], __end_rodata[];
Linus Torvalds1da177e2005-04-16 15:20:36 -070016
Peter Oberparleiterb99b87f2009-06-17 16:28:03 -070017/* Start and end of .ctors section - used for constructor calls. */
18extern char __ctors_start[], __ctors_end[];
19
James Bottomleydeac93d2008-09-03 20:43:36 -050020/* function descriptor handling (if any). Override
21 * in asm/sections.h */
22#ifndef dereference_function_descriptor
23#define dereference_function_descriptor(p) (p)
24#endif
25
Linus Torvalds1da177e2005-04-16 15:20:36 -070026#endif /* _ASM_GENERIC_SECTIONS_H_ */