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_TARGET_ELFMCLINKER_H 15 #define MCLD_TARGET_ELFMCLINKER_H 16 #include <mcld/CodeGen/MCLinker.h> 17 18 namespace mcld { 19 20 class Module; 21 class Output; 22 class FileHandle; 23 24 class ELFMCLinker : public MCLinker 25 { 26 public: 27 ELFMCLinker(LinkerConfig& pConfig, 28 mcld::Module& pModule, 29 FileHandle& pFileHandle); 30 31 virtual ~ELFMCLinker(); 32 }; 33 34 } // namespace of mcld 35 36 #endif 37 38