On 24/09/2010, at 13:59, Wim Lewis wrote: > On Thu, 23 Sep 2010, Weddington, Eric wrote: >> I don't think that there is any documentation on the ELF format, other than >> what is in the source code (and patches). Certainly any documentation in >> this area would be welcome. >> >> What kind of tool are you planning on writing? > > I want to add ELF support to avrdude --- right now it's necessary to split > the program being loaded into multiple hex files and pass them as separate > arguments to avrdude, which is more trouble than it really needs to be. The > fraction of ELF that avrdude would need to understand in order to use the > linker's output file directly is pretty small; it seems like it'd be a > straightforward weekend project. > > I'll see if I can write up a description of avr-gcc and binutils' > specialization of the ELF format and post it here for comment.
Can't you just use libbfd, or libelf? Personally I have makefile rules to generate the hexfile to feed avrdude (and also have a 'prog' target which programs the micro). -- Daniel O'Connor software and network engineer for Genesis Software - http://www.gsoft.com.au "The nice thing about standards is that there are so many of them to choose from." -- Andrew Tanenbaum GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C _______________________________________________ AVR-GCC-list mailing list AVR-GCC-list@nongnu.org http://lists.nongnu.org/mailman/listinfo/avr-gcc-list