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