From: Olivier Hainque Date: Thu, 10 Jul 2025 09:38:30 +0000 (+0000) Subject: Include linux-protos.h for ppc*vxworks7r2 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=092cb044a7723b3add4c25a0a66482d28f8cea0f;p=thirdparty%2Fgcc.git Include linux-protos.h for ppc*vxworks7r2 This provides prototypes for target hooks dragged in through linux.h, in a similar fashion as the ppc*-linux ports do. gcc/ * config.gcc (powerpc*-wrs-vxworks7r*): Add linux-protos.h to tm_p_file. --- diff --git a/gcc/config.gcc b/gcc/config.gcc index 2f478e2a493..2ecce1c4e3e 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -3167,6 +3167,8 @@ powerpc*-wrs-vxworks7r*) tm_file="${tm_file} rs6000/sysv4.h rs6000/biarch64.h rs6000/default64.h rs6000/linux64.h" tm_file="${tm_file} vx-common.h vxworks.h rs6000/vxworks.h" + tm_p_file="${tm_p_file} linux-protos.h" + extra_options="${extra_options} rs6000/sysv4.opt linux.opt rs6000/linux64.opt" tmake_file="${tmake_file} t-linux rs6000/t-linux64 rs6000/t-fprules rs6000/t-ppccomm"