Searched defs:relocation (Results 1 - 9 of 9) sorted by relevance

/external/chromium_org/tools/relocation_packer/src/
H A Ddelta_encoder.cc19 // One relocation is sufficient for delta encoding.
30 const ELF::Rela* relocation = &relocations[i]; local
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; local
65 relocation
[all...]
H A Ddelta_encoder_unittest.cc17 ELF::Rela relocation; local
18 relocation.r_offset = addr;
19 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
20 relocation.r_addend = addend;
21 relocations->push_back(relocation);
26 const ELF::Rela& relocation) {
27 return relocation.r_offset == addr &&
28 ELF_R_SYM(relocation.r_info) == 0 &&
29 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode &&
30 relocation
24 CheckRelocation(ELF::Addr addr, ELF::Sxword addend, const ELF::Rela& relocation) argument
[all...]
H A Dpacker_unittest.cc15 ELF::Rel relocation; local
16 relocation.r_offset = addr;
17 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
18 relocations->push_back(relocation);
21 bool CheckRelocation(ELF::Addr addr, const ELF::Rel& relocation) { argument
22 return relocation.r_offset == addr &&
23 ELF_R_SYM(relocation.r_info) == 0 &&
24 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode;
30 ELF::Rela relocation; local
31 relocation
37 CheckRelocation(ELF::Addr addr, ELF::Sxword addend, const ELF::Rela& relocation) argument
[all...]
H A Drun_length_encoder_unittest.cc15 ELF::Rel relocation; local
16 relocation.r_offset = addr;
17 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
18 relocations->push_back(relocation);
21 bool CheckRelocation(ELF::Addr addr, const ELF::Rel& relocation) { argument
22 return relocation.r_offset == addr &&
23 ELF_R_SYM(relocation.r_info) == 0 &&
24 ELF_R_TYPE(relocation.r_info) == ELF::kRelativeRelocationCode;
42 // Add one relocation (insufficient data to encode).
50 // Add a second relocation,
[all...]
H A Drun_length_encoder.cc72 // The first relocation is just one created from the initial address.
88 ELF::Rel relocation; local
89 relocation.r_offset = addr;
90 relocation.r_info = ELF_R_INFO(0, ELF::kRelativeRelocationCode);
91 relocations->push_back(relocation);
103 // If we have zero or one relocation only then there is no packing
/external/chromium_org/third_party/tcmalloc/chromium/src/base/
H A Delf_mem_image.cc252 ptrdiff_t relocation = local
256 relocation);
267 value += relocation;
271 value += relocation;
/external/chromium_org/third_party/tcmalloc/vendor/src/base/
H A Delf_mem_image.cc252 ptrdiff_t relocation = local
256 relocation);
267 value += relocation;
271 value += relocation;
/external/chromium_org/third_party/android_crazy_linker/src/src/
H A Dcrazy_linker_elf_relocations.cpp35 // Processor-specific relocation types supported by the linker.
89 // List of known relocation types the relocator knows about.
98 // Convert an ELF relocation type info a RelocationType value.
378 // Emit initial relative relocation.
379 ELF::Rel relocation; local
380 relocation.r_offset = start_address;
381 relocation.r_info = ELF_R_INFO(0, RELATIVE_RELOCATION_CODE);
384 if (!ApplyRelReloc(&relocation, sym_addr, resolved, error))
396 relocation.r_offset += delta;
397 if (!ApplyRelReloc(&relocation, sym_add
429 ELF::Rela relocation; local
[all...]
/external/llvm/include/llvm/Support/
H A DCOFF.h272 struct relocation { struct

Completed in 3298 milliseconds