Lines Matching refs:reloc
860 Elf32_Addr reloc = static_cast<Elf32_Addr>(rel->r_offset + si->load_bias);
912 sym_addr = reloc;
922 DL_ERR("unknown weak reloc type %d @ %p (%d)",
951 TRACE_TYPE(RELO, "RELO JMP_SLOT %08x <- %08x %s", reloc, sym_addr, sym_name);
952 *reinterpret_cast<Elf32_Addr*>(reloc) = sym_addr;
957 TRACE_TYPE(RELO, "RELO GLOB_DAT %08x <- %08x %s", reloc, sym_addr, sym_name);
958 *reinterpret_cast<Elf32_Addr*>(reloc) = sym_addr;
963 TRACE_TYPE(RELO, "RELO ABS %08x <- %08x %s", reloc, sym_addr, sym_name);
964 *reinterpret_cast<Elf32_Addr*>(reloc) += sym_addr;
970 reloc, sym_addr, rel->r_offset, sym_name);
971 *reinterpret_cast<Elf32_Addr*>(reloc) += sym_addr - rel->r_offset;
977 TRACE_TYPE(RELO, "RELO JMP_SLOT %08x <- %08x %s", reloc, sym_addr, sym_name);
978 *reinterpret_cast<Elf32_Addr*>(reloc) = sym_addr;
983 TRACE_TYPE(RELO, "RELO GLOB_DAT %08x <- %08x %s", reloc, sym_addr, sym_name);
984 *reinterpret_cast<Elf32_Addr*>(reloc) = sym_addr;
991 reloc, sym_addr, (sym_name) ? sym_name : "*SECTIONHDR*");
993 *reinterpret_cast<Elf32_Addr*>(reloc) += sym_addr;
995 *reinterpret_cast<Elf32_Addr*>(reloc) += si->base;
1011 TRACE_TYPE(RELO, "RELO RELATIVE %08x <- +%08x", reloc, si->base);
1012 *reinterpret_cast<Elf32_Addr*>(reloc) += si->base;
1020 TRACE_TYPE(RELO, "RELO R_386_32 %08x <- +%08x %s", reloc, sym_addr, sym_name);
1021 *reinterpret_cast<Elf32_Addr*>(reloc) += sym_addr;
1028 reloc, (sym_addr - reloc), sym_addr, reloc, sym_name);
1029 *reinterpret_cast<Elf32_Addr*>(reloc) += (sym_addr - reloc);
1052 TRACE_TYPE(RELO, "RELO %08x <- %d @ %08x %s", reloc, s->st_size, sym_addr, sym_name);
1053 if (reloc == sym_addr) {
1070 memcpy((void*)reloc, (void*)(src->st_value + lsi->load_bias), src->st_size);
1079 DL_ERR("unknown reloc type %d @ %p (%d)",