ao-elftohex: Add '-n' option to elide symbol table from output The symbol table is a non-standard Altus Metrum hex file extension; add this option to allow use with standard hex file tools. Signed-off-by: Keith Packard <keithp@keithp.com>
ao-elftohex: Allow multiple elf files to be merged together This allows combining the flash loader and core firmware. Signed-off-by: Keith Packard <keithp@keithp.com>
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>
Switch from GPLv2 to GPLv2+ Signed-off-by: Keith Packard <keithp@keithp.com>
ao-tools: Add ao-elftohex and .ihx symbol support ao-elftohex converts an elf file into a hex file so that we can load it with java. Signed-off-by: Keith Packard <keithp@keithp.com>