Hello,

VxWorks 7 features TLS support for RTPs. This patch adjusts the VxWorks
configuration to leverage this.

I checked that a toolchain+libgcc build passes on mainline and this is passing
ACATS on a gcc-7 based development port in-house.

With Kind Regards,

Olivier

2017-06-27  Jerome Lambourg  <lambo...@adacore.com>
            Olivier Hainque  <hain...@adacore.com>

        * config/vxworks.h (VXWORKS_LIB_SPEC): Incorporate ...
        (TLS_SYM): New local macro, forcing reference to __tls__ on
        link command lines for VxWorks 7 RTPs, triggering initialization
        of tlsLib.
        (VXWORKS_HAVE_TLS): New macro. State whether the target VxWorks
        OS features TLS support, true for RTPs on VxWorks 7.
        * config/vxworks.c (vxworks_override_options): Setup emutls
        accordingly.

Attachment: 0004-improve-support-for-vxworks-TLS-available-for-RTPs-o.patch
Description: Binary data

Reply via email to