summaryrefslogtreecommitdiff
path: root/src/elfops
diff options
context:
space:
mode:
Diffstat (limited to 'src/elfops')
-rw-r--r--src/elfops/check.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/elfops/check.c b/src/elfops/check.c
index 6e56bae..e184b26 100644
--- a/src/elfops/check.c
+++ b/src/elfops/check.c
@@ -24,8 +24,8 @@ int elfu_eCheck(Elf *e)
goto ERROR;
}
- if (ehdr.e_machine != EM_386) {
- ELFU_WARN("Sorry, only x86-32 ELF files are supported at the moment.\n");
+ if (ehdr.e_machine != EM_386 && ehdr.e_machine != EM_X86_64) {
+ ELFU_WARN("Sorry, only x86-32 and x86-64 ELF files are supported at the moment.\n");
goto ERROR;
}