ARM BL/BLX instruction fixups should use relocations.
[oota-llvm.git] / lib / MC / MCAssembler.cpp
index c041f65640a43966ea50bb9855dbc84af579c2c3..a2aaf4e83537674d45ecd7d5aa37852fd57a8cbf 100644 (file)
@@ -299,8 +299,10 @@ bool MCAssembler::evaluateFixup(const MCAsmLayout &Layout,
     Value -= Offset;
   }
 
-  // Let the backend adjust the fixup value if necessary.
-  Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value);
+  // Let the backend adjust the fixup value if necessary, including whether
+  // we need a relocation.
+  Backend.processFixupValue(*this, Layout, Fixup, DF, Target, Value,
+                            IsResolved);
 
   return IsResolved;
 }