ELFDynObjFileFormat.h revision abe0db302735bbdf9cd84caee2a36e6c4538fc4d
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{ 18 19class GNULDBackend; 20class MCLinker; 21 22/** \class ELFDynObjFileFormat 23 * \brief ELFDynObjFileFormat describes the format for ELF dynamic objects. 24 */ 25class ELFDynObjFileFormat : public ELFFileFormat 26{ 27public: 28 ELFDynObjFileFormat(GNULDBackend& pBackend) : ELFFileFormat(pBackend) 29 {} 30 31 void initObjectType(MCLinker& pLinker); 32 33}; 34 35} // namespace of mcld 36 37#endif 38