summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--modutils/insmod.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/modutils/insmod.c b/modutils/insmod.c
index 04a7bc5..c0f60fd 100644
--- a/modutils/insmod.c
+++ b/modutils/insmod.c
@@ -290,8 +290,8 @@ extern int insmod_ng_main( int argc, char **argv);
/* X86_64 */
#if defined(__x86_64__)
#define MATCH_MACHINE(x) (x == EM_X86_64)
-#define SHT_RELM SHT_REL
-#define Elf64_RelM Elf64_Rel
+#define SHT_RELM SHT_RELA
+#define Elf64_RelM Elf64_Rela
#define ELFCLASSM ELFCLASS64
#endif