diff options
| author | Lang Hames <lhames@gmail.com> | 2014-08-02 03:00:49 +0000 |
|---|---|---|
| committer | Lang Hames <lhames@gmail.com> | 2014-08-02 03:00:49 +0000 |
| commit | 70735351cac874a7d56bc03fe315d76c308130d0 (patch) | |
| tree | 73512cadbeab8e25cf1c3795f11202340cc9f2aa | |
| parent | 4de324442b2cd4b30f73a7d1b277078549774783 (diff) | |
| download | bcm5719-llvm-70735351cac874a7d56bc03fe315d76c308130d0.tar.gz bcm5719-llvm-70735351cac874a7d56bc03fe315d76c308130d0.zip | |
[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
| -rw-r--r-- | llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h index dadde769656..b7bd0b9d04f 100644 --- a/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h +++ b/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h @@ -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. |

