Lines Matching refs:Loc

31                      const uint8_t *Loc) const override;
45 void relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const override;
85 const uint8_t *Loc) const { in getRelExpr()
379 void ARM::relocateOne(uint8_t *Loc, RelType Type, uint64_t Val) const { in relocateOne() argument
399 write32le(Loc, Val); in relocateOne()
402 write32le(Loc, 1); in relocateOne()
405 checkInt(Loc, Val, 31, Type); in relocateOne()
406 write32le(Loc, (read32le(Loc) & 0x80000000) | (Val & ~0x80000000)); in relocateOne()
414 checkInt(Loc, Val, 26, Type); in relocateOne()
415 write32le(Loc, 0xfa000000 | // opcode in relocateOne()
420 if ((read32le(Loc) & 0xfe000000) == 0xfa000000) in relocateOne()
423 write32le(Loc, 0xeb000000 | (read32le(Loc) & 0x00ffffff)); in relocateOne()
429 checkInt(Loc, Val, 26, Type); in relocateOne()
430 write32le(Loc, (read32le(Loc) & ~0x00ffffff) | ((Val >> 2) & 0x00ffffff)); in relocateOne()
433 checkInt(Loc, Val, 12, Type); in relocateOne()
434 write16le(Loc, (read32le(Loc) & 0xf800) | ((Val >> 1) & 0x07ff)); in relocateOne()
438 checkInt(Loc, Val, 21, Type); in relocateOne()
439 write16le(Loc, in relocateOne()
440 (read16le(Loc) & 0xfbc0) | // opcode cond in relocateOne()
443 write16le(Loc + 2, in relocateOne()
458 write16le(Loc + 2, (read16le(Loc + 2) & ~0x1000) | (Val & 1) << 12); in relocateOne()
462 checkInt(Loc, Val, 23, Type); in relocateOne()
463 write16le(Loc, in relocateOne()
466 write16le(Loc + 2, in relocateOne()
467 (read16le(Loc + 2) & 0xd000) | // opcode in relocateOne()
476 checkInt(Loc, Val, 25, Type); in relocateOne()
477 write16le(Loc, in relocateOne()
481 write16le(Loc + 2, in relocateOne()
482 (read16le(Loc + 2) & 0xd000) | // opcode in relocateOne()
489 write32le(Loc, (read32le(Loc) & ~0x000f0fff) | ((Val & 0xf000) << 4) | in relocateOne()
494 write32le(Loc, (read32le(Loc) & ~0x000f0fff) | in relocateOne()
500 write16le(Loc, in relocateOne()
504 write16le(Loc + 2, in relocateOne()
505 (read16le(Loc + 2) & 0x8f00) | // opcode in relocateOne()
512 write16le(Loc, in relocateOne()
516 write16le(Loc + 2, in relocateOne()
517 (read16le(Loc + 2) & 0x8f00) | // opcode in relocateOne()
522 error(getErrorLocation(Loc) + "unrecognized reloc " + Twine(Type)); in relocateOne()