[clang] [lld] [llvm] [clang][MIPS] Add support for mipsel-windows-* targets (PR #107744)
Martin Storsjö via cfe-commits
cfe-commits at lists.llvm.org
Mon Sep 9 02:06:03 PDT 2024
================
@@ -1132,6 +1132,8 @@ StringRef COFFObjectFile::getFileFormatName() const {
return "COFF-ARM64EC";
case COFF::IMAGE_FILE_MACHINE_ARM64X:
return "COFF-ARM64X";
+ case COFF::IMAGE_FILE_MACHINE_R4000:
+ return "COFF-R4000";
----------------
mstorsjo wrote:
Hmm, do we want to label this as `COFF-R4000`, or would just `COFF-MIPS` be more easily accessible?
I see that there are a couple other `IMAGE_FILE_MACHINE_*` constants for MIPS variants - how relevant are they?
If the R4000 is the only one that actually is being used, I'd almost go with labelling this just `COFF-MIPS`.
https://github.com/llvm/llvm-project/pull/107744
More information about the cfe-commits
mailing list