[llvm-branch-commits] [llvm-branch] r109880 - in /llvm/branches/Apple/Pertwee: ./ lib/Target/ARM/ARMAsmPrinter.cpp

Bob Wilson bob.wilson at apple.com
Fri Jul 30 12:57:28 PDT 2010


Author: bwilson
Date: Fri Jul 30 14:57:28 2010
New Revision: 109880

URL: http://llvm.org/viewvc/llvm-project?rev=109880&view=rev
Log:
--- Merging r109879 into '.':
U    lib/Target/ARM/ARMAsmPrinter.cpp

Modified:
    llvm/branches/Apple/Pertwee/   (props changed)
    llvm/branches/Apple/Pertwee/lib/Target/ARM/ARMAsmPrinter.cpp

Propchange: llvm/branches/Apple/Pertwee/
------------------------------------------------------------------------------
--- svn:mergeinfo (original)
+++ svn:mergeinfo Fri Jul 30 14:57:28 2010
@@ -1 +1 @@
-/llvm/trunk:109842
+/llvm/trunk:109842,109879

Modified: llvm/branches/Apple/Pertwee/lib/Target/ARM/ARMAsmPrinter.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/Apple/Pertwee/lib/Target/ARM/ARMAsmPrinter.cpp?rev=109880&r1=109879&r2=109880&view=diff
==============================================================================
--- llvm/branches/Apple/Pertwee/lib/Target/ARM/ARMAsmPrinter.cpp (original)
+++ llvm/branches/Apple/Pertwee/lib/Target/ARM/ARMAsmPrinter.cpp Fri Jul 30 14:57:28 2010
@@ -1165,6 +1165,12 @@
                                      16, SectionKind::getText());
         OutStreamer.SwitchSection(sect);
       }
+      const MCSection *StaticInitSect =
+        OutContext.getMachOSection("__TEXT", "__StaticInit",
+                                   MCSectionMachO::S_REGULAR |
+                                   MCSectionMachO::S_ATTR_PURE_INSTRUCTIONS,
+                                   SectionKind::getText());
+      OutStreamer.SwitchSection(StaticInitSect);
     }
   }
 





More information about the llvm-branch-commits mailing list