[PATCH 4/5] bsps: Thread-local storage (TLS) for linkcmds

Chris Johns chrisj at rtems.org
Wed Jan 29 21:19:03 UTC 2014


On 30/01/2014 1:24 am, Sebastian Huber wrote:
> On 2014-01-29 15:11, Gedare Bloom wrote:
>> This one should be verified (compile) for all BSPs..
>
> The BSPs compile and link (except the V850, here I get a linker error
> about incompatible multilibs).
>
> The new tests sptls01 and sptls02 don't work on some targets due to
> incomplete tool chains and/or a missing TLS implementation.
>

Sure the BSPs compile but do all BSPs compile ?

What is the use case for this with RTEMS ?

Is there any user documentation about the supported architectures and 
its use in RTEMS ?

My concern is having a feature like this but not every architecture or 
BSP supporting it therefore creating non-portable RTEMS applications. 
How do we police this not being used in RTEMS and only tested on 
supported BSPs ? For example using TLS to fix the shell's environment 
task variables for use with SMP.

Chris



More information about the devel mailing list