[llvm] [llvm-dlltool] Handle MIPS architecture (PR #114621)
Saleem Abdulrasool via llvm-commits
llvm-commits at lists.llvm.org
Sun Dec 22 21:18:11 PST 2024
================
@@ -79,6 +79,7 @@ MachineTypes getEmulation(StringRef S) {
.Case("arm", IMAGE_FILE_MACHINE_ARMNT)
.Case("arm64", IMAGE_FILE_MACHINE_ARM64)
.Case("arm64ec", IMAGE_FILE_MACHINE_ARM64EC)
+ .Case("mips", IMAGE_FILE_MACHINE_R4000)
----------------
compnerd wrote:
Hmm, we should cross-check this with binutils - if it should be r4000 or mips as there was a MIPS16 and a MIPSv2 machine type that PE/COFF has supported over the years.
https://github.com/llvm/llvm-project/pull/114621
More information about the llvm-commits
mailing list