Home | History | Annotate | Download | only in src

Lines Matching refs:relocations

20 // R_ARM_RELATIVE relocations.
21 void GetDeltas(const std::vector<Elf32_Rel>& relocations,
23 CHECK(relocations.size() >= 2);
25 for (size_t i = 0; i < relocations.size() - 1; ++i) {
26 const Elf32_Addr first = relocations[i].r_offset;
27 const Elf32_Addr second = relocations[i + 1].r_offset;
70 std::vector<Elf32_Rel>* relocations) {
73 relocations->push_back(initial);
82 // Generate relocations for this count and delta pair.
86 relocations->push_back(relocation);
94 // Encode R_ARM_RELATIVE relocations into a run-length encoded (packed)
96 void RelocationRunLengthCodec::Encode(const std::vector<Elf32_Rel>& relocations,
100 if (relocations.size() < 2)
104 GetDeltas(relocations, &deltas);
111 packed->push_back(relocations[0].r_offset);
121 std::vector<Elf32_Rel>* relocations) {
136 Uncondense(addr, packed, 2, 2 + (pairs_count << 1), relocations);