[MCJIT] Fix an overly-aggressive check in RuntimeDyldMachOARM.

This should fix the MachO_ARM_PIC_relocations.s test failures on some 32-bit
testers.

llvm-svn: 214613
This commit is contained in:
Lang Hames 2014-08-02 03:00:49 +00:00
parent 4de324442b
commit 70735351ca
1 changed files with 0 additions and 5 deletions

View 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.