• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- ELFMCLinker.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/ELFMCLinker.h>
10 #include <mcld/LinkerConfig.h>
11 #include <mcld/Object/SectionMap.h>
12 #include <mcld/Support/MsgHandling.h>
13 
14 using namespace mcld;
15 
16 //===----------------------------------------------------------------------===//
17 // ELFMCLinker
18 //===----------------------------------------------------------------------===//
ELFMCLinker(LinkerConfig & pConfig,mcld::Module & pModule,MemoryArea & pOutput)19 ELFMCLinker::ELFMCLinker(LinkerConfig& pConfig,
20                          mcld::Module& pModule,
21                          MemoryArea& pOutput)
22   : MCLinker(pConfig, pModule, pOutput) {
23 
24 }
25 
~ELFMCLinker()26 ELFMCLinker::~ELFMCLinker()
27 {
28   // MCLinker will delete m_pLDBackend and m_pLDDriver;
29 }
30 
31