xref: /openbmc/linux/arch/arm/include/asm/module.h (revision ecba1060)
1 #ifndef _ASM_ARM_MODULE_H
2 #define _ASM_ARM_MODULE_H
3 
4 #define Elf_Shdr	Elf32_Shdr
5 #define Elf_Sym		Elf32_Sym
6 #define Elf_Ehdr	Elf32_Ehdr
7 
8 struct unwind_table;
9 
10 struct mod_arch_specific
11 {
12 #ifdef CONFIG_ARM_UNWIND
13 	Elf_Shdr *unw_sec_init;
14 	Elf_Shdr *unw_sec_devinit;
15 	Elf_Shdr *unw_sec_core;
16 	Elf_Shdr *sec_init_text;
17 	Elf_Shdr *sec_devinit_text;
18 	Elf_Shdr *sec_core_text;
19 	struct unwind_table *unwind_init;
20 	struct unwind_table *unwind_devinit;
21 	struct unwind_table *unwind_core;
22 #endif
23 };
24 
25 /*
26  * Include the ARM architecture version.
27  */
28 #define MODULE_ARCH_VERMAGIC	"ARMv" __stringify(__LINUX_ARM_ARCH__) " "
29 
30 #endif /* _ASM_ARM_MODULE_H */
31