Lines Matching refs:relaxAux
687 sec->relaxAux = make<RelaxAux>(); in initSymbolAnchors()
689 sec->relaxAux->relocDeltas = in initSymbolAnchors()
691 sec->relaxAux->relocTypes = in initSymbolAnchors()
712 if (sec->flags & SHF_EXECINSTR && sec->relaxAux) { in initSymbolAnchors()
714 sec->relaxAux->anchors.push_back({d->value, d, false}); in initSymbolAnchors()
715 sec->relaxAux->anchors.push_back({d->value + d->size, d, true}); in initSymbolAnchors()
726 llvm::sort(sec->relaxAux->anchors, [](auto &a, auto &b) { in initSymbolAnchors()
746 sec.relaxAux->relocTypes[i] = R_RISCV_RVC_JUMP; in relaxCall()
747 sec.relaxAux->writes.push_back(0xa001); // c.j in relaxCall()
751 sec.relaxAux->relocTypes[i] = R_RISCV_RVC_JUMP; in relaxCall()
752 sec.relaxAux->writes.push_back(0x2001); // c.jal in relaxCall()
755 sec.relaxAux->relocTypes[i] = R_RISCV_JAL; in relaxCall()
756 sec.relaxAux->writes.push_back(0x6f | rd << 7); // jal in relaxCall()
772 sec.relaxAux->relocTypes[i] = R_RISCV_RELAX; in relaxTlsLe()
777 sec.relaxAux->relocTypes[i] = R_RISCV_32; in relaxTlsLe()
779 sec.relaxAux->writes.push_back(setLO12_I(insn, val)); in relaxTlsLe()
783 sec.relaxAux->relocTypes[i] = R_RISCV_32; in relaxTlsLe()
785 sec.relaxAux->writes.push_back(setLO12_S(insn, val)); in relaxTlsLe()
802 sec.relaxAux->relocTypes[i] = R_RISCV_RELAX; in relaxHi20Lo12()
806 sec.relaxAux->relocTypes[i] = INTERNAL_R_RISCV_GPREL_I; in relaxHi20Lo12()
809 sec.relaxAux->relocTypes[i] = INTERNAL_R_RISCV_GPREL_S; in relaxHi20Lo12()
817 auto &aux = *sec.relaxAux; in relax()
942 RelaxAux &aux = *sec->relaxAux; in finalizeRelax()