summaryrefslogtreecommitdiff
path: root/arch/alpha/include/asm/module.h
diff options
context:
space:
mode:
Diffstat (limited to 'arch/alpha/include/asm/module.h')
-rw-r--r--arch/alpha/include/asm/module.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/arch/alpha/include/asm/module.h b/arch/alpha/include/asm/module.h
new file mode 100644
index 000000000..9cd13b551
--- /dev/null
+++ b/arch/alpha/include/asm/module.h
@@ -0,0 +1,17 @@
+#ifndef _ALPHA_MODULE_H
+#define _ALPHA_MODULE_H
+
+#include <asm-generic/module.h>
+
+struct mod_arch_specific
+{
+ unsigned int gotsecindex;
+};
+
+#define ARCH_SHF_SMALL SHF_ALPHA_GPREL
+
+#ifdef MODULE
+asm(".section .got,\"aws\",@progbits; .align 3; .previous");
+#endif
+
+#endif /*_ALPHA_MODULE_H*/