vxworks.h (VXWORKS_LIB_SPEC): Incorporate ...
authorJerome Lambourg <lambourg@adacore.com>
Tue, 27 Jun 2017 09:15:55 +0000 (09:15 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Tue, 27 Jun 2017 09:15:55 +0000 (09:15 +0000)
commit931fae8133c14bf6240ca3439cb6ba2af120ebfb
tree64f59637399617b7040bd846cc419f0e8ddafcb9
parentf6b3ca5a1a04285c61283122e96c84563691d161
vxworks.h (VXWORKS_LIB_SPEC): Incorporate ...

2017-06-27  Jerome Lambourg  <lambourg@adacore.com>
            Olivier Hainque  <hainque@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.

Co-Authored-By: Olivier Hainque <hainque@adacore.com>
From-SVN: r249684
gcc/ChangeLog
gcc/config/vxworks.c
gcc/config/vxworks.h