reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/Arch/RISCV.cpp
  155   write32le(buf + 0, utype(AUIPC, X_T2, hi20(offset)));
  156   write32le(buf + 4, rtype(SUB, X_T1, X_T1, X_T3));
  157   write32le(buf + 8, itype(load, X_T3, X_T2, lo12(offset)));
  158   write32le(buf + 12, itype(ADDI, X_T1, X_T1, -target->pltHeaderSize - 12));
  159   write32le(buf + 16, itype(ADDI, X_T0, X_T2, lo12(offset)));
  160   write32le(buf + 20, itype(SRLI, X_T1, X_T1, config->is64 ? 1 : 2));
  161   write32le(buf + 24, itype(load, X_T0, X_T0, config->wordsize));
  162   write32le(buf + 28, itype(JALR, 0, X_T3, 0));