This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[patch] prepend vxworks-dummy.h to tm_file for powerp


Hello,

vxworks-dummy.h is intended to be included in the list of
target header files for every CPU for which we have at least
one VxWorks port.

It essentially provides default values for common VxWorks
markers (typically, macros conveying if we are configured for 
such or such VxWorks variant), so they can be referenced
consistently in other files of the port.

This was missing for powerpc* and this patch just fixes that,
which will help further vxworks related patches to come. 

This should really be a noop for non VxWorks ports.

Checked on a gcc-8 based source tree that I can still
build functional compilers passing Ada ACATS for VxWorks
6.9 and 7.0.

Bootstrapped and reg tested on mainline for x86_64-linux.

With Kind Regards,

Olivier


2018-09-20  Olivier Hainque  <hainque@adacore.com>

	* config.gcc (powerpc*-*-*): Prepend vxworks-dummy.h to tm_file.

Attachment: 0001-config.gcc-add-vxworks-dummy.h-to-tmfiles-for-powerp.patch
Description: Binary data


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]