reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
1129 LLVM_DEBUG(dbgs() << "\t\tRelType: " << RelType << " Addend: " << Addend 1206 if (RelType == ELF::R_AARCH64_CALL26 || RelType == ELF::R_AARCH64_JUMP26) { 1206 if (RelType == ELF::R_AARCH64_CALL26 || RelType == ELF::R_AARCH64_JUMP26) { 1208 } else if (RelType == ELF::R_AARCH64_ADR_GOT_PAGE) { 1215 } else if (RelType == ELF::R_AARCH64_LD64_GOT_LO12_NC) { 1220 processSimpleRelocation(SectionID, Offset, RelType, Value); 1223 if (RelType == ELF::R_ARM_PC24 || RelType == ELF::R_ARM_CALL || 1223 if (RelType == ELF::R_ARM_PC24 || RelType == ELF::R_ARM_CALL || 1224 RelType == ELF::R_ARM_JUMP24) { 1235 RelType, 0); 1253 RelType, 0); 1259 if (RelType == ELF::R_ARM_PREL31 || RelType == ELF::R_ARM_TARGET1 || 1259 if (RelType == ELF::R_ARM_PREL31 || RelType == ELF::R_ARM_TARGET1 || 1260 RelType == ELF::R_ARM_ABS32) { 1262 } else if (RelType == ELF::R_ARM_MOVW_ABS_NC || RelType == ELF::R_ARM_MOVT_ABS) { 1262 } else if (RelType == ELF::R_ARM_MOVW_ABS_NC || RelType == ELF::R_ARM_MOVT_ABS) { 1266 processSimpleRelocation(SectionID, Offset, RelType, Value); 1272 if (RelType == ELF::R_MIPS_26) { 1287 RelocationEntry RE(SectionID, Offset, RelType, i->second); 1315 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); 1319 } else if (RelType == ELF::R_MIPS_HI16 || RelType == ELF::R_MIPS_PCHI16) { 1319 } else if (RelType == ELF::R_MIPS_HI16 || RelType == ELF::R_MIPS_PCHI16) { 1321 RelocationEntry RE(SectionID, Offset, RelType, Addend); 1323 } else if (RelType == ELF::R_MIPS_LO16 || RelType == ELF::R_MIPS_PCLO16) { 1323 } else if (RelType == ELF::R_MIPS_LO16 || RelType == ELF::R_MIPS_PCLO16) { 1329 RelType == getMatchingLoRelocation(Reloc.RelType) && 1340 RelocationEntry RE(SectionID, Offset, RelType, Addend); 1346 if (RelType == ELF::R_MIPS_32) 1348 else if (RelType == ELF::R_MIPS_PC16) 1350 else if (RelType == ELF::R_MIPS_PC19_S2) 1352 else if (RelType == ELF::R_MIPS_PC21_S2) 1354 else if (RelType == ELF::R_MIPS_PC26_S2) 1356 processSimpleRelocation(SectionID, Offset, RelType, Value); 1359 uint32_t r_type = RelType & 0xff; 1360 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); 1374 } else if (RelType == ELF::R_MIPS_26) { 1382 RelocationEntry RE(SectionID, Offset, RelType, i->second); 1436 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); 1441 processSimpleRelocation(SectionID, Offset, RelType, Value); 1445 if (RelType == ELF::R_PPC64_REL24) { 1480 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); 1494 RelType, 0); 1538 RelType, 0); 1549 } else if (RelType == ELF::R_PPC64_TOC16 || 1550 RelType == ELF::R_PPC64_TOC16_DS || 1551 RelType == ELF::R_PPC64_TOC16_LO || 1552 RelType == ELF::R_PPC64_TOC16_LO_DS || 1553 RelType == ELF::R_PPC64_TOC16_HI || 1554 RelType == ELF::R_PPC64_TOC16_HA) { 1565 switch (RelType) { 1566 case ELF::R_PPC64_TOC16: RelType = ELF::R_PPC64_ADDR16; break; 1567 case ELF::R_PPC64_TOC16_DS: RelType = ELF::R_PPC64_ADDR16_DS; break; 1568 case ELF::R_PPC64_TOC16_LO: RelType = ELF::R_PPC64_ADDR16_LO; break; 1569 case ELF::R_PPC64_TOC16_LO_DS: RelType = ELF::R_PPC64_ADDR16_LO_DS; break; 1570 case ELF::R_PPC64_TOC16_HI: RelType = ELF::R_PPC64_ADDR16_HI; break; 1571 case ELF::R_PPC64_TOC16_HA: RelType = ELF::R_PPC64_ADDR16_HA; break; 1581 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0); 1587 if (RelType == ELF::R_PPC64_TOC) { 1588 RelType = ELF::R_PPC64_ADDR64; 1597 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); 1605 (RelType == ELF::R_390_PLT32DBL || RelType == ELF::R_390_GOTENT)) { 1605 (RelType == ELF::R_390_PLT32DBL || RelType == ELF::R_390_GOTENT)) { 1646 if (RelType == ELF::R_390_GOTENT) 1650 resolveRelocation(Section, Offset, StubAddress, RelType, Addend); 1652 if (RelType == ELF::R_X86_64_PLT32) { 1715 } else if (RelType == ELF::R_X86_64_GOTPCREL || 1716 RelType == ELF::R_X86_64_GOTPCRELX || 1717 RelType == ELF::R_X86_64_REX_GOTPCRELX) { 1729 } else if (RelType == ELF::R_X86_64_GOT64) { 1742 } else if (RelType == ELF::R_X86_64_GOTPC64) { 1748 } else if (RelType == ELF::R_X86_64_GOTOFF64) { 1751 processSimpleRelocation(SectionID, Offset, RelType, Value); 1752 } else if (RelType == ELF::R_X86_64_PC32) { 1754 processSimpleRelocation(SectionID, Offset, RelType, Value); 1755 } else if (RelType == ELF::R_X86_64_PC64) { 1757 processSimpleRelocation(SectionID, Offset, RelType, Value); 1759 processSimpleRelocation(SectionID, Offset, RelType, Value); 1765 processSimpleRelocation(SectionID, Offset, RelType, Value);