module.h 646 B

1234567891011121314151617181920212223242526272829
  1. #ifndef __ASM_AVR32_MODULE_H
  2. #define __ASM_AVR32_MODULE_H
  3. struct mod_arch_syminfo {
  4. unsigned long got_offset;
  5. int got_initialized;
  6. };
  7. struct mod_arch_specific {
  8. /* Starting offset of got in the module core memory. */
  9. unsigned long got_offset;
  10. /* Size of the got. */
  11. unsigned long got_size;
  12. /* Number of symbols in syminfo. */
  13. int nsyms;
  14. /* Additional symbol information (got offsets). */
  15. struct mod_arch_syminfo *syminfo;
  16. };
  17. #define Elf_Shdr Elf32_Shdr
  18. #define Elf_Sym Elf32_Sym
  19. #define Elf_Ehdr Elf32_Ehdr
  20. #define MODULE_PROC_FAMILY "AVR32v1"
  21. #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY
  22. #endif /* __ASM_AVR32_MODULE_H */