[Object][Mips] Map EF_MIPS_MACH_5900 to the r5900 feature #17
Loading…
Reference in a new issue
No description provided.
Delete branch "r5900-objdump-mach"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
llvm-objdump hit
llvm_unreachable("Unknown EF_MIPS_ARCH value")on every R5900 object:getMIPSFeatureshandled noEF_MIPS_MACHvalue except Octeon. This adds the 5900 case, mapped to ther5900feature, so R5900 objects disassemble with the R5900 instructions enabled. Found during PS2-194.llvm/test/tools/llvm-objdump/ELF/Mips/r5900.test. lit passes for llvm-objdump/ELF/Mips, MC/Mips, MC/Disassembler/Mips and Object.lq/sqand the MMI instructions still show as<unknown>, because the disassembler has no decoder entries for them.Upstream main has the same gap.
🤖 Generated with Claude Code
1bd67015ff7724f9803d