summaryrefslogtreecommitdiff
path: root/util/cbfstool/elfheaders.c
diff options
context:
space:
mode:
Diffstat (limited to 'util/cbfstool/elfheaders.c')
-rw-r--r--util/cbfstool/elfheaders.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/util/cbfstool/elfheaders.c b/util/cbfstool/elfheaders.c
index 9d02c30573..8da54d09e0 100644
--- a/util/cbfstool/elfheaders.c
+++ b/util/cbfstool/elfheaders.c
@@ -1072,6 +1072,9 @@ static void fixup_relocations(struct elf_writer *ew)
case EM_386:
type = R_386_32;
break;
+ case EM_X86_64:
+ type = R_AMD64_64;
+ break;
case EM_ARM:
type = R_ARM_ABS32;
break;