mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-01-31 12:41:49 +01:00
[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:
parent
7ac48e4d02
commit
f2bb6bf8f0
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user