1 //===- ELFMCLinker.h ------------------------------------------------------===// 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 // ELFMCLinker is a customized linker pass for ELF platform. 11 // This pass set up default parameters for ELF. 12 // 13 //===----------------------------------------------------------------------===// 14 #ifndef MCLD_ELF_SECTION_LINKER_H 15 #define MCLD_ELF_SECTION_LINKER_H 16 #ifdef ENABLE_UNITTEST 17 #include <gtest.h> 18 #endif 19 #include <mcld/CodeGen/MCLinker.h> 20 21 namespace mcld { 22 23 class Module; 24 class Output; 25 26 class ELFMCLinker : public MCLinker 27 { 28 public: 29 ELFMCLinker(LinkerConfig& pConfig, 30 mcld::Module& pModule, 31 MemoryArea& pOutput); 32 33 virtual ~ELFMCLinker(); 34 }; 35 36 } // namespace of mcld 37 38 #endif 39 40