Hi all,

> 
> Seeing the somewhat tricky nature of embedding metadata inside ELF I
> thought about other ways to achieve this goal. The result of this
> investigation was to extend the configuration file used for signal
> tracing. With a dead simple syntax, of course. As the ELF issues appear
> now to be solvable universally, I no longer think this is needed.
> 
> 

There is really nothing difficult or undocumented or mysterious to add data to 
elf. All you need is to extend the avr libc header file which is no problem and 
you also can add yourself any kind of data to any kind of section by simply 
adding the section to your source code with __attribute__(section...). And we 
have not to use the three signature bytes, we have to ADD! new information's to 
the section. You can add any kind of data to any kind of section. There is no 
tricky thing behind the scene. There is nothing a tool must parse, the tool 
simply reads the elf section, the labels and thats it. It is not necessary to 
keep any order or to have all information always. Simply add the structures you 
need to the section and go ahead.

Please do not add a new way for already implemented things!

Regards
 Klaus

_______________________________________________
Simulavr-devel mailing list
Simulavr-devel@nongnu.org
https://lists.nongnu.org/mailman/listinfo/simulavr-devel

Reply via email to