summaryrefslogtreecommitdiff
path: root/lib/MC/MCAsmInfoDarwin.cpp
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2010-12-06 17:27:56 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2010-12-06 17:27:56 +0000
commit0bbe0b440ee2cef47dcb7b281825eb70341c16dd (patch)
treecb89c6c7e0e793b024fa78547f2adf48f015bec2 /lib/MC/MCAsmInfoDarwin.cpp
parent6d86492f5ed0f9853ddd3b24e1aa037e305e1784 (diff)
downloadllvm-0bbe0b440ee2cef47dcb7b281825eb70341c16dd.tar.gz
llvm-0bbe0b440ee2cef47dcb7b281825eb70341c16dd.tar.bz2
llvm-0bbe0b440ee2cef47dcb7b281825eb70341c16dd.tar.xz
Second try at making direct object emission produce the same results
as llc + llvm-mc. This time ELF is not changed and I tested that llvm-gcc bootstrap on darwin10 using darwin9's assembler and linker. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@121006 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--lib/MC/MCAsmInfoDarwin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/MC/MCAsmInfoDarwin.cpp b/lib/MC/MCAsmInfoDarwin.cpp
index 1147f02a59..a382741b5a 100644
--- a/lib/MC/MCAsmInfoDarwin.cpp
+++ b/lib/MC/MCAsmInfoDarwin.cpp
@@ -40,7 +40,8 @@ MCAsmInfoDarwin::MCAsmInfoDarwin() {
// FIXME: Darwin 10 and newer don't need this.
LinkerRequiresNonEmptyDwarfLines = true;
-
+
+ NeedsSetToChangeDiffSize = true;
HiddenVisibilityAttr = MCSA_PrivateExtern;
// Doesn't support protected visibility.
ProtectedVisibilityAttr = MCSA_Global;