HexagonGOT.cpp revision f33f6de54db174aa679a4b6d1e040d37e95541c0
1//===- HexagonGOT.cpp -----------------------------------------------------===//
2//
3//                     The MCLinker Project
4//
5// This file is distributed under the University of Illinois Open Source
6// License. See LICENSE.TXT for details.
7//
8//===----------------------------------------------------------------------===//
9#include "HexagonGOT.h"
10
11#include <mcld/LD/LDFileFormat.h>
12#include <mcld/LD/SectionData.h>
13
14#include <llvm/Support/Casting.h>
15
16using namespace mcld;
17
18//===----------------------------------------------------------------------===//
19// HexagonGOT
20//===----------------------------------------------------------------------===//
21HexagonGOT::HexagonGOT(LDSection& pSection)
22  : GOT(pSection), m_pLast(NULL)
23{
24}
25
26HexagonGOT::~HexagonGOT()
27{
28}
29
30HexagonGOTEntry* HexagonGOT::create()
31{
32  return new HexagonGOTEntry(0, m_SectionData);
33}
34
35