aboutsummaryrefslogtreecommitdiffstats
path: root/lib/Target/ARM/ARMAsmPrinter.cpp
diff options
context:
space:
mode:
authorDale Johannesen <dalej@apple.com>2008-02-12 23:35:09 +0000
committerDale Johannesen <dalej@apple.com>2008-02-12 23:35:09 +0000
commit576dc02040d8c3cead1418c184b9693e9996291e (patch)
treefba6c5330ba25e8d8035dab82a4cdc18aa5a9d05 /lib/Target/ARM/ARMAsmPrinter.cpp
parenta12a0a3e3e78ffc20e113d04756bed36c7a194d0 (diff)
downloadexternal_llvm-576dc02040d8c3cead1418c184b9693e9996291e.zip
external_llvm-576dc02040d8c3cead1418c184b9693e9996291e.tar.gz
external_llvm-576dc02040d8c3cead1418c184b9693e9996291e.tar.bz2
__DATA not __DATA__ is the right segment name on darwin.
Spotted by Nick Kledzik. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@47037 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMAsmPrinter.cpp')
-rw-r--r--lib/Target/ARM/ARMAsmPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Target/ARM/ARMAsmPrinter.cpp b/lib/Target/ARM/ARMAsmPrinter.cpp
index 0d10097..7c69aa1 100644
--- a/lib/Target/ARM/ARMAsmPrinter.cpp
+++ b/lib/Target/ARM/ARMAsmPrinter.cpp
@@ -848,7 +848,7 @@ bool ARMAsmPrinter::doFinalization(Module &M) {
if (I->hasExternalLinkage()) {
if (const char *Directive = TAI->getZeroFillDirective()) {
O << "\t.globl\t" << name << "\n";
- O << Directive << "__DATA__, __common, " << name << ", "
+ O << Directive << "__DATA, __common, " << name << ", "
<< Size << ", " << Align << "\n";
continue;
}