blob: c1ddb5256fbe9df51adc958a3e8918edcc7cbfed [file] [log] [blame]
//===- LDFileFormat.cpp ---------------------------------------------------===//
//
// The MCLinker Project
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//
#include <mcld/LD/LDFileFormat.h>
#include <mcld/MC/MCLinker.h>
using namespace mcld;
//==========================
// LDFileInfo
LDFileFormat::LDFileFormat()
: f_pTextSection(NULL),
f_pDataSection(NULL),
f_pBSSSection(NULL),
f_pReadOnlySection(NULL) {
}
LDFileFormat::~LDFileFormat()
{
}
void LDFileFormat::initStdSections(MCLinker& pLinker)
{
initObjectFormat(pLinker);
initObjectType(pLinker);
}