ELF header files

Ralf Corsepius ralf.corsepius@rtems.org
Fri Dec 3 17:06:00 GMT 2010


On 12/03/2010 04:33 PM, Sebastian Huber wrote:
> On 12/03/2010 04:18 PM, Joel Sherrill wrote:
>> On 12/03/2010 09:11 AM, Corinna Vinschen wrote:
>>> On Dec  3 15:17, Sebastian Huber wrote:
>>>> On 12/03/2010 02:53 PM, Ralf Corsepius wrote:
>>>>> On 12/03/2010 02:15 PM, Sebastian Huber wrote:
>>>>>> Hi,
>>>>>>
>>>>>> is it possible to add some ELF header files to Newlib, or is this
>>>>>> undesirable?
> [...]
>> Sebastian.. why do you want to add it?
> [...]
>
> Since a RTEMS application is normally available as an ELF file.

Well, though this currently applies (it did not in the past, we've had 
different obj-formats), RTEMS is supposed to independent of ELF and not 
to be tied to ELF. In other words, though it's currently unlikely to 
happen, non-elf-targets could be introduced into RTEMS at any time.

>  It would be
> nice if a boot loader program can use the ELF header files.  Since the ELF
> format description is platform independent I thought that Newlib could be the
> right place to provide these header files.

bootloader == an application. Would you mind to explain why an 
application would require an OS's libc to provide functions to access 
object file internals and why this can't be achieved by using an 
external library?

Ralf






More information about the Newlib mailing list