Lines Matching defs:bufLoc
465 const uint8_t *bufLoc = sec->data().begin() + rel.r_offset;
467 addend = target->getImplicitAddend(bufLoc, type);
470 target->getRelExpr(type, sym, bufLoc) == R_MIPS_GOTREL) {
878 uint8_t *bufLoc = buf + offset;
881 addend += target->getImplicitAddend(bufLoc, type);
884 RelExpr expr = target->getRelExpr(type, sym, bufLoc);
889 target->relocateNoSym(bufLoc, type,
911 target->relocateNoSym(bufLoc, type,
952 target->relocateNoSym(bufLoc, type, value);
956 target->relocateNoSym(bufLoc, type, SignExtend64<bits>(sym.getVA(addend)));
971 uint8_t *bufLoc = buf + rel.offset + sec->outSecOff;
973 target->relocate(bufLoc, rel, targetVA);
1006 uint8_t *bufLoc = buf + offset;
1018 target->relaxGot(bufLoc, rel, targetVA);
1027 !tryRelaxPPC64TocIndirection(rel, bufLoc))
1028 target->relocate(bufLoc, rel, targetVA);
1031 target->relaxTlsIeToLe(bufLoc, rel, targetVA);
1035 target->relaxTlsLdToLe(bufLoc, rel, targetVA);
1039 target->relaxTlsGdToLe(bufLoc, rel, targetVA);
1046 target->relaxTlsGdToIe(bufLoc, rel, targetVA);
1052 if (read32(bufLoc) == 0x60000000) // nop
1061 if ((bufLoc + 8 > bufEnd || read32(bufLoc + 4) != 0x60000000) &&
1064 errorOrWarn(getErrorLocation(bufLoc) + "call to " +
1069 write32(bufLoc + 4, 0xe8410018); // ld %r2, 24(%r1)
1071 target->relocate(bufLoc, rel, targetVA);
1074 target->relocate(bufLoc, rel, targetVA);
1086 uint8_t *bufLoc = buf + offset;
1087 target->applyJumpInstrMod(bufLoc, jumpMod.original, jumpMod.size);