ELFDynObjFileFormat.h revision 22add6ff3426df1a85089fe6a6e1597ee3b6f300
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 16namespace mcld { 17 18class ObjectBuilder; 19 20/** \class ELFDynObjFileFormat 21 * \brief ELFDynObjFileFormat describes the format for ELF dynamic objects. 22 */ 23class 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