vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define _VX_TOOL_FAMILY and _VX_TOOL to gnu.

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

	* config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define
	_VX_TOOL_FAMILY and _VX_TOOL to gnu.

From-SVN: r249656
This commit is contained in:
Jerome Lambourg 2017-06-26 15:17:44 +00:00 committed by Olivier Hainque
parent 952ac94508
commit 0ffdc30078
2 changed files with 7 additions and 0 deletions

View File

@ -1,5 +1,10 @@
gcc/ChangeLog:
2017-06-26 Jerome Lambourg <lambourg@adacore.com>
* config/vxworks.h (VXWORKS_OS_CPP_BUILTINS): builtin_define
_VX_TOOL_FAMILY and _VX_TOOL to gnu.
2017-06-26 Carl Love <cel@us.ibm.com>
* config/rs6000/rs6000-c.c: Add support for built-in functions

View File

@ -131,6 +131,8 @@ extern void vxworks_asm_out_destructor (rtx symbol, int priority);
builtin_define ("__RTP__"); \
else \
builtin_define ("_WRS_KERNEL"); \
builtin_define ("_VX_TOOL_FAMILY=gnu"); \
builtin_define ("_VX_TOOL=gnu"); \
} \
while (0)