summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-26 15:17:44 +0000
committerhainque <hainque@138bc75d-0d04-0410-961f-82ee72b054a4>2017-06-26 15:17:44 +0000
commit8eef108d213b65e7fbe7a1dc92c49773e518e250 (patch)
tree907218408a6e43e1b3da7185b8952e897d640374
parenta990b86ceb85016bdb88653b79fe8f30a26d2f4d (diff)
downloadgcc-8eef108d213b65e7fbe7a1dc92c49773e518e250.tar.gz
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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@249656 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/vxworks.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 96a0f5c5580..688df0d8c74 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/config/vxworks.h b/gcc/config/vxworks.h
index 8a18aff4d78..d16c84d4259 100644
--- a/gcc/config/vxworks.h
+++ b/gcc/config/vxworks.h
@@ -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)