1 //===- X86ELFMCLinker.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 #ifndef X86_ELFSECTLINKER_H 10 #define X86_ELFSECTLINKER_H 11 #ifdef ENABLE_UNITTEST 12 #include <gtest.h> 13 #endif 14 #include <mcld/Target/ELFMCLinker.h> 15 16 namespace mcld { 17 18 class Module; 19 class MemoryArea; 20 21 /** \class X86ELFMCLinker 22 * \brief X86ELFMCLinker sets up the environment for linking. 23 * 24 * \see 25 */ 26 class X86ELFMCLinker : public ELFMCLinker 27 { 28 public: 29 X86ELFMCLinker(LinkerConfig& pConfig, 30 mcld::Module& pModule, 31 MemoryArea& pOutput); 32 33 ~X86ELFMCLinker(); 34 }; 35 36 } // namespace of mcld 37 38 #endif 39 40