summaryrefslogtreecommitdiff
path: root/lib/Target/Hexagon/HexagonELFDynamic.h
blob: 423d918c1ea79ab2f69035b02094293ae140e44a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
//===- HexagonELFDynamic.h ------------------------------------------------===//
//
//                     The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_HEXAGON_ELFDYNAMIC_SECTION_H
#define MCLD_HEXAGON_ELFDYNAMIC_SECTION_H
#ifdef ENABLE_UNITTEST
#include <gtest.h>
#endif

#include <mcld/Target/ELFDynamic.h>

namespace mcld {

class HexagonELFDynamic : public ELFDynamic
{
public:
  HexagonELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
  ~HexagonELFDynamic();

private:
  void reserveTargetEntries(const ELFFileFormat& pFormat);
  void applyTargetEntries(const ELFFileFormat& pFormat);
};

} // namespace of mcld

#endif