HexagonELFDynamic.h revision 6f75755c9204b1d8817ae5a65a2f7e5af0ec3f70
1//===- HexagonELFDynamic.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_HEXAGON_ELFDYNAMIC_SECTION_H
10#define MCLD_HEXAGON_ELFDYNAMIC_SECTION_H
11#ifdef ENABLE_UNITTEST
12#include <gtest.h>
13#endif
14
15#include <mcld/Target/ELFDynamic.h>
16
17namespace mcld {
18
19class HexagonELFDynamic : public ELFDynamic
20{
21public:
22  HexagonELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
23  ~HexagonELFDynamic();
24
25private:
26  void reserveTargetEntries(const ELFFileFormat& pFormat);
27  void applyTargetEntries(const ELFFileFormat& pFormat);
28};
29
30} // namespace of mcld
31
32#endif
33