Lines Matching refs:bufLoc
399 const uint8_t *bufLoc = sec->rawData.begin() + rel.r_offset; in copyRelocations() local
401 addend = target.getImplicitAddend(bufLoc, type); in copyRelocations()
404 target.getRelExpr(type, sym, bufLoc) == R_MIPS_GOTREL) { in copyRelocations()
842 uint8_t *bufLoc = buf + offset; in relocateNonAlloc() local
845 addend += target.getImplicitAddend(bufLoc, type); in relocateNonAlloc()
848 RelExpr expr = target.getRelExpr(type, sym, bufLoc); in relocateNonAlloc()
887 target.relocateNoSym(bufLoc, type, value); in relocateNonAlloc()
897 target.relocateNoSym(bufLoc, type, in relocateNonAlloc()
906 target.relocateNoSym(bufLoc, type, SignExtend64<bits>(sym.getVA(addend))); in relocateNonAlloc()
927 bufLoc, type, in relocateNonAlloc()
943 uint8_t *bufLoc = buf + rel.offset; in relocateNonAllocForRelocatable() local
945 target->relocate(bufLoc, rel, targetVA); in relocateNonAllocForRelocatable()
982 uint8_t *bufLoc = buf + offset; in relocateAlloc() local
997 target.relaxGot(bufLoc, rel, targetVA); in relocateAlloc()
1005 target.relocate(bufLoc, rel, targetVA); in relocateAlloc()
1013 target.relocate(bufLoc, rel, targetVA); in relocateAlloc()
1026 target.relaxGot(bufLoc, rel, targetVA); in relocateAlloc()
1036 !tryRelaxPPC64TocIndirection(rel, bufLoc)) in relocateAlloc()
1037 target.relocate(bufLoc, rel, targetVA); in relocateAlloc()
1040 target.relaxTlsIeToLe(bufLoc, rel, targetVA); in relocateAlloc()
1044 target.relaxTlsLdToLe(bufLoc, rel, targetVA); in relocateAlloc()
1048 target.relaxTlsGdToLe(bufLoc, rel, targetVA); in relocateAlloc()
1055 target.relaxTlsGdToIe(bufLoc, rel, targetVA); in relocateAlloc()
1061 if (read32(bufLoc) == 0x60000000) // nop in relocateAlloc()
1070 if ((bufLoc + 8 > bufEnd || read32(bufLoc + 4) != 0x60000000) && in relocateAlloc()
1073 errorOrWarn(getErrorLocation(bufLoc) + "call to " + in relocateAlloc()
1078 write32(bufLoc + 4, 0xe8410018); // ld %r2, 24(%r1) in relocateAlloc()
1080 target.relocate(bufLoc, rel, targetVA); in relocateAlloc()
1083 target.relocate(bufLoc, rel, targetVA); in relocateAlloc()