29 lines
869 B
C++
29 lines
869 B
C++
//===- ELFExecFileFormat.h ------------------------------------------------===//
|
|
//
|
|
// The MCLinker Project
|
|
//
|
|
// This file is distributed under the University of Illinois Open Source
|
|
// License. See LICENSE.TXT for details.
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
#ifndef MCLD_LD_ELFEXECFILEFORMAT_H_
|
|
#define MCLD_LD_ELFEXECFILEFORMAT_H_
|
|
#include "mcld/LD/ELFFileFormat.h"
|
|
|
|
namespace mcld {
|
|
|
|
class ObjectBuilder;
|
|
|
|
/** \class ELFExecFileFormat
|
|
* \brief ELFExecFileFormat describes the format for ELF dynamic objects.
|
|
*/
|
|
class ELFExecFileFormat : public ELFFileFormat {
|
|
/// initObjectFormat - initialize sections that are dependent on executable
|
|
/// objects.
|
|
void initObjectFormat(ObjectBuilder& pBuilder, unsigned int pBitClass);
|
|
};
|
|
|
|
} // namespace mcld
|
|
|
|
#endif // MCLD_LD_ELFEXECFILEFORMAT_H_
|