Closed abe-k closed 9 years ago
Thanks for letting me know. I didn't add in PowerPC since there's no real support for it yet, but the others should be there. I also updated magic_elf to output Z80, STM8, and 8051. Let me know if you find anything else.
Slight typo: you put 168 instead of 186 for the STM8.
Fixed.
The functions for reading and writing ELF files do not generate or recognize the machine number for several of the supported architectures. The latest version of the gABI spec defines machine numbers for the STM8 (186), the 68k (4), the 68HC08 (71), the 8051 (165), the PowerPC (20), and the Z80 (220) architectures, among others.