TLS and __cxa_atexit() for RTEMS

Chris Johns chrisj at rtems.org
Fri Jul 5 23:57:37 UTC 2013


Sebastian Huber wrote:
> On 06/26/2013 05:13 PM, Gedare Bloom wrote:
>> Probably no one asked. Is there any disadvantage to enable it by default?
>
> It needs careful testing. On PowerPC I run into a problem with
> __dso_handle definition. I would like to use -msdata=sysv, but
> TARGET_LIBGCC_SDATA_SECTION is undefined in the RTEMS GCC configuration
> and now I get this:
>
> the target (__dso_handle) of a R_PPC_SDAREL16 relocation is in the wrong
> output section (.data)
>
> So probably its saver to enable this on a per target basis.
>

Can you please add any patches when you are happy to the rtems-tools 
repo so we can track, test and approve tool patches ?

Thanks.
Chris



More information about the devel mailing list