Lines Matching refs:rels
135 ret.rels = makeArrayRef(reinterpret_cast<const typename ELFT::Rel *>( in relsOrRelas()
343 void InputSection::copyRelocations(uint8_t *buf, ArrayRef<RelTy> rels) { in copyRelocations() argument
348 for (const RelTy &rel : rels) { in copyRelocations()
817 void InputSection::relocateNonAlloc(uint8_t *buf, ArrayRef<RelTy> rels) { in relocateNonAlloc() argument
831 for (const RelTy &rel : rels) { in relocateNonAlloc()
964 const RelsOrRelas<ELFT> rels = sec->template relsOrRelas<ELFT>(); in relocate() local
965 if (rels.areRelocsRel()) in relocate()
966 sec->relocateNonAlloc<ELFT>(buf, rels.rels); in relocate()
968 sec->relocateNonAlloc<ELFT>(buf, rels.relas); in relocate()
1265 static unsigned getReloc(IntTy begin, IntTy size, const ArrayRef<RelTy> &rels, in getReloc() argument
1269 for (unsigned n = rels.size(); relocI < n; ++relocI) { in getReloc()
1270 const RelTy &rel = rels[relocI]; in getReloc()
1284 const RelsOrRelas<ELFT> rels = relsOrRelas<ELFT>(); in split() local
1287 if (rels.areRelocsRel()) { in split()
1289 split<ELFT>(sortRels(rels.rels, storage)); in split()
1292 split<ELFT>(sortRels(rels.relas, storage)); in split()
1297 void EhInputSection::split(ArrayRef<RelTy> rels) { in split() argument
1320 pieces.emplace_back(off, this, size, getReloc(off, size, rels, relI)); in split()