diff options
author | Keith Packard <keithp@keithp.com> | 2017-04-09 12:48:54 -0700 |
---|---|---|
committer | Keith Packard <keithp@keithp.com> | 2017-04-09 12:48:54 -0700 |
commit | 04d4b17635fc9395c70aa0840971c00082f509ba (patch) | |
tree | ef9cfaf1cac508ecf925384c6da9e57c667b18b3 /altoslib | |
parent | 86d5119f19b5f3131d224982e011fd233b48aa22 (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 'altoslib')
0 files changed, 0 insertions, 0 deletions