xref: /openbmc/linux/arch/alpha/include/asm/module.h (revision 0d3b051a)
1 /* SPDX-License-Identifier: GPL-2.0 */
2 #ifndef _ALPHA_MODULE_H
3 #define _ALPHA_MODULE_H
4 
5 #include <asm-generic/module.h>
6 
7 struct mod_arch_specific
8 {
9 	unsigned int gotsecindex;
10 };
11 
12 #define ARCH_SHF_SMALL SHF_ALPHA_GPREL
13 
14 #ifdef MODULE
15 asm(".section .got,\"aws\",@progbits; .align 3; .previous");
16 #endif
17 
18 #endif /*_ALPHA_MODULE_H*/
19