Home
last modified time | relevance | path

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

/bionic/linker/
Dlinker_mips.cpp61 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + load_bias); in relocate()
111 TRACE_TYPE(RELO, "RELO REL32 %08zx <- %08zx %s", static_cast<size_t>(reloc), in relocate()
114 *reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr; in relocate()
116 *reinterpret_cast<ElfW(Addr)*>(reloc) += load_bias; in relocate()
Dlinker.cpp1843 ElfW(Addr) reloc = static_cast<ElfW(Addr)>(rel->r_offset + load_bias); in relocate()
1846 ElfW(Addr) addend = get_addend(rel, reloc); in relocate()
1913 sym_addr = reloc; in relocate()
1917 sym_addr = reloc; in relocate()
1959 reinterpret_cast<void*>(reloc), in relocate()
1962 *reinterpret_cast<ElfW(Addr)*>(reloc) = (sym_addr + addend); in relocate()
1968 reinterpret_cast<void*>(reloc), in relocate()
1970 *reinterpret_cast<ElfW(Addr)*>(reloc) = (sym_addr + addend); in relocate()
1976 reinterpret_cast<void*>(reloc), in relocate()
1978 *reinterpret_cast<ElfW(Addr)*>(reloc) = (load_bias + addend); in relocate()
[all …]
/bionic/tools/relocation_packer/src/
Ddelta_encoder.cc167 ElfRela reloc; in Decode() local
168 reloc.r_offset = offset; in Decode()
169 reloc.r_info = info; in Decode()
170 reloc.r_addend = is_relocation_group_has_addend(group_flags) ? addend : 0; in Decode()
171 relocations->push_back(reloc); in Decode()