summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Target/ARM/ARMTargetObjectFile.h
diff options
context:
space:
mode:
authorAnton Korobeynikov <asl@math.spbu.ru>2010-02-15 22:37:53 +0000
committerAnton Korobeynikov <asl@math.spbu.ru>2010-02-15 22:37:53 +0000
commitab663a0bfe4881101ce972b59c1985cfc8af5e43 (patch)
tree41da50b3f94619077b094d6fa89100f82377b30d /llvm/lib/Target/ARM/ARMTargetObjectFile.h
parentec2ba08d168c9853d8713091b841134b99e5b2d3 (diff)
downloadbcm5719-llvm-ab663a0bfe4881101ce972b59c1985cfc8af5e43.tar.gz
bcm5719-llvm-ab663a0bfe4881101ce972b59c1985cfc8af5e43.zip
Move TLOF implementations to libCodegen to resolve layering violation.
llvm-svn: 96288
Diffstat (limited to 'llvm/lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r--llvm/lib/Target/ARM/ARMTargetObjectFile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/Target/ARM/ARMTargetObjectFile.h b/llvm/lib/Target/ARM/ARMTargetObjectFile.h
index 9703403db22..a488c0a21fe 100644
--- a/llvm/lib/Target/ARM/ARMTargetObjectFile.h
+++ b/llvm/lib/Target/ARM/ARMTargetObjectFile.h
@@ -10,7 +10,7 @@
#ifndef LLVM_TARGET_ARM_TARGETOBJECTFILE_H
#define LLVM_TARGET_ARM_TARGETOBJECTFILE_H
-#include "llvm/Target/TargetLoweringObjectFile.h"
+#include "llvm/CodeGen/TargetLoweringObjectFileImpl.h"
#include "llvm/MC/MCSectionELF.h"
namespace llvm {
@@ -24,7 +24,7 @@ namespace llvm {
if (TM.getSubtarget<ARMSubtarget>().isAAPCS_ABI()) {
StaticCtorSection =
- getELFSection(".init_array", MCSectionELF::SHT_INIT_ARRAY,
+ getELFSection(".init_array", MCSectionELF::SHT_INIT_ARRAY,
MCSectionELF::SHF_WRITE | MCSectionELF::SHF_ALLOC,
SectionKind::getDataRel());
StaticDtorSection =
OpenPOWER on IntegriCloud