TLS and __cxa_atexit() for RTEMS

Sebastian Huber sebastian.huber at embedded-brains.de
Wed Jun 26 15:23:56 UTC 2013


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.

-- 
Sebastian Huber, embedded brains GmbH

Address : Dornierstr. 4, D-82178 Puchheim, Germany
Phone   : +49 89 189 47 41-16
Fax     : +49 89 189 47 41-09
E-Mail  : sebastian.huber at embedded-brains.de
PGP     : Public key available on request.

Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.



More information about the devel mailing list