Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ALPHA_MODULE_H |
| 2 | #define _ALPHA_MODULE_H |
| 3 | |
| 4 | struct mod_arch_specific |
| 5 | { |
| 6 | unsigned int gotsecindex; |
| 7 | }; |
| 8 | |
| 9 | #define Elf_Sym Elf64_Sym |
| 10 | #define Elf_Shdr Elf64_Shdr |
| 11 | #define Elf_Ehdr Elf64_Ehdr |
| 12 | #define Elf_Phdr Elf64_Phdr |
| 13 | #define Elf_Dyn Elf64_Dyn |
| 14 | #define Elf_Rel Elf64_Rel |
| 15 | #define Elf_Rela Elf64_Rela |
| 16 | |
| 17 | #define ARCH_SHF_SMALL SHF_ALPHA_GPREL |
| 18 | |
| 19 | #ifdef MODULE |
| 20 | asm(".section .got,\"aws\",@progbits; .align 3; .previous"); |
| 21 | #endif |
| 22 | |
| 23 | #endif /*_ALPHA_MODULE_H*/ |