Remove ambiguity from e_flags definition
#112
Open
opened 4 years ago by wschmidt-ibm
·
0 comments
Loading…
Reference in New Issue
There is no content yet.
Delete Branch '%!s(<nil>)'
Deleting a branch is permanent. It CANNOT be undone. Continue?
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.