diff options
Diffstat (limited to 'include/asm-generic/sections.h')
-rw-r--r-- | include/asm-generic/sections.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/include/asm-generic/sections.h b/include/asm-generic/sections.h index 03cc5f9bba71..849cd8eb5ca0 100644 --- a/include/asm-generic/sections.h +++ b/include/asm-generic/sections.h | |||
@@ -30,6 +30,7 @@ | |||
30 | * __ctors_start, __ctors_end | 30 | * __ctors_start, __ctors_end |
31 | * __irqentry_text_start, __irqentry_text_end | 31 | * __irqentry_text_start, __irqentry_text_end |
32 | * __softirqentry_text_start, __softirqentry_text_end | 32 | * __softirqentry_text_start, __softirqentry_text_end |
33 | * __start_opd, __end_opd | ||
33 | */ | 34 | */ |
34 | extern char _text[], _stext[], _etext[]; | 35 | extern char _text[], _stext[], _etext[]; |
35 | extern char _data[], _sdata[], _edata[]; | 36 | extern char _data[], _sdata[], _edata[]; |
@@ -49,12 +50,15 @@ extern char __start_once[], __end_once[]; | |||
49 | /* Start and end of .ctors section - used for constructor calls. */ | 50 | /* Start and end of .ctors section - used for constructor calls. */ |
50 | extern char __ctors_start[], __ctors_end[]; | 51 | extern char __ctors_start[], __ctors_end[]; |
51 | 52 | ||
53 | /* Start and end of .opd section - used for function descriptors. */ | ||
54 | extern char __start_opd[], __end_opd[]; | ||
55 | |||
52 | extern __visible const void __nosave_begin, __nosave_end; | 56 | extern __visible const void __nosave_begin, __nosave_end; |
53 | 57 | ||
54 | /* function descriptor handling (if any). Override | 58 | /* Function descriptor handling (if any). Override in asm/sections.h */ |
55 | * in asm/sections.h */ | ||
56 | #ifndef dereference_function_descriptor | 59 | #ifndef dereference_function_descriptor |
57 | #define dereference_function_descriptor(p) (p) | 60 | #define dereference_function_descriptor(p) (p) |
61 | #define dereference_kernel_function_descriptor(p) (p) | ||
58 | #endif | 62 | #endif |
59 | 63 | ||
60 | /* random extra sections (if any). Override | 64 | /* random extra sections (if any). Override |