2018-09-21 Olivier Hainque <hainque@adacore.com>
* config/vxworks.h (TARGET_VXWORKS7): Move default definition ...
* config/vxworks-dummy.h: here.
From-SVN: r264472
+2018-09-21 Olivier Hainque <hainque@adacore.com>
+
+ * config/vxworks.h (TARGET_VXWORKS7): Move default definition ...
+ * config/vxworks-dummy.h: here.
+
2018-09-21 Olivier Hainque <hainque@adacore.com>
* config.gcc: Prepend vxworks-dummy.h to tm_file for powerpc*
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
-/* True if we're targeting VxWorks. */
+/* True if we're targeting VxWorks, then VxWorks7. */
#ifndef TARGET_VXWORKS
#define TARGET_VXWORKS 0
#endif
+#ifndef TARGET_VXWORKS7
+#define TARGET_VXWORKS7 0
+#endif
+
/* True if generating code for a VxWorks RTP. */
#ifndef TARGET_VXWORKS_RTP
#define TARGET_VXWORKS_RTP false
#undef TARGET_VXWORKS
#define TARGET_VXWORKS 1
-/* If TARGET_VXWORKS7 is undefined, then we're not targeting it. */
-#ifndef TARGET_VXWORKS7
-#define TARGET_VXWORKS7 0
-#endif
-
/* In kernel mode, VxWorks provides all the libraries itself, as well as
the functionality of startup files, etc. In RTP mode, it behaves more
like a traditional Unix, with more external files. Most of our specs