[MCJIT] Fix an overly-aggressive check in RuntimeDyldMachOARM.
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / Targets / RuntimeDyldMachOARM.h
index dadde769656741ff87c528b1e608a2074f58e00a..b7bd0b9d04fdff10df3798b5a02c8501828fd7b3 100644 (file)
@@ -105,11 +105,6 @@ public:
       Value >>= 2;
       // Mask the value to 24 bits.
       uint64_t FinalValue = Value & 0xffffff;
-      // Check for overflow.
-      if (Value != FinalValue) {
-        Error("ARM BR24 relocation out of range.");
-        return;
-      }
       // FIXME: If the destination is a Thumb function (and the instruction
       // is a non-predicated BL instruction), we need to change it to a BLX
       // instruction instead.