Hello, This fixes an inaccuracy introduced in the recent series of patches preparing support for 64bit VxWorks configurations together with VxWorks 7.
Alternative definitions for SIZE_TYPE, PTRDIFF_TYPE and RTP library options were provided through a common VxWorks configuration file, using conditional macros typically provided in cpu specific config files, e.g. TARGET_LP64 taken from the x86 family of targets, which isn't quite correct. This was noticed by way of a build failure of the arm-wrs-vxworks port, reported by Jeff (thanks !). This change lets the arm-wrs-vxworks build get past the original failure and I verified that the x86_64-vxworks7 port remains functional afterwards. Committing. The ARM build hits another failure now, which I think is unrelated to the recent vxworks specific series of changes, but related to the large ARM port specific cleanups currently underway. Olivier 2017-07-04 Olivier Hainque <hain...@adacore.com> * config/vxworks.h (PTRDIFF_TYPE, SIZE_TYPE): Restore unconditional basic definitions. (VXWORKS_LIBS_RTP): Likewise, prefixed by VXWORKS_SYSCALL_LIBS_RTP, empty by default. * config/i386/vxworks.h (PTRDIFF_TYPE, SIZE_TYPE): Redefine, accounting for 64bit ABIs using cpu specific macros available for this purpose. (VXWORKS_SYSCALL_LIBS_RTP): Likewise.
vx-cpu64.diff
Description: Binary data