From: Keith Packard Date: Sun, 9 Apr 2017 19:48:54 +0000 (-0700) Subject: ao-elftohex: Add conditions for skipping ELF sections X-Git-Tag: debian/1.6.8-5~3 X-Git-Url: https://git.gag.com/?a=commitdiff_plain;h=f036b35a6fe1e187b2faea5c4ddf72359b33a44f;hp=f036b35a6fe1e187b2faea5c4ddf72359b33a44f;p=fw%2Faltos ao-elftohex: Add conditions for skipping ELF sections Skip sections with size 0, or which are of type SHT_NOBITS or which don't have the SHF_ALLOC flag set. This avoids crashing on sections which don't have any data to copy. Signed-off-by: Keith Packard ---