Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 1 | #ifndef _ALPHA_MODULE_H |
| 2 | #define _ALPHA_MODULE_H |
| 3 | |
David Howells | 786d35d | 2012-09-28 14:31:03 +0930 | [diff] [blame] | 4 | #include <asm-generic/module.h> |
| 5 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 6 | struct mod_arch_specific |
| 7 | { |
| 8 | unsigned int gotsecindex; |
| 9 | }; |
| 10 | |
Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame] | 11 | #define ARCH_SHF_SMALL SHF_ALPHA_GPREL |
| 12 | |
| 13 | #ifdef MODULE |
| 14 | asm(".section .got,\"aws\",@progbits; .align 3; .previous"); |
| 15 | #endif |
| 16 | |
| 17 | #endif /*_ALPHA_MODULE_H*/ |