PageRenderTime 15ms CodeModel.GetById 11ms RepoModel.GetById 0ms app.codeStats 1ms

/arch/alpha/include/asm/module.h

https://bitbucket.org/sammyz/iscream_thunderc-2.6.35-rebase
C++ Header | 23 lines | 18 code | 5 blank | 0 comment | 0 complexity | 20f7a5fb2038890392f036685a669c6f MD5 | raw file
Possible License(s): GPL-2.0, LGPL-2.0, AGPL-1.0
  1. #ifndef _ALPHA_MODULE_H
  2. #define _ALPHA_MODULE_H
  3. struct mod_arch_specific
  4. {
  5. unsigned int gotsecindex;
  6. };
  7. #define Elf_Sym Elf64_Sym
  8. #define Elf_Shdr Elf64_Shdr
  9. #define Elf_Ehdr Elf64_Ehdr
  10. #define Elf_Phdr Elf64_Phdr
  11. #define Elf_Dyn Elf64_Dyn
  12. #define Elf_Rel Elf64_Rel
  13. #define Elf_Rela Elf64_Rela
  14. #define ARCH_SHF_SMALL SHF_ALPHA_GPREL
  15. #ifdef MODULE
  16. asm(".section .got,\"aws\",@progbits; .align 3; .previous");
  17. #endif
  18. #endif /*_ALPHA_MODULE_H*/