MIPS ABI has relocations like R_MIPS_JALR which is just a hint for linker to make some code optimization. Such relocations should not be handled as a regular ones and lead to say dynamic relocation creation.
The patch introduces new virtual Target::isHintReloc method, overrides it in the MipsTargetInfo class and calls it in the Writer<ELFT>::scanRelocs method.
I'd be good to add a brief comment here as well, saying that we can ignore hint relocations because they are for optional optimizations.