Lines Matching refs:reloc
158 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()
488 const Elf32_Addr result = sym_addr + reloc.r_addend; in process_relocation_impl()
497 const ElfW(Addr) target = sym_addr + reloc.r_addend; in process_relocation_impl()
528 static bool process_relocation_general(Relocator& relocator, const rel_t& reloc) { in process_relocation_general() argument
529 return process_relocation_impl<RelocMode::General>(relocator, reloc); in process_relocation_general()
534 static inline bool process_relocation(Relocator& relocator, const rel_t& reloc) { in process_relocation() argument
536 process_relocation_general(relocator, reloc) : in process_relocation()
537 process_relocation_impl<Mode>(relocator, reloc); in process_relocation()
554 return for_all_packed_relocs(decoder, [&](const rel_t& reloc) { in packed_relocate_impl() argument
555 return process_relocation<Mode>(relocator, reloc); in packed_relocate_impl()