Searched refs:reloc (Results 1 – 6 of 6) sorted by relevance
51 rel_t reloc = { in for_all_packed_relocs() local65 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()
156 static bool process_relocation_general(Relocator& relocator, const rel_t& reloc);160 static bool process_relocation_impl(Relocator& relocator, const rel_t& reloc) { in process_relocation_impl() argument163 void* const rel_target = reinterpret_cast<void*>(reloc.r_offset + relocator.si->load_bias); in process_relocation_impl()164 const uint32_t r_type = ELFW(R_TYPE)(reloc.r_info); in process_relocation_impl()165 const uint32_t r_sym = ELFW(R_SYM)(reloc.r_info); in process_relocation_impl()225 auto get_addend_rel = [&]() -> ElfW(Addr) { return reloc.r_addend; }; in process_relocation_impl()226 auto get_addend_norel = [&]() -> ElfW(Addr) { return reloc.r_addend; }; in process_relocation_impl()344 return process_relocation_general(relocator, reloc); in process_relocation_impl()429 ElfW(Addr) addend = reloc.r_addend; in process_relocation_impl()473 const Elf32_Addr result = sym_addr + reloc.r_addend; in process_relocation_impl()[all …]
116 work_dir=$tmp_dir/linker-reloc-bench122 target_dir=/data/local/tmp/linker-reloc-bench124 (cd $tmp_dir; tar -c linker-reloc-bench/linker_reloc_bench_main linker-reloc-bench/*.so \
9 To run the benchmark, build the `linker-reloc-bench` target, sync `data`, and10 run the benchmark from `/data/benchmarktest[64]/linker-reloc-bench`.
41 name: "linker-reloc-bench",78 relative_install_path: "linker-reloc-bench",
174 // allocated in the .got, resolved at load-time with a dynamic reloc.