simulavr-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Simulavr-devel] Discussion: siminfo feature as proposed by Markus H


From: Klaus Rudolph
Subject: Re: [Simulavr-devel] Discussion: siminfo feature as proposed by Markus Hitter
Date: Fri, 28 Feb 2014 13:22:32 +0100

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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]