Originally Gitea issue #112 by @toshywoshy on 2021-06-11
The bottom two bits of e_flags are used to identify the ELF ABI level. These are an encoding such that 00 = unspecified, 01 = ELFv1, 10 = ELFv2, and 11 = reserved. The current language makes it easy to believe that these are flag bits, with bit 0 unspecified, bit 1 is ELFv1, and bit 2 is ELFv2. Clarify the language.
The bottom two bits of e_flags are used to identify the ELF ABI level. These are an encoding such that 00 = unspecified, 01 = ELFv1, 10 = ELFv2, and 11 = reserved. The current language makes it easy to believe that these are flag bits, with bit 0 unspecified, bit 1 is ELFv1, and bit 2 is ELFv2. Clarify the language.