Home | History | Annotate | Download | only in linker

Lines Matching refs:sym_addr

1087     ElfW(Addr) sym_addr = 0;
1131 * The sym_addr was initialized to be zero above, or the relocation
1132 * code below does not care about value of sym_addr.
1146 sym_addr = reloc;
1155 sym_addr = lsi->resolve_symbol_address(s);
1166 reloc, (sym_addr + rela->r_addend), sym_name);
1167 *reinterpret_cast<ElfW(Addr)*>(reloc) = (sym_addr + rela->r_addend);
1173 reloc, (sym_addr + rela->r_addend), sym_name);
1174 *reinterpret_cast<ElfW(Addr)*>(reloc) = (sym_addr + rela->r_addend);
1180 reloc, (sym_addr + rela->r_addend), sym_name);
1181 *reinterpret_cast<ElfW(Addr)*>(reloc) += (sym_addr + rela->r_addend);
1187 reloc, (sym_addr + rela->r_addend), sym_name);
1188 if ((static_cast<ElfW(Addr)>(INT32_MIN) <= (*reinterpret_cast<ElfW(Addr)*>(reloc) + (sym_addr + rela->r_addend))) &&
1189 ((*reinterpret_cast<ElfW(Addr)*>(reloc) + (sym_addr + rela->r_addend)) <= static_cast<ElfW(Addr)>(UINT32_MAX))) {
1190 *reinterpret_cast<ElfW(Addr)*>(reloc) += (sym_addr + rela->r_addend);
1193 (*reinterpret_cast<ElfW(Addr)*>(reloc) + (sym_addr + rela->r_addend)),
1203 reloc, (sym_addr + rela->r_addend), sym_name);
1204 if ((static_cast<ElfW(Addr)>(INT16_MIN) <= (*reinterpret_cast<ElfW(Addr)*>(reloc) + (sym_addr + rela->r_addend))) &&
1205 ((*reinterpret_cast<ElfW(Addr)*>(reloc) + (sym_addr + rela->r_addend)) <= static_cast<ElfW(Addr)>(UINT16_MAX))) {
1206 *reinterpret_cast<ElfW(Addr)*>(reloc) += (sym_addr + rela->r_addend);
1209 (*reinterpret_cast<ElfW(Addr)*>(reloc) + (sym_addr + rela->r_addend)),
1219 reloc, (sym_addr + rela->r_addend), rela->r_offset, sym_name);
1220 *reinterpret_cast<ElfW(Addr)*>(reloc) += (sym_addr + rela->r_addend) - rela->r_offset;
1226 reloc, (sym_addr + rela->r_addend), rela->r_offset, sym_name);
1227 if ((static_cast<ElfW(Addr)>(INT32_MIN) <= (*reinterpret_cast<ElfW(Addr)*>(reloc) + ((sym_addr + rela->r_addend) - rela->r_offset))) &&
1228 ((*reinterpret_cast<ElfW(Addr)*>(reloc) + ((sym_addr + rela->r_addend) - rela->r_offset)) <= static_cast<ElfW(Addr)>(UINT32_MAX))) {
1229 *reinterpret_cast<ElfW(Addr)*>(reloc) += ((sym_addr + rela->r_addend) - rela->r_offset);
1232 (*reinterpret_cast<ElfW(Addr)*>(reloc) + ((sym_addr + rela->r_addend) - rela->r_offset)),
1242 reloc, (sym_addr + rela->r_addend), rela->r_offset, sym_name);
1243 if ((static_cast<ElfW(Addr)>(INT16_MIN) <= (*reinterpret_cast<ElfW(Addr)*>(reloc) + ((sym_addr + rela->r_addend) - rela->r_offset))) &&
1244 ((*reinterpret_cast<ElfW(Addr)*>(reloc) + ((sym_addr + rela->r_addend) - rela->r_offset)) <= static_cast<ElfW(Addr)>(UINT16_MAX))) {
1245 *reinterpret_cast<ElfW(Addr)*>(reloc) += ((sym_addr + rela->r_addend) - rela->r_offset);
1248 (*reinterpret_cast<ElfW(Addr)*>(reloc) + ((sym_addr + rela->r_addend) - rela->r_offset)),
1288 reloc, (sym_addr + rela->r_addend), rela->r_offset);
1292 reloc, (sym_addr + rela->r_addend), rela->r_offset);
1299 static_cast<size_t>(sym_addr + rela->r_addend), sym_name);
1300 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr + rela->r_addend;
1306 static_cast<size_t>(sym_addr + rela->r_addend), sym_name);
1307 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr + rela->r_addend;
1330 static_cast<size_t>(sym_addr), sym_name);
1331 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr + rela->r_addend;
1337 static_cast<size_t>(sym_addr), sym_name);
1338 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr + rela->r_addend;
1344 static_cast<size_t>(reloc), static_cast<size_t>(sym_addr - reloc),
1345 static_cast<size_t>(sym_addr), static_cast<size_t>(reloc), sym_name);
1346 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr + rela->r_addend - reloc;
1365 ElfW(Addr) sym_addr = 0;
1406 // sym_addr was initialized to be zero above or relocation
1407 // code below does not care about value of sym_addr.
1416 // sym_addr was initialized to be zero above or relocation
1417 // code below does not care about value of sym_addr.
1421 sym_addr = reloc;
1435 sym_addr = lsi->resolve_symbol_address(s);
1445 TRACE_TYPE(RELO, "RELO JMP_SLOT %08x <- %08x %s", reloc, sym_addr, sym_name);
1446 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr;
1451 TRACE_TYPE(RELO, "RELO GLOB_DAT %08x <- %08x %s", reloc, sym_addr, sym_name);
1452 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr;
1457 TRACE_TYPE(RELO, "RELO ABS %08x <- %08x %s", reloc, sym_addr, sym_name);
1458 *reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr;
1464 reloc, sym_addr, rel->r_offset, sym_name);
1465 *reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr - rel->r_offset;
1483 TRACE_TYPE(RELO, "RELO JMP_SLOT %08x <- %08x %s", reloc, sym_addr, sym_name);
1484 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr;
1489 TRACE_TYPE(RELO, "RELO GLOB_DAT %08x <- %08x %s", reloc, sym_addr, sym_name);
1490 *reinterpret_cast<ElfW(Addr)*>(reloc) = sym_addr;
1495 TRACE_TYPE(RELO, "RELO R_386_32 %08x <- +%08x %s", reloc, sym_addr, sym_name);
1496 *reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr;
1502 reloc, (sym_addr - reloc), sym_addr, reloc, sym_name);
1503 *reinterpret_cast<ElfW(Addr)*>(reloc) += (sym_addr - reloc);
1521 static_cast<size_t>(sym_addr), sym_name ? sym_name : "*SECTIONHDR*");
1523 *reinterpret_cast<ElfW(Addr)*>(reloc) += sym_addr;