C++程序  |  29行  |  877 B

//===- ELFDynObjFileFormat.h ----------------------------------------------===//
//
//                     The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#ifndef MCLD_LD_ELFDYNOBJFILEFORMAT_H_
#define MCLD_LD_ELFDYNOBJFILEFORMAT_H_
#include "mcld/LD/ELFFileFormat.h"

namespace mcld {

class ObjectBuilder;

/** \class ELFDynObjFileFormat
 *  \brief ELFDynObjFileFormat describes the format for ELF dynamic objects.
 */
class ELFDynObjFileFormat : public ELFFileFormat {
  /// initObjectFormat - initialize sections that are dependent on shared
  /// objects.
  void initObjectFormat(ObjectBuilder& pBuilder, unsigned int pBitClass);
};

}  // namespace mcld

#endif  // MCLD_LD_ELFDYNOBJFILEFORMAT_H_