module.h 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. #ifndef _ASM_IA64_MODULE_H
  2. #define _ASM_IA64_MODULE_H
  3. #include <asm-generic/module.h>
  4. /*
  5. * IA-64-specific support for kernel module loader.
  6. *
  7. * Copyright (C) 2003 Hewlett-Packard Co
  8. * David Mosberger-Tang <davidm@hpl.hp.com>
  9. */
  10. struct elf64_shdr; /* forward declration */
  11. struct mod_arch_specific {
  12. struct elf64_shdr *core_plt; /* core PLT section */
  13. struct elf64_shdr *init_plt; /* init PLT section */
  14. struct elf64_shdr *got; /* global offset table */
  15. struct elf64_shdr *opd; /* official procedure descriptors */
  16. struct elf64_shdr *unwind; /* unwind-table section */
  17. unsigned long gp; /* global-pointer for module */
  18. void *core_unw_table; /* core unwind-table cookie returned by unwinder */
  19. void *init_unw_table; /* init unwind-table cookie returned by unwinder */
  20. unsigned int next_got_entry; /* index of next available got entry */
  21. };
  22. #define MODULE_PROC_FAMILY "ia64"
  23. #define MODULE_ARCH_VERMAGIC MODULE_PROC_FAMILY \
  24. "gcc-" __stringify(__GNUC__) "." __stringify(__GNUC_MINOR__)
  25. #define ARCH_SHF_SMALL SHF_IA_64_SHORT
  26. #endif /* _ASM_IA64_MODULE_H */