summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorKeith Packard <keithp@keithp.com>2017-04-09 12:48:54 -0700
committerKeith Packard <keithp@keithp.com>2017-04-09 12:48:54 -0700
commit04d4b17635fc9395c70aa0840971c00082f509ba (patch)
treeef9cfaf1cac508ecf925384c6da9e57c667b18b3 /src
parent86d5119f19b5f3131d224982e011fd233b48aa22 (diff)
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 <keithp@keithp.com>
Diffstat (limited to 'src')
0 files changed, 0 insertions, 0 deletions