aboutsummaryrefslogtreecommitdiff
path: root/deps/lld/ELF/Driver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'deps/lld/ELF/Driver.cpp')
-rw-r--r--deps/lld/ELF/Driver.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/deps/lld/ELF/Driver.cpp b/deps/lld/ELF/Driver.cpp
index 2e2036310f..bce9d944a4 100644
--- a/deps/lld/ELF/Driver.cpp
+++ b/deps/lld/ELF/Driver.cpp
@@ -130,7 +130,7 @@ static std::tuple<ELFKind, uint16_t, uint8_t> parseEmulation(StringRef Emul) {
.Cases("elf32btsmip", "elf32btsmipn32", {ELF32BEKind, EM_MIPS})
.Cases("elf32ltsmip", "elf32ltsmipn32", {ELF32LEKind, EM_MIPS})
.Case("elf32lriscv", {ELF32LEKind, EM_RISCV})
- .Case("elf32ppc", {ELF32BEKind, EM_PPC})
+ .Cases("elf32ppc", "elf32ppclinux", {ELF32BEKind, EM_PPC})
.Case("elf64btsmip", {ELF64BEKind, EM_MIPS})
.Case("elf64ltsmip", {ELF64LEKind, EM_MIPS})
.Case("elf64lriscv", {ELF64LEKind, EM_RISCV})