RISC-V: Improve link time complexity.