mirror of
https://github.com/AuxXxilium/linux_dsm_epyc7002.git
synced 2024-12-27 02:25:20 +07:00
24 lines
448 B
C
24 lines
448 B
C
|
#ifndef _ALPHA_MODULE_H
|
||
|
#define _ALPHA_MODULE_H
|
||
|
|
||
|
struct mod_arch_specific
|
||
|
{
|
||
|
unsigned int gotsecindex;
|
||
|
};
|
||
|
|
||
|
#define Elf_Sym Elf64_Sym
|
||
|
#define Elf_Shdr Elf64_Shdr
|
||
|
#define Elf_Ehdr Elf64_Ehdr
|
||
|
#define Elf_Phdr Elf64_Phdr
|
||
|
#define Elf_Dyn Elf64_Dyn
|
||
|
#define Elf_Rel Elf64_Rel
|
||
|
#define Elf_Rela Elf64_Rela
|
||
|
|
||
|
#define ARCH_SHF_SMALL SHF_ALPHA_GPREL
|
||
|
|
||
|
#ifdef MODULE
|
||
|
asm(".section .got,\"aws\",@progbits; .align 3; .previous");
|
||
|
#endif
|
||
|
|
||
|
#endif /*_ALPHA_MODULE_H*/
|