Lines Matching defs:Relocations
112 static SmallVector<char, 0> encodeCrel(ArrayRef<Relocation> Relocations) {
116 ELF::encodeCrel<Is64>(OS, Relocations, [&](const Relocation &R) {
127 Sec.Size = encodeCrel<ELFT::Is64Bits>(Sec.Relocations).size();
130 Sec.Size = Sec.Relocations.size() * Sec.EntrySize;
914 for (const Relocation &R : Relocations) {
976 static void writeRel(const RelRange &Relocations, T *Buf, bool IsMips64EL) {
977 for (const auto &Reloc : Relocations) {
990 auto Content = encodeCrel<ELFT::Is64Bits>(Sec.Relocations);
993 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rel *>(Buf),
996 writeRel(Sec.Relocations, reinterpret_cast<Elf_Rela *>(Buf),
1012 for (const Relocation &Reloc : Relocations)
1022 for (const Relocation &Reloc : Relocations)