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 class ObjectBuilder;
     19 
     20 /** \class ELFDynObjFileFormat
     21  *  \brief ELFDynObjFileFormat describes the format for ELF dynamic objects.
     22  */
     23 class ELFDynObjFileFormat : public ELFFileFormat
     24 {
     25   /// initObjectFormat - initialize sections that are dependent on shared
     26   /// objects.
     27   void initObjectFormat(ObjectBuilder& pBuilder, unsigned int pBitClass);
     28 };
     29 
     30 } // namespace of mcld
     31 
     32 #endif
     33 
     34