ELFMCLinker.h revision 22add6ff3426df1a85089fe6a6e1597ee3b6f300
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
21namespace mcld {
22
23class Module;
24class Output;
25
26class ELFMCLinker : public MCLinker
27{
28public:
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