diff options
author | Duncan Sands <baldrick@free.fr> | 2011-09-02 18:07:19 +0000 |
---|---|---|
committer | Duncan Sands <baldrick@free.fr> | 2011-09-02 18:07:19 +0000 |
commit | 147272b8a70db7984a6bdfad3b5efabcb794a42e (patch) | |
tree | 9af9b3f2b5be4e345c0cb17cb6b36b0566931fdb /lib/MC/MCAsmInfoDarwin.cpp | |
parent | 98f213cd60f21437846ce4075c0fe15d7f09a3fd (diff) |
Darwin wants ctors/dtors to be ordered the other way round to linux.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@139015 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | lib/MC/MCAsmInfoDarwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp index 5851cb0391..61fbd29a28 100644 --- a/lib/MC/MCAsmInfoDarwin.cpp +++ b/lib/MC/MCAsmInfoDarwin.cpp @@ -39,6 +39,7 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() { ZeroDirective = "\t.space\t"; // ".space N" emits N zeros. HasMachoZeroFillDirective = true; // Uses .zerofill HasMachoTBSSDirective = true; // Uses .tbss + StructorOutputOrder = Structors::PriorityOrder; HasStaticCtorDtorReferenceInStaticMode = true; // FIXME: Darwin 10 and newer don't need this. |