> - const typename ELFFile<ELFT>::Elf_Rel &RI) {
> + const typename ELFFile<ELFT>::Elf_Rel &RI,
> + uint32_t Type) {
You can get the type with
RI.getType(IsMips64EL)
Why the extra argument?
Cheers,
Rafael