Remove support for linking microMIPS 64-bit code because this kind of ISA is rarely used and unsupported by LLVM.
Details
Diff Detail
- Repository
- rLLD LLVM Linker
Event Timeline
LGTM.
ELF/Arch/MipsArchTree.cpp | ||
---|---|---|
79 | This seems to be easier just to check all the files and inline, maybe? for (const FileFlags &F : Files) { if (Config->Is64 && F.Flags & EF_MIPS_MICROMIPS) error("linking microMIPS 64-bit files is unsupported: " + toString(F.File)); ... Up to you, though. |
ELF/Arch/MipsArchTree.cpp | ||
---|---|---|
79 | The loop iterates through all input files except the first one because initial purpose of the loop was to to check compatibility between files and the first file used as a reference. That's why I have to write the checking code before and inside the loop. But I think we can iterate through all the files including the first one. In that case we check compatibility between the first file and itself, but it's not a problem. I'm going to commit this patch as is (thanks for review) and after that refactor this code. |
ELF/Arch/MipsArchTree.cpp | ||
---|---|---|
79 | Yes, that is what I meant. Checking the first file with itself should not be a problem. |
This seems to be easier just to check all the files and inline, maybe?
Up to you, though.