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_LD_ELFEXECFILEFORMAT_H_
10 #define MCLD_LD_ELFEXECFILEFORMAT_H_
11 #include "mcld/LD/ELFFileFormat.h"
12 
13 namespace mcld {
14 
15 class ObjectBuilder;
16 
17 /** \class ELFExecFileFormat
18  *  \brief ELFExecFileFormat describes the format for ELF dynamic objects.
19  */
20 class ELFExecFileFormat : public ELFFileFormat {
21   /// initObjectFormat - initialize sections that are dependent on executable
22   /// objects.
23   void initObjectFormat(ObjectBuilder& pBuilder, unsigned int pBitClass);
24 };
25 
26 }  // namespace mcld
27 
28 #endif  // MCLD_LD_ELFEXECFILEFORMAT_H_
29