Module Name: src Committed By: kalvisd Date: Sun Sep 29 14:24:38 UTC 2024
Modified Files: src/external/gpl3/gcc/dist/gcc/config/vax: vax.cc Log Message: gcc: vax: add TARGET_INIT_BUILTINS hook (for gfortran et.al.) OK rin@ To generate a diff of this commit: cvs rdiff -u -r1.9 -r1.10 src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files.
Modified files: Index: src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc diff -u src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc:1.9 src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc:1.10 --- src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc:1.9 Sun Sep 29 11:49:43 2024 +++ src/external/gpl3/gcc/dist/gcc/config/vax/vax.cc Sun Sep 29 14:24:38 2024 @@ -46,6 +46,7 @@ along with GCC; see the file COPYING3. #include "target-def.h" static void vax_option_override (void); +static void vax_init_builtins (void); static bool vax_legitimate_address_p (machine_mode, rtx, bool); static void vax_file_start (void); static void vax_init_libfuncs (void); @@ -82,6 +83,9 @@ static int vax_bitfield_may_trap_p (cons #undef TARGET_INIT_LIBFUNCS #define TARGET_INIT_LIBFUNCS vax_init_libfuncs +#undef TARGET_INIT_BUILTINS +#define TARGET_INIT_BUILTINS vax_init_builtins + #undef TARGET_ASM_OUTPUT_MI_THUNK #define TARGET_ASM_OUTPUT_MI_THUNK vax_output_mi_thunk #undef TARGET_ASM_CAN_OUTPUT_MI_THUNK @@ -165,6 +169,17 @@ vax_option_override (void) SUBTARGET_OVERRIDE_OPTIONS; #endif } +/* Implement the TARGET_INIT_BUILTINS target hook. + */ + +static void +vax_init_builtins (void) +{ +#ifdef SUBTARGET_INIT_BUILTINS + SUBTARGET_INIT_BUILTINS; +#endif +} + static void vax_add_reg_cfa_offset (rtx insn, int offset, rtx src)