Lines Matching refs:reloc

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() argument
163 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()
482 const ElfW(Addr) target = sym_addr + reloc.r_addend; in process_relocation_impl()
513 static bool process_relocation_general(Relocator& relocator, const rel_t& reloc) { in process_relocation_general() argument
514 return process_relocation_impl<RelocMode::General>(relocator, reloc); in process_relocation_general()
519 static inline bool process_relocation(Relocator& relocator, const rel_t& reloc) { in process_relocation() argument
521 process_relocation_general(relocator, reloc) : in process_relocation()
522 process_relocation_impl<Mode>(relocator, reloc); in process_relocation()
539 return for_all_packed_relocs(decoder, [&](const rel_t& reloc) { in packed_relocate_impl() argument
540 return process_relocation<Mode>(relocator, reloc); in packed_relocate_impl()