TLS and __cxa_atexit() for RTEMS

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


Hello,

the GCC implementation for destruction of thread-local objects relies on the 
presence of a __cxa_atexit() support.  Newlib provides this function.  It is 
also used on ARM EABI.  Is there a specific reason why this is not the default 
for all RTEMS targets or in other words why don't we have in gcc/config.gcc:

*-*-rtems*)
   [...]
   default_use_cxa_atexit=yes
   ;;

-- 
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