1 //===- SectionData.cpp ----------------------------------------------------===// 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 #include <mcld/LD/SectionData.h> 10 #include <mcld/LD/LDSection.h> 11 12 using namespace mcld; 13 14 //===----------------------------------------------------------------------===// 15 // SectionData 16 //===----------------------------------------------------------------------===// SectionData(const LDSection & pSection)17SectionData::SectionData(const LDSection &pSection) 18 : m_pSection(&pSection), m_Alignment(1) { 19 } 20