Home | History | Annotate | Download | only in LD
      1 //===- ELFDynObjFileFormat.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_ELF_DYNAMIC_OBJECT_FILE_FROMAT_H
     10 #define MCLD_ELF_DYNAMIC_OBJECT_FILE_FROMAT_H
     11 #ifdef ENABLE_UNITTEST
     12 #include <gtest.h>
     13 #endif
     14 #include <mcld/LD/ELFFileFormat.h>
     15 
     16 namespace mcld
     17 {
     18 
     19 class GNULDBackend;
     20 class MCLinker;
     21 
     22 /** \class ELFDynObjFileFormat
     23  *  \brief ELFDynObjFileFormat describes the format for ELF dynamic objects.
     24  */
     25 class ELFDynObjFileFormat : public ELFFileFormat
     26 {
     27 public:
     28   ELFDynObjFileFormat(GNULDBackend& pBackend) : ELFFileFormat(pBackend)
     29   {}
     30 
     31   void initObjectType(MCLinker& pLinker);
     32 
     33 };
     34 
     35 } // namespace of mcld
     36 
     37 #endif
     38 
     39