Handle ELF files with 65280 or more sections
authoremaste <emaste@FreeBSD.org>
Wed, 7 May 2014 21:16:47 +0000 (21:16 +0000)
committeremaste <emaste@FreeBSD.org>
Wed, 7 May 2014 21:16:47 +0000 (21:16 +0000)
commitefb4e81e7402d0fe763fb4e1816712e7493bd763
tree80aefd48cf6d258a3c5c7522a70570a330cbba31
parent886f256af7abf6d1e5be4b8a4362942c9774ac2c
Handle ELF files with 65280 or more sections

If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an
escape value is used to indicate that the actual value is found in one
of section 0's fields.

Sponsored by: DARPA, AFRL
usr.bin/elfdump/elfdump.c