[lld] r250555 - [ELF2] getLocalRelTarget should handle R_PPC64_TOC directly

Rafael EspĂ­ndola via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 16 15:20:20 PDT 2015


> -                             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


More information about the llvm-commits mailing list