forked from OSchip/llvm-project
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:
parent
6e6820a7e6
commit
0f5b006e3c
|
@ -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)
|
||||
|
|
Loading…
Reference in New Issue