base: ELF segment types are not bitfields.
The ELF segment type had been checked by bitwise &-ing it with the
PT_LOAD constant to check if it was loadable. This is incorrect. The
value is a flat integer, with different values selecting different
types of segments.
Tested-by: kokoro <email@example.com>
Reviewed-by: Anthony Gutierrez <firstname.lastname@example.org>
Maintainer: Anthony Gutierrez <email@example.com>
1 file changed