summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit44bbe36de66b44f7c9b7355709b62609886e287a (patch)
tree168e54e4625559ee716af456450eb1c9befdde14 /llvm/lib/MC/MCAsmInfoDarwin.cpp
parentdee30623734e0ea86d8b4d16cae9632087e548b9 (diff)
downloadbcm5719-llvm-44bbe36de66b44f7c9b7355709b62609886e287a.tar.gz
bcm5719-llvm-44bbe36de66b44f7c9b7355709b62609886e287a.zip
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. llvm-svn: 121006
Diffstat (limited to 'llvm/lib/MC/MCAsmInfoDarwin.cpp')
-rw-r--r--llvm/lib/MC/MCAsmInfoDarwin.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/llvm/lib/MC/MCAsmInfoDarwin.cpp b/llvm/lib/MC/MCAsmInfoDarwin.cpp
index 1147f02a596..a382741b5a2 100644
--- a/llvm/lib/MC/MCAsmInfoDarwin.cpp
+++ b/llvm/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;
OpenPOWER on IntegriCloud