Home | History | Annotate | Download | only in Hexagon
      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 //===----------------------------------------------------------------------===//
     21 HexagonGOT::HexagonGOT(LDSection& pSection)
     22   : GOT(pSection)
     23 {
     24 }
     25 
     26 HexagonGOT::~HexagonGOT()
     27 {
     28 }
     29 
     30 HexagonGOTEntry* HexagonGOT::create()
     31 {
     32   return new HexagonGOTEntry(0, m_SectionData);
     33 }
     34 
     35