Home
last modified time | relevance | path

Searched refs:reloc (Results 1 – 7 of 7) sorted by relevance

/bionic/linker/
Dlinker_reloc_iterators.h51 rel_t reloc = { in for_all_packed_relocs() local
65 reloc.r_info = decoder.pop_front(); in for_all_packed_relocs()
75 reloc.r_addend += decoder.pop_front(); in for_all_packed_relocs()
77 reloc.r_addend = 0; in for_all_packed_relocs()
88 reloc.r_offset += group_r_offset_delta; in for_all_packed_relocs()
90 reloc.r_offset += decoder.pop_front(); in for_all_packed_relocs()
93 reloc.r_info = decoder.pop_front(); in for_all_packed_relocs()
97 reloc.r_addend += decoder.pop_front(); in for_all_packed_relocs()
100 if (!callback(reloc)) { in for_all_packed_relocs()
Dlinker_relocate.cpp158 static bool process_relocation_general(Relocator& relocator, const rel_t& reloc);
162 static bool process_relocation_impl(Relocator& relocator, const rel_t& reloc) { in process_relocation_impl() argument
165 void* const rel_target = reinterpret_cast<void*>(reloc.r_offset + relocator.si->load_bias); in process_relocation_impl()
166 const uint32_t r_type = ELFW(R_TYPE)(reloc.r_info); in process_relocation_impl()
167 const uint32_t r_sym = ELFW(R_SYM)(reloc.r_info); in process_relocation_impl()
227 auto get_addend_rel = [&]() -> ElfW(Addr) { return reloc.r_addend; }; in process_relocation_impl()
228 auto get_addend_norel = [&]() -> ElfW(Addr) { return reloc.r_addend; }; in process_relocation_impl()
237 return process_relocation_general(relocator, reloc); in process_relocation_impl()
359 return process_relocation_general(relocator, reloc); in process_relocation_impl()
444 ElfW(Addr) addend = reloc.r_addend; in process_relocation_impl()
[all …]
/bionic/benchmarks/linker_relocation/
Drun_bench_with_ninja.sh116 work_dir=$tmp_dir/linker-reloc-bench
122 target_dir=/data/local/tmp/linker-reloc-bench
124 (cd $tmp_dir; tar -c linker-reloc-bench/linker_reloc_bench_main linker-reloc-bench/*.so \
DREADME.md9 To run the benchmark, build the `linker-reloc-bench` target, sync `data`, and
10 run the benchmark from `/data/benchmarktest[64]/linker-reloc-bench`.
DAndroid.bp45 name: "linker-reloc-bench",
82 relative_install_path: "linker-reloc-bench",
/bionic/libc/kernel/uapi/drm/
Dtegra_drm.h200 } reloc; member
/bionic/docs/
Delf-tls.md174 // allocated in the .got, resolved at load-time with a dynamic reloc.