Home | History | Annotate | Download | only in X86
      1 //===- X86ELFDynamic.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_X86_ELFDYNAMIC_SECTION_H
     10 #define MCLD_X86_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 X86ELFDynamic : public ELFDynamic
     20 {
     21 public:
     22   X86ELFDynamic(const GNULDBackend& pParent, const LinkerConfig& pConfig);
     23   ~X86ELFDynamic();
     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