Lines Matching full:base_address
35 ::llvm::ELF::Elf32_Off base_address = oat_data_begin - oatdata_address;
37 if (!FixupDynamic(*elf_file.get(), base_address)) {
41 if (!FixupSectionHeaders(*elf_file.get(), base_address)) {
45 if (!FixupProgramHeaders(*elf_file.get(), base_address)) {
49 if (!FixupSymbols(*elf_file.get(), base_address, true)) {
53 if (!FixupSymbols(*elf_file.get(), base_address, false)) {
57 if (!FixupRelocations(*elf_file.get(), base_address)) {
82 bool ElfFixup::FixupDynamic(ElfFile& elf_file, uintptr_t base_address) {
181 d_ptr, d_ptr + base_address);
183 d_ptr += base_address;
190 bool ElfFixup::FixupSectionHeaders(ElfFile& elf_file, uintptr_t base_address) {
200 sh.sh_addr, sh.sh_addr + base_address);
202 sh.sh_addr += base_address;
207 bool ElfFixup::FixupProgramHeaders(ElfFile& elf_file, uintptr_t base_address) {
217 ph.p_vaddr, ph.p_vaddr + base_address);
219 ph.p_vaddr += base_address;
220 ph.p_paddr += base_address;
227 bool ElfFixup::FixupSymbols(ElfFile& elf_file, uintptr_t base_address, bool dynamic) {
242 symbol.st_value, symbol.st_value + base_address);
244 symbol.st_value += base_address;
250 bool ElfFixup::FixupRelocations(ElfFile& elf_file, uintptr_t base_address) {
259 rel.r_offset, rel.r_offset + base_address);
261 rel.r_offset += base_address;
269 rela.r_offset, rela.r_offset + base_address);
271 rela.r_offset += base_address;