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 namespace mcld { 17 18 //===----------------------------------------------------------------------===// 19 // HexagonGOT 20 //===----------------------------------------------------------------------===// HexagonGOT(LDSection & pSection)21HexagonGOT::HexagonGOT(LDSection& pSection) : GOT(pSection) { 22 } 23 ~HexagonGOT()24HexagonGOT::~HexagonGOT() { 25 } 26 create()27HexagonGOTEntry* HexagonGOT::create() { 28 return new HexagonGOTEntry(0, m_SectionData); 29 } 30 31 } // namespace mcld 32