reference, declarationdefinition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced

References

tools/lld/ELF/Arch/ARM.cpp
  397     write32le(loc, val);
  400     checkInt(loc, val, 31, type);
  401     write32le(loc, (read32le(loc) & 0x80000000) | (val & ~0x80000000));
  401     write32le(loc, (read32le(loc) & 0x80000000) | (val & ~0x80000000));
  409       checkInt(loc, val, 26, type);
  410       write32le(loc, 0xfa000000 |                    // opcode
  415     if ((read32le(loc) & 0xfe000000) == 0xfa000000)
  418       write32le(loc, 0xeb000000 | (read32le(loc) & 0x00ffffff));
  418       write32le(loc, 0xeb000000 | (read32le(loc) & 0x00ffffff));
  424     checkInt(loc, val, 26, type);
  425     write32le(loc, (read32le(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff));
  425     write32le(loc, (read32le(loc) & ~0x00ffffff) | ((val >> 2) & 0x00ffffff));
  428     checkInt(loc, val, 12, type);
  429     write16le(loc, (read32le(loc) & 0xf800) | ((val >> 1) & 0x07ff));
  429     write16le(loc, (read32le(loc) & 0xf800) | ((val >> 1) & 0x07ff));
  433     checkInt(loc, val, 21, type);
  434     write16le(loc,
  435               (read16le(loc) & 0xfbc0) |   // opcode cond
  438     write16le(loc + 2,
  453     write16le(loc + 2, (read16le(loc + 2) & ~0x1000) | (val & 1) << 12);
  453     write16le(loc + 2, (read16le(loc + 2) & ~0x1000) | (val & 1) << 12);
  457       checkInt(loc, val, 23, type);
  458       write16le(loc,
  461       write16le(loc + 2,
  462                 (read16le(loc + 2) & 0xd000) | // opcode
  471     checkInt(loc, val, 25, type);
  472     write16le(loc,
  476     write16le(loc + 2,
  477               (read16le(loc + 2) & 0xd000) |                  // opcode
  484     write32le(loc, (read32le(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) |
  484     write32le(loc, (read32le(loc) & ~0x000f0fff) | ((val & 0xf000) << 4) |
  489     write32le(loc, (read32le(loc) & ~0x000f0fff) |
  489     write32le(loc, (read32le(loc) & ~0x000f0fff) |
  495     write16le(loc,
  499     write16le(loc + 2,
  500               (read16le(loc + 2) & 0x8f00) | // opcode
  507     write16le(loc,
  511     write16le(loc + 2,
  512               (read16le(loc + 2) & 0x8f00) | // opcode
  517     error(getErrorLocation(loc) + "unrecognized relocation " + toString(type));