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 5ec45afbfb..e068d38144 100644
--- a/util/cbfstool/elfheaders.c
+++ b/util/cbfstool/elfheaders.c
@@ -1073,6 +1073,9 @@ static void fixup_relocations(struct elf_writer *ew)
case EM_RISCV:
type = R_RISCV_32;
break;
+ case EM_PPC64:
+ type = R_PPC64_ADDR32;
+ break;
default:
ERROR("Unable to handle relocations for e_machine %x\n",
ew->ehdr.e_machine);