factor out ELF+decode to load-flash.c
Merge branch 'syms'