• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- ELFSectLinker.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 <mcld/Target/ELFSectLinker.h>
10 #include <mcld/CodeGen/SectLinkerOption.h>
11 
12 using namespace mcld;
13 
14 //==========================
15 // ELFSectLinker
ELFSectLinker(SectLinkerOption & pOption,TargetLDBackend & pLDBackend)16 ELFSectLinker::ELFSectLinker(SectLinkerOption &pOption,
17                              TargetLDBackend &pLDBackend)
18   : SectLinker(pOption, pLDBackend) {
19 }
20 
~ELFSectLinker()21 ELFSectLinker::~ELFSectLinker()
22 {
23   // SectLinker will delete m_pLDBackend and m_pLDDriver;
24 }
25 
26