summaryrefslogtreecommitdiffstats
path: root/llvm/lib/MC/MCAssembler.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2010-02-02 19:38:14 +0000
committerChris Lattner <sabre@nondot.org>2010-02-02 19:38:14 +0000
commit809ae81ff93746157e3aef5c53827280f79b0709 (patch)
treec124b16b6f913acb911e18945d624ccc7d05669c /llvm/lib/MC/MCAssembler.cpp
parent8487d65ea20ffd5f8884d128ec8b00239fe83ed3 (diff)
downloadbcm5719-llvm-809ae81ff93746157e3aef5c53827280f79b0709.tar.gz
bcm5719-llvm-809ae81ff93746157e3aef5c53827280f79b0709.zip
Add a new top-level MachO.h file for manifest constants, fixing
a layering violation from MC -> Target. llvm-svn: 95113
Diffstat (limited to 'llvm/lib/MC/MCAssembler.cpp')
-rw-r--r--llvm/lib/MC/MCAssembler.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/lib/MC/MCAssembler.cpp b/llvm/lib/MC/MCAssembler.cpp
index f0f5a47eb2c..08943ebd93e 100644
--- a/llvm/lib/MC/MCAssembler.cpp
+++ b/llvm/lib/MC/MCAssembler.cpp
@@ -13,13 +13,13 @@
#include "llvm/MC/MCSectionMachO.h"
#include "llvm/MC/MCSymbol.h"
#include "llvm/MC/MCValue.h"
-#include "llvm/Target/TargetMachOWriterInfo.h"
#include "llvm/ADT/DenseMap.h"
#include "llvm/ADT/SmallString.h"
#include "llvm/ADT/Statistic.h"
#include "llvm/ADT/StringMap.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/ErrorHandling.h"
+#include "llvm/Support/MachO.h"
#include "llvm/Support/raw_ostream.h"
#include <vector>
using namespace llvm;
@@ -203,9 +203,9 @@ public:
Write32(Header_Magic32);
// FIXME: Support cputype.
- Write32(TargetMachOWriterInfo::HDR_CPU_TYPE_I386);
+ Write32(MachO::CPUTypeI386);
// FIXME: Support cpusubtype.
- Write32(TargetMachOWriterInfo::HDR_CPU_SUBTYPE_I386_ALL);
+ Write32(MachO::CPUSubType_I386_ALL);
Write32(HFT_Object);
Write32(NumLoadCommands); // Object files have a single load command, the
// segment.
OpenPOWER on IntegriCloud