Use a simple initial value for the ordinal.

The odd value was only used by the ELF writer to check if the section was one
that it had created.

llvm-svn: 238140
This commit is contained in:
Rafael Espindola 2015-05-25 14:18:24 +00:00
parent 6e6820a7e6
commit 0f5b006e3c
1 changed files with 1 additions and 1 deletions

View File

@ -40,7 +40,7 @@ private:
/// The alignment requirement of this section.
unsigned Alignment = 1;
/// The section index in the assemblers section list.
unsigned Ordinal = ~UINT32_C(0);
unsigned Ordinal = 0;
protected:
MCSection(SectionVariant V, SectionKind K, MCSymbol *Begin)