• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
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 
16 using namespace mcld;
17 
18 //===----------------------------------------------------------------------===//
19 // HexagonGOT
20 //===----------------------------------------------------------------------===//
HexagonGOT(LDSection & pSection)21 HexagonGOT::HexagonGOT(LDSection& pSection)
22   : GOT(pSection)
23 {
24 }
25 
~HexagonGOT()26 HexagonGOT::~HexagonGOT()
27 {
28 }
29 
create()30 HexagonGOTEntry* HexagonGOT::create()
31 {
32   return new HexagonGOTEntry(0, m_SectionData);
33 }
34 
35