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 17 namespace mcld { 18 19 class HexagonELFDynamic : public ELFDynamic 20 { 21 public: 22 HexagonELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig); 23 ~HexagonELFDynamic(); 24 25 private: 26 void reserveTargetEntries(const ELFFileFormat& pFormat); 27 void applyTargetEntries(const ELFFileFormat& pFormat); 28 }; 29 30 } // namespace of mcld 31 32 #endif 33