]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
Include linux-protos.h for ppc*vxworks7r2
authorOlivier Hainque <hainque@adacore.com>
Thu, 10 Jul 2025 09:38:30 +0000 (09:38 +0000)
committerOlivier Hainque <hainque@adacore.com>
Mon, 20 Oct 2025 16:02:13 +0000 (16:02 +0000)
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.

gcc/config.gcc

index 2f478e2a493d17cbfd81585437d9f878bc206a63..2ecce1c4e3e1327275c2abf9446ba66a52be5c72 100644 (file)
@@ -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"