Lines Matching refs:relocation
19 // One relocation is sufficient for delta encoding.
30 const ELF::Rela* relocation = &relocations[i];
31 CHECK(ELF_R_TYPE(relocation->r_info) == ELF::kRelativeRelocationCode);
33 packed->push_back(relocation->r_offset - offset);
34 offset = relocation->r_offset;
35 packed->push_back(relocation->r_addend - addend);
36 addend = relocation->r_addend;
63 // Generate a relocation for this offset and addend pair.
64 ELF::Rela relocation;
65 relocation.r_offset = offset;
66 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
67 relocation.r_addend = addend;
68 relocations->push_back(relocation);