summaryrefslogtreecommitdiff
path: root/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
commit362dd0bef5437f85586c046bc53287b6fbe9c099 (patch)
tree1acaccefcb22db749cd47b998877d9401a513ef5 /lib/Target/ARM/ARMTargetObjectFile.h
parentac8a3d0b5b464e4dd7c45ba111e6da1aeed39bc5 (diff)
downloadllvm-362dd0bef5437f85586c046bc53287b6fbe9c099.tar.gz
llvm-362dd0bef5437f85586c046bc53287b6fbe9c099.tar.bz2
llvm-362dd0bef5437f85586c046bc53287b6fbe9c099.tar.xz
Move TLOF implementations to libCodegen to resolve layering violation.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@96288 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/ARM/ARMTargetObjectFile.h')
-rw-r--r--lib/Target/ARM/ARMTargetObjectFile.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Target/ARM/ARMTargetObjectFile.h b/lib/Target/ARM/ARMTargetObjectFile.h
index 9703403db2..a488c0a21f 100644
--- a/lib/Target/ARM/ARMTargetObjectFile.h
+++ b/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 =