[x32] Emit callq for CALLpcrel32
[oota-llvm.git] / lib / MC / MCDwarf.cpp
index 5bc0e43f59dbb42c0d63f5db9f834a8238cc447c..95cfe24eaae6f8f647a3564a6d0dcc4d9fe53377 100644 (file)
@@ -613,7 +613,8 @@ static void EmitGenDwarfAranges(MCStreamer *MCOS,
   // The 4 byte offset to the compile unit in the .debug_info from the start
   // of the .debug_info.
   if (InfoSectionSymbol)
-    MCOS->EmitSymbolValue(InfoSectionSymbol, 4);
+    MCOS->EmitSymbolValue(InfoSectionSymbol, 4,
+                          asmInfo->needsDwarfSectionOffsetDirective());
   else
     MCOS->EmitIntValue(0, 4);
   // The 1 byte size of an address.