MCJIT: Pass the i386 MachO relocation type properly.
[oota-llvm.git] / lib / ExecutionEngine / RuntimeDyld / RuntimeDyldMachO.cpp
index 0e3a9d4af50d80953895c188ebfefcdae71aab23..73fbda4ab6634dbf85e5ccdca2dc90da4f692c36 100644 (file)
@@ -57,7 +57,7 @@ void RuntimeDyldMachO::resolveRelocation(uint8_t *LocalAddress,
                           FinalAddress,
                           (uintptr_t)Value,
                           isPCRel,
-                          Type,
+                          MachoType,
                           Size,
                           Addend);
     break;