summaryrefslogtreecommitdiff
path: root/lib/Target/X86/X86GOTPLT.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/X86/X86GOTPLT.h
parent67e37f1be98c926645219cfb47fab9e90d8c725c (diff)
downloadmclinker-cedee4b38f4786845183be7f5916dd520a170ae0.tar.gz
Change-Id: I6d12c63bdae94299558dc1cf42b489bb98748851
Diffstat (limited to 'lib/Target/X86/X86GOTPLT.h')
-rw-r--r--lib/Target/X86/X86GOTPLT.h14
1 files changed, 8 insertions, 6 deletions
diff --git a/lib/Target/X86/X86GOTPLT.h b/lib/Target/X86/X86GOTPLT.h
index ae9f0f7..7ca695b 100644
--- a/lib/Target/X86/X86GOTPLT.h
+++ b/lib/Target/X86/X86GOTPLT.h
@@ -12,28 +12,30 @@
#include <gtest.h>
#endif
+#include <llvm/ADT/DenseMap.h>
+
#include <mcld/Target/GOT.h>
+#include <mcld/LD/SectionData.h>
namespace mcld
{
class LDSection;
+const unsigned int X86GOTPLT0Num = 3;
+
/** \class X86GOTPLT
* \brief X86 .got.plt section.
*/
-
-const unsigned int X86GOTPLT0Num = 3;
-
class X86GOTPLT : 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;
public:
- X86GOTPLT(LDSection &pSection, llvm::MCSectionData& pSectionData);
+ X86GOTPLT(LDSection &pSection, SectionData& pSectionData);
~X86GOTPLT();