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 | 5c04c62765a0bb6c42b5d940867a53c93734fa06 (patch) | |
tree | 38f927dc43f4e4648cb835db2b401d51acf77205 /llvm/lib/MC/MCAsmInfoDarwin.cpp | |
parent | 54e09b47996ec06c1220eb6314d0cbd47a753d24 (diff) | |
download | bcm5719-llvm-5c04c62765a0bb6c42b5d940867a53c93734fa06.tar.gz bcm5719-llvm-5c04c62765a0bb6c42b5d940867a53c93734fa06.zip |
Darwin wants ctors/dtors to be ordered the other way round to linux.
llvm-svn: 139015
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r-- | llvm/lib/MC/MCAsmInfoDarwin.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp index 5851cb0391d..61fbd29a285 100644 --- a/llvm/lib/MC/MCAsmInfoDarwin.cpp +++ b/llvm/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. |