TLS and __cxa_atexit() for RTEMS

Gedare Bloom gedare at rtems.org
Wed Jun 26 15:13:51 UTC 2013


Probably no one asked. Is there any disadvantage to enable it by default?
On Jun 26, 2013 11:06 AM, "Sebastian Huber" <
sebastian.huber at embedded-brains.de> wrote:

> 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<sebastian.huber at embedded-brains.de>
> PGP     : Public key available on request.
>
> Diese Nachricht ist keine geschäftliche Mitteilung im Sinne des EHUG.
> ______________________________**_________________
> rtems-devel mailing list
> rtems-devel at rtems.org
> http://www.rtems.org/mailman/**listinfo/rtems-devel<http://www.rtems.org/mailman/listinfo/rtems-devel>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/devel/attachments/20130626/2d55d034/attachment-0001.html>


More information about the devel mailing list