aboutsummaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2009-08-22 22:07:08 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2009-08-22 22:07:08 +0000
commitecf046b86d1fa372b30f5a8cbcef04a52058b175 (patch)
tree1a81c8e4baa0eff8714836fe67b1d0b4dab4505c /lib
parent5ec2e6b586bf4029763711d6860b57d312eb2d2e (diff)
Update CMake build, unbreak linux build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@79779 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib')
-rw-r--r--lib/MC/CMakeLists.txt3
-rw-r--r--lib/Target/CMakeLists.txt3
-rw-r--r--lib/Target/Mips/MipsMCAsmInfo.cpp2
3 files changed, 4 insertions, 4 deletions
diff --git a/lib/MC/CMakeLists.txt b/lib/MC/CMakeLists.txt
index 5eac6e0e53..8075392c34 100644
--- a/lib/MC/CMakeLists.txt
+++ b/lib/MC/CMakeLists.txt
@@ -1,4 +1,7 @@
add_llvm_library(LLVMMC
+ MCAsmInfo.cpp
+ MCAsmInfoCOFF.cpp
+ MCAsmInfoDarwin.cpp
MCAsmLexer.cpp
MCAsmParser.cpp
MCAsmStreamer.cpp
diff --git a/lib/Target/CMakeLists.txt b/lib/Target/CMakeLists.txt
index a21ccd590c..888c1a3c00 100644
--- a/lib/Target/CMakeLists.txt
+++ b/lib/Target/CMakeLists.txt
@@ -1,9 +1,6 @@
add_llvm_library(LLVMTarget
- COFFTargetAsmInfo.cpp
- DarwinTargetAsmInfo.cpp
SubtargetFeature.cpp
Target.cpp
- TargetAsmInfo.cpp
TargetData.cpp
TargetELFWriterInfo.cpp
TargetFrameInfo.cpp
diff --git a/lib/Target/Mips/MipsMCAsmInfo.cpp b/lib/Target/Mips/MipsMCAsmInfo.cpp
index d0bd87c21f..60ef1c9e4f 100644
--- a/lib/Target/Mips/MipsMCAsmInfo.cpp
+++ b/lib/Target/Mips/MipsMCAsmInfo.cpp
@@ -19,7 +19,7 @@ MipsMCAsmInfo::MipsMCAsmInfo(const Target &T, const StringRef &TT) {
COMMDirectiveTakesAlignment = true;
Data16bitsDirective = "\t.half\t";
Data32bitsDirective = "\t.word\t";
- Data64bitsDirective = NULL;
+ Data64bitsDirective = 0;
PrivateGlobalPrefix = "$";
CommentString = "#";
ZeroDirective = "\t.space\t";