summaryrefslogtreecommitdiff
path: root/lib/Target/ARM/ARMGOT.h
diff options
context:
space:
mode:
authorShih-wei Liao <sliao@google.com>2012-08-02 23:13:03 -0700
committerShih-wei Liao <sliao@google.com>2012-08-02 23:13:03 -0700
commitcedee4b38f4786845183be7f5916dd520a170ae0 (patch)
tree33f34be2b8018b8ba6f4e70f32f7bd0d9bdc3b6c /lib/Target/ARM/ARMGOT.h
parent67e37f1be98c926645219cfb47fab9e90d8c725c (diff)
downloadmclinker-cedee4b38f4786845183be7f5916dd520a170ae0.tar.gz
Change-Id: I6d12c63bdae94299558dc1cf42b489bb98748851
Diffstat (limited to 'lib/Target/ARM/ARMGOT.h')
-rw-r--r--lib/Target/ARM/ARMGOT.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/lib/Target/ARM/ARMGOT.h b/lib/Target/ARM/ARMGOT.h
index 90f0f53..13d3424 100644
--- a/lib/Target/ARM/ARMGOT.h
+++ b/lib/Target/ARM/ARMGOT.h
@@ -12,7 +12,10 @@
#include <gtest.h>
#endif
+#include <llvm/ADT/DenseMap.h>
+
#include <mcld/Target/GOT.h>
+#include <mcld/LD/SectionData.h>
namespace mcld
{
@@ -27,15 +30,15 @@ class ARMGOT : public GOT
typedef llvm::DenseMap<const ResolveInfo*, GOTEntry*> SymbolIndexMapType;
public:
- typedef llvm::MCSectionData::iterator iterator;
- typedef llvm::MCSectionData::const_iterator const_iterator;
+ typedef SectionData::iterator iterator;
+ typedef SectionData::const_iterator const_iterator;
enum {
ARMGOT0Num = 3
};
public:
- ARMGOT(LDSection &pSection, llvm::MCSectionData& pSectionData);
+ ARMGOT(LDSection &pSection, SectionData& pSectionData);
~ARMGOT();