Home | History | Annotate | Download | only in Target
      1 //===- ELFSectLinker.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 // ELFSectLinker 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/SectLinker.h>
     20 
     21 namespace mcld
     22 {
     23 
     24 class ELFSectLinker : public SectLinker
     25 {
     26 public:
     27   ELFSectLinker(SectLinkerOption &pOption,
     28                 mcld::TargetLDBackend &pLDBackend);
     29 
     30   virtual ~ELFSectLinker();
     31 };
     32 
     33 } // namespace of mcld
     34 
     35 #endif
     36 
     37