[PATCH] Use linker set for system initialization

Chris Johns chrisj at rtems.org
Fri Dec 11 10:50:15 UTC 2015


On 11/12/2015 5:32 PM, Sebastian Huber wrote:
> On 11/12/15 06:17, Chris Johns wrote:
>> On 12/10/15 19:14, Sebastian Huber wrote:
>>> Make rtems_initialize_data_structures(),
>>> rtems_initialize_before_drivers() and rtems_initialize_device_drivers()
>>> static.
>>
>> Is this needed or is this something you can now do so why not?
> 
> They are not longer part of the API and it can be done now.
> 

Ok, and a good thing.

>>
>> The only reason I ask is the trace linker needs external symbols to
>> work and they are interesting symbols. Static symbols cannot be
>> remapped by gld. 
> 
> I think tracing is not really interesting in the system startup
> sequence. It is single threaded with interrupts disabled. So, in case
> there is a problem, a classic debugger should be sufficient.

It can provide a useful way to measure timing. I suppose someone
interested can change the code.

Chris



More information about the devel mailing list