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.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@238140 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Rafael Espindola 2015-05-25 14:18:24 +00:00
parent 8823110a85
commit 6cd7f1bca6

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)