mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2024-07-21 18:29:45 +00:00
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:
parent
8823110a85
commit
6cd7f1bca6
@ -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
Block a user