Lines Matching refs:rel

45   void relocate(uint8_t *loc, const Relocation &rel,
454 void ARM::relocate(uint8_t *loc, const Relocation &rel, uint64_t val) const { in relocate() argument
455 switch (rel.type) { in relocate()
476 checkInt(loc, val, 31, rel); in relocate()
485 assert(rel.sym); // R_ARM_CALL is always reached via relocate(). in relocate()
490 if (!rel.sym->isFunc() && isBlx != bit0Thumb) in relocate()
491 stateChangeWarning(loc, rel.type, *rel.sym); in relocate()
492 if (rel.sym->isFunc() ? bit0Thumb : isBlx) { in relocate()
494 checkInt(loc, val, 26, rel); in relocate()
509 checkInt(loc, val, 26, rel); in relocate()
513 checkInt(loc, val, 12, rel); in relocate()
518 checkInt(loc, val, 21, rel); in relocate()
535 assert(rel.sym); // R_ARM_THM_CALL is always reached via relocate(). in relocate()
540 if (!rel.sym->isFunc() && !rel.sym->isInPlt() && isBlx == bit0Thumb) in relocate()
541 stateChangeWarning(loc, rel.type, *rel.sym); in relocate()
542 if (rel.sym->isFunc() || rel.sym->isInPlt() ? !bit0Thumb : isBlx) { in relocate()
554 checkInt(loc, val, 23, rel); in relocate()
569 checkInt(loc, val, 25, rel); in relocate()
634 Twine(val).str() + " for relocation " + toString(rel.type)); in relocate()
644 if (rel.sym->isFunc()) in relocate()
653 checkUInt(loc, imm, 12, rel); in relocate()
665 checkUInt(loc, imm, 12, rel); in relocate()
676 if (rel.sym->isFunc()) in relocate()
678 checkUInt(loc, val, 10, rel); in relocate()
679 checkAlignment(loc, val, 4, rel); in relocate()
688 if (rel.sym->isFunc()) in relocate()
696 checkUInt(loc, imm12, 12, rel); in relocate()
703 toString(rel.type)); in relocate()