module.h 641 B

123456789101112131415161718192021222324252627282930
  1. #ifndef _ASM_ARM_MODULE_H
  2. #define _ASM_ARM_MODULE_H
  3. #define Elf_Shdr Elf32_Shdr
  4. #define Elf_Sym Elf32_Sym
  5. #define Elf_Ehdr Elf32_Ehdr
  6. struct unwind_table;
  7. struct mod_arch_specific
  8. {
  9. #ifdef CONFIG_ARM_UNWIND
  10. Elf_Shdr *unw_sec_init;
  11. Elf_Shdr *unw_sec_devinit;
  12. Elf_Shdr *unw_sec_core;
  13. Elf_Shdr *sec_init_text;
  14. Elf_Shdr *sec_devinit_text;
  15. Elf_Shdr *sec_core_text;
  16. struct unwind_table *unwind_init;
  17. struct unwind_table *unwind_devinit;
  18. struct unwind_table *unwind_core;
  19. #endif
  20. };
  21. /*
  22. * Include the ARM architecture version.
  23. */
  24. #define MODULE_ARCH_VERMAGIC "ARMv" __stringify(__LINUX_ARM_ARCH__) " "
  25. #endif /* _ASM_ARM_MODULE_H */