The N64 ABI allows up to three operations to be specified per relocation record
independently of the endianness.
Details
Diff Detail
Event Timeline
When we were discussing this triple reloc mechanism you mentioned that the Type was subject to endianness (and was a strange mixed endian) but I don't see any endian conversions in the patch. Is that handled by the code in ELFRelBase<...>::getRInfo()? If so, then it LGTM.
If you think it's best to CC the mailing list just say so.
You're only touching existing MIPS specific code so I think it's unnecessary in this case.
include/llvm/Object/ELF.h | ||
---|---|---|
549–554 | Thanks for adding the explanation. One small correction: only MIPS ELF64's can be assumed to be N64. You currently say all ELF64's. |
Is that handled by the code in ELFRelBase<...>::getRInfo()
That's correct.
include/llvm/Object/ELF.h | ||
---|---|---|
549–554 | Yeah... I wanted to write"all Mips ELF::ELFCLASS64 ELFs are N64."... |
Thanks for adding the explanation. One small correction: only MIPS ELF64's can be assumed to be N64. You currently say all ELF64's.