1 //===- PLT.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 10 #include <mcld/Target/PLT.h> 11 #include <mcld/IRBuilder.h> 12 13 using namespace mcld; 14 15 class GOT; 16 17 //===----------------------------------------------------------------------===// 18 // PLT 19 //===----------------------------------------------------------------------===// PLT(LDSection & pSection)20PLT::PLT(LDSection& pSection) 21 :m_Section(pSection) 22 { 23 m_pSectionData = IRBuilder::CreateSectionData(pSection); 24 } 25 ~PLT()26PLT::~PLT() 27 { 28 } 29 30