Lines Matching refs:Val
42 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
436 calculateMipsRelChain(uint8_t *Loc, RelType Type, uint64_t Val) { in calculateMipsRelChain() argument
452 return std::make_pair(Type, Val); in calculateMipsRelChain()
454 return std::make_pair(Type2, Val); in calculateMipsRelChain()
456 return std::make_pair(Type3, -Val); in calculateMipsRelChain()
459 return std::make_pair(Type & 0xff, Val); in calculateMipsRelChain()
463 void MIPS<ELFT>::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne()
467 std::tie(Type, Val) = calculateMipsRelChain(Loc, Type, Val); in relocateOne()
475 Val -= 0x8000; in relocateOne()
480 Val -= 0x7000; in relocateOne()
488 write32<E>(Loc, Val); in relocateOne()
493 write64<E>(Loc, Val); in relocateOne()
496 writeValue<E>(Loc, Val, 26, 2); in relocateOne()
503 writeValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
505 checkInt(Loc, Val, 16, Type); in relocateOne()
506 writeValue<E>(Loc, Val, 16, 0); in relocateOne()
511 writeShuffleValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
513 checkInt(Loc, Val, 16, Type); in relocateOne()
514 writeShuffleValue<E>(Loc, Val, 16, 0); in relocateOne()
524 checkInt(Loc, Val, 16, Type); in relocateOne()
533 writeValue<E>(Loc, Val, 16, 0); in relocateOne()
538 checkInt(Loc, Val, 16, Type); in relocateOne()
539 writeShuffleValue<E>(Loc, Val, 16, 0); in relocateOne()
547 writeShuffleValue<E>(Loc, Val, 16, 0); in relocateOne()
550 checkInt(Loc, Val, 7, Type); in relocateOne()
551 writeShuffleValue<E>(Loc, Val, 7, 2); in relocateOne()
559 writeValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
566 writeShuffleValue<E>(Loc, Val + 0x8000, 16, 16); in relocateOne()
569 writeValue<E>(Loc, Val + 0x80008000, 16, 32); in relocateOne()
572 writeValue<E>(Loc, Val + 0x800080008000, 16, 48); in relocateOne()
579 checkAlignment(Loc, Val, 4, Type); in relocateOne()
580 checkInt(Loc, Val, 18, Type); in relocateOne()
581 writeValue<E>(Loc, Val, 16, 2); in relocateOne()
584 checkAlignment(Loc, Val, 4, Type); in relocateOne()
585 checkInt(Loc, Val, 21, Type); in relocateOne()
586 writeValue<E>(Loc, Val, 19, 2); in relocateOne()
589 checkAlignment(Loc, Val, 4, Type); in relocateOne()
590 checkInt(Loc, Val, 23, Type); in relocateOne()
591 writeValue<E>(Loc, Val, 21, 2); in relocateOne()
594 checkAlignment(Loc, Val, 4, Type); in relocateOne()
595 checkInt(Loc, Val, 28, Type); in relocateOne()
596 writeValue<E>(Loc, Val, 26, 2); in relocateOne()
599 writeValue<E>(Loc, Val, 32, 0); in relocateOne()
603 checkInt(Loc, Val, 27, Type); in relocateOne()
604 writeShuffleValue<E>(Loc, Val, 26, 1); in relocateOne()
607 checkInt(Loc, Val, 8, Type); in relocateOne()
608 writeMicroRelocation16<E>(Loc, Val, 7, 1); in relocateOne()
611 checkInt(Loc, Val, 11, Type); in relocateOne()
612 writeMicroRelocation16<E>(Loc, Val, 10, 1); in relocateOne()
615 checkInt(Loc, Val, 17, Type); in relocateOne()
616 writeShuffleValue<E>(Loc, Val, 16, 1); in relocateOne()
619 checkInt(Loc, Val, 21, Type); in relocateOne()
620 writeShuffleValue<E>(Loc, Val, 18, 3); in relocateOne()
623 checkInt(Loc, Val, 21, Type); in relocateOne()
624 writeShuffleValue<E>(Loc, Val, 19, 2); in relocateOne()
627 checkInt(Loc, Val, 22, Type); in relocateOne()
628 writeShuffleValue<E>(Loc, Val, 21, 1); in relocateOne()
631 checkInt(Loc, Val, 25, Type); in relocateOne()
632 writeShuffleValue<E>(Loc, Val, 23, 2); in relocateOne()