Home
last modified time | relevance | path

Searched refs:rela (Results 1 – 2 of 2) sorted by relevance

/bionic/tools/relocation_packer/src/
Delf_file.cc970 typename ELF::Rela rela; in ConvertRelArrayToRelaVector() local
971 rela.r_offset = rel_array[i].r_offset; in ConvertRelArrayToRelaVector()
972 rela.r_info = rel_array[i].r_info; in ConvertRelArrayToRelaVector()
973 rela.r_addend = 0; in ConvertRelArrayToRelaVector()
974 rela_vector->push_back(rela); in ConvertRelArrayToRelaVector()
981 for (auto rela : rela_vector) { in ConvertRelaVectorToRelVector() local
983 rel.r_offset = rela.r_offset; in ConvertRelaVectorToRelVector()
984 rel.r_info = rela.r_info; in ConvertRelaVectorToRelVector()
985 CHECK(rela.r_addend == 0); in ConvertRelaVectorToRelVector()
/bionic/linker/
Dlinker.cpp2703 static ElfW(Addr) get_addend(ElfW(Rela)* rela, ElfW(Addr) reloc_addr __unused) { in get_addend() argument
2704 return rela->r_addend; in get_addend()