summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorLang Hames <lhames@gmail.com>2014-08-02 03:00:49 +0000
committerLang Hames <lhames@gmail.com>2014-08-02 03:00:49 +0000
commit70735351cac874a7d56bc03fe315d76c308130d0 (patch)
tree73512cadbeab8e25cf1c3795f11202340cc9f2aa
parent4de324442b2cd4b30f73a7d1b277078549774783 (diff)
downloadbcm5719-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.h5
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.
OpenPOWER on IntegriCloud