Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ASM_ARM_MODULE_H |
| 2 | #define _ASM_ARM_MODULE_H |
| 3 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 4 | #define Elf_Shdr Elf32_Shdr |
| 5 | #define Elf_Sym Elf32_Sym |
| 6 | #define Elf_Ehdr Elf32_Ehdr |
| 7 | |
Catalin Marinas | 2e1926e | 2009-02-11 13:09:54 +0100 | [diff] [blame^] | 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 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 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 */ |