config.gcc (*-*-vxworks*): Add TARGET_VXWORKS7=1 to tm_defines for all vxworks7 targets.
authorJerome Lambourg <lambourg@adacore.com>
Mon, 26 Jun 2017 17:04:44 +0000 (17:04 +0000)
committerOlivier Hainque <hainque@gcc.gnu.org>
Mon, 26 Jun 2017 17:04:44 +0000 (17:04 +0000)
commitb269e8998d5cc47d010d915aba548fa0ae2d8bf8
tree5b8d472b1c2441c5158c12717e7582f21ba44bb6
parentd6ef53f2413b5fde30a6d9516c4ebf087e6a4363
config.gcc (*-*-vxworks*): Add TARGET_VXWORKS7=1 to tm_defines for all vxworks7 targets.

2017-06-26  Jerome Lambourg  <lambourg@adacore.com>
            Olivier Hainque  <hainque@adacore.com>

* config.gcc (*-*-vxworks*): Add TARGET_VXWORKS7=1 to tm_defines
for all vxworks7 targets.
* config/vxworks.h (TARGET_VXWORKS7): If not defined, define to 0.
(VXWORKS_ADDITIONAL_CPP_SPEC): Alternative definition for VXWORKS7.
(VXWORKS_LIBS_RTP, VXWORKS_LIBS_RTP_DIR): New macros, allowing
variations for VX6/VX7 and 32/64bits later on in ...
(VXWORKS_LIB_SPEC): Leverage new macros.
(VXWORKS_OS_CPP_BUILTINS): Define _VSB_CONFIG_FILE for VXWORKS7,
as well as _ALLOW_KEYWORD_MACROS when "inline" is not a keyword.

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