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