]> git.ipfire.org Git - thirdparty/gcc.git/commit
Introduce an internal API for VxWorks version checks
authorOlivier Hainque <hainque@adacore.com>
Mon, 30 Dec 2019 21:42:26 +0000 (21:42 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 30 Dec 2019 21:42:26 +0000 (21:42 +0000)
commitabb6c3eecf6680814624bd1fe454844002dfc892
treea612594b95661ae744ec614c6c14e93bf6723fa0
parentc62f986a37898b5ebd36bd8f184d9e8d969d7ab4
Introduce an internal API for VxWorks version checks

This changes introduces an internal API for VxWorks version checks
within runtime files, a prerequisite to a few fixes coming up for libstdc++
builds on more recent versions of the OS.

2019-12-30  Olivier Hainque  <hainque@adacore.com>

gcc/
* config/vxworks/_vxworks-versions.h: New file.
* config.gcc (*-*-vxworks*): Add it to extra_headers.

libgcc/
* config/gthr-vxworks.h: Use _vxworks-versions.h.
* config/gthr-vxworks-tls.c: Likewise.

From-SVN: r279783
gcc/ChangeLog
gcc/config.gcc
libgcc/ChangeLog
libgcc/config/gthr-vxworks-tls.c
libgcc/config/gthr-vxworks.h