• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1 //===- ELFExecFileFormat.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 MCLD_ELF_EXEC_FILE_FORMAT_H
10 #define MCLD_ELF_EXEC_FILE_FORMAT_H
11 #ifdef ENABLE_UNITTEST
12 #include <gtest.h>
13 #endif
14 #include <mcld/LD/ELFFileFormat.h>
15 
16 namespace mcld {
17 
18 class ObjectBuilder;
19 
20 /** \class ELFExecFileFormat
21  *  \brief ELFExecFileFormat describes the format for ELF dynamic objects.
22  */
23 class ELFExecFileFormat : public ELFFileFormat
24 {
25   /// initObjectFormat - initialize sections that are dependent on executable
26   /// objects.
27   void initObjectFormat(ObjectBuilder& pBuilder, unsigned int pBitClass);
28 };
29 
30 } // namespace of mcld
31 
32 #endif
33 
34