C++程序  |  33行  |  836 B

//===- 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