llvm-mc: Tweak section alignment and size computation to match 'as' closer.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@80345 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Daniel Dunbar
2009-08-28 05:49:04 +00:00
parent 0f5fa69551
commit edc670f3f2
2 changed files with 43 additions and 25 deletions

View File

@@ -502,11 +502,7 @@ private:
/// LayoutSection - Assign offsets and sizes to the fragments in the section
/// \arg SD, and update the section size. The section file offset should
/// already have been computed.
///
/// \param NextAlign - The alignment for the section end address, which may
/// add padding bytes to the section (these are included in the section "file"
/// size, but not its regular size).
void LayoutSection(MCSectionData &SD, unsigned NextAlign);
void LayoutSection(MCSectionData &SD);
public:
/// Construct a new assembler instance.