Fix a bit of confusion about .set and produce more readable assembly.
[oota-llvm.git] / lib / MC / MCAsmInfoDarwin.cpp
index a04ffcb7d60e80b1853cc183f9f067761a2597e4..96fe216d0d652aa2c24df80e90d9b810d9c7ba36 100644 (file)
@@ -23,7 +23,6 @@ void MCAsmInfoDarwin::anchor() { }
 MCAsmInfoDarwin::MCAsmInfoDarwin() {
   // Common settings for all Darwin targets.
   // Syntax:
-  GlobalPrefix = '_';
   LinkerPrivateGlobalPrefix = "l";
   HasSingleParameterDotFile = false;
   HasSubsectionsViaSymbols = true;
@@ -59,4 +58,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
   HasNoDeadStrip = true;
 
   DwarfUsesRelocationsAcrossSections = false;
+
+  UseIntegratedAssembler = true;
+  SetDirectiveSuppressesReloc = true;
 }