ELFExecFileFormat.h revision affc150dc44fab1911775a49636d0ce85333b634
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
16namespace mcld
17{
18
19class GNULDBackend;
20class MCLinker;
21
22/** \class ELFExecFileFormat
23 *  \brief ELFExecFileFormat describes the format for ELF dynamic objects.
24 */
25class ELFExecFileFormat : public ELFFileFormat
26{
27public:
28  ELFExecFileFormat(GNULDBackend& pBackend) : ELFFileFormat(pBackend)
29  {}
30
31  void initObjectType(MCLinker& pLinker);
32};
33
34} // namespace of mcld
35
36#endif
37
38