diff options
-rw-r--r-- | gcc/Makefile.in | 2 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/aarch64/aarch64-rust.cc (renamed from gcc/config/aarch64/aarch64-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/aarch64/t-aarch64 | 2 | ||||
-rw-r--r-- | gcc/config/alpha/alpha-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/alpha/alpha-rust.cc (renamed from gcc/config/alpha/alpha-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/alpha/t-alpha | 2 | ||||
-rw-r--r-- | gcc/config/arc/arc-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/arc/arc-rust.cc (renamed from gcc/config/arc/arc-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/arc/t-arc | 4 | ||||
-rw-r--r-- | gcc/config/arm/arm-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/arm/arm-rust.cc (renamed from gcc/config/arm/arm-rust.c) | 2 | ||||
-rw-r--r-- | gcc/config/arm/t-arm | 2 | ||||
-rw-r--r-- | gcc/config/c6x/c6x-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/c6x/c6x-rust.cc (renamed from gcc/config/c6x/c6x-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/c6x/t-c6x | 2 | ||||
-rw-r--r-- | gcc/config/cr16/cr16-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/cr16/cr16-rust.cc (renamed from gcc/config/cr16/cr16-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/cr16/t-cr16 | 2 | ||||
-rw-r--r-- | gcc/config/csky/csky-rust.cc (renamed from gcc/config/csky/csky-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/csky/t-csky | 2 | ||||
-rw-r--r-- | gcc/config/default-rust.cc (renamed from gcc/config/default-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/epiphany/epiphany-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/epiphany/epiphany-rust.cc (renamed from gcc/config/epiphany/epiphany-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/epiphany/t-epiphany | 2 | ||||
-rw-r--r-- | gcc/config/frv/frv-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/frv/frv-rust.cc (renamed from gcc/config/frv/frv-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/frv/t-frv | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/i386/i386-rust.cc (renamed from gcc/config/i386/i386-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/i386/t-i386 | 2 | ||||
-rw-r--r-- | gcc/config/ia64/ia64-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/ia64/ia64-rust.cc (renamed from gcc/config/ia64/ia64-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/ia64/t-ia64 | 2 | ||||
-rw-r--r-- | gcc/config/m68k/m68k-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/m68k/m68k-rust.cc (renamed from gcc/config/m68k/m68k-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/m68k/t-opts | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/mips/mips-rust.cc (renamed from gcc/config/mips/mips-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/mips/t-mips | 2 | ||||
-rw-r--r-- | gcc/config/nds32/nds32-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/nds32/nds32-rust.cc (renamed from gcc/config/nds32/nds32-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/nds32/t-nds32 | 2 | ||||
-rw-r--r-- | gcc/config/nios2/nios2-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/nios2/nios2-rust.cc (renamed from gcc/config/nios2/nios2-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/nios2/t-nios2 | 2 | ||||
-rw-r--r-- | gcc/config/nvptx/nvptx-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/nvptx/nvptx-rust.cc (renamed from gcc/config/nvptx/nvptx-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/nvptx/t-nvptx | 2 | ||||
-rw-r--r-- | gcc/config/or1k/or1k-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/or1k/or1k-rust.cc (renamed from gcc/config/or1k/or1k-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/or1k/t-or1k | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/pa/pa-rust.cc (renamed from gcc/config/pa/pa-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/pa/t-pa | 2 | ||||
-rw-r--r-- | gcc/config/pdp11/pdp11-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/pdp11/pdp11-rust.cc (renamed from gcc/config/pdp11/pdp11-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/pdp11/t-pdp11 | 2 | ||||
-rw-r--r-- | gcc/config/riscv/riscv-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/riscv/riscv-rust.cc (renamed from gcc/config/riscv/riscv-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/riscv/t-riscv | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/rs6000-rust.cc (renamed from gcc/config/rs6000/rs6000-rust.c) | 2 | ||||
-rw-r--r-- | gcc/config/rs6000/t-rs6000 | 2 | ||||
-rw-r--r-- | gcc/config/rx/rx-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/rx/rx-rust.cc (renamed from gcc/config/rx/rx-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/rx/t-rx | 2 | ||||
-rw-r--r-- | gcc/config/s390/s390-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/s390/s390-rust.cc (renamed from gcc/config/s390/s390-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/s390/t-s390 | 2 | ||||
-rw-r--r-- | gcc/config/sh/sh-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/sh/sh-rust.cc (renamed from gcc/config/sh/sh-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/sh/t-sh | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/sparc/sparc-rust.cc (renamed from gcc/config/sparc/sparc-rust.c) | 0 | ||||
-rw-r--r-- | gcc/config/sparc/t-sparc | 2 | ||||
-rw-r--r-- | gcc/config/v850/t-v850 | 2 | ||||
-rw-r--r-- | gcc/config/v850/v850-protos.h | 2 | ||||
-rw-r--r-- | gcc/config/v850/v850-rust.cc (renamed from gcc/config/v850/v850-rust.c) | 0 | ||||
-rw-r--r-- | gcc/rust/rust-object-export.cc (renamed from gcc/rust/rust-object-export.c) | 0 |
80 files changed, 55 insertions, 55 deletions
diff --git a/gcc/Makefile.in b/gcc/Makefile.in index 84f9209..f707a35 100644 --- a/gcc/Makefile.in +++ b/gcc/Makefile.in @@ -2307,7 +2307,7 @@ default-d.o: config/default-d.c # Files used by the Rust language front end. -default-rust.o: config/default-rust.c +default-rust.o: config/default-rust.cc $(COMPILE) $< $(POSTCOMPILE) diff --git a/gcc/config/aarch64/aarch64-protos.h b/gcc/config/aarch64/aarch64-protos.h index 6100213..9419b75 100644 --- a/gcc/config/aarch64/aarch64-protos.h +++ b/gcc/config/aarch64/aarch64-protos.h @@ -1026,7 +1026,7 @@ std::string aarch64_get_extension_string_for_isa_flags (uint64_t, uint64_t); extern void aarch64_d_target_versions (void); extern void aarch64_d_register_target_info (void); -/* In aarch64-rust.c */ +/* In aarch64-rust.cc */ extern void aarch64_rust_target_cpu_info (void); rtl_opt_pass *make_pass_fma_steering (gcc::context *); diff --git a/gcc/config/aarch64/aarch64-rust.c b/gcc/config/aarch64/aarch64-rust.cc index eb16a98..eb16a98 100644 --- a/gcc/config/aarch64/aarch64-rust.c +++ b/gcc/config/aarch64/aarch64-rust.cc diff --git a/gcc/config/aarch64/t-aarch64 b/gcc/config/aarch64/t-aarch64 index 5c06097..baf5bff 100644 --- a/gcc/config/aarch64/t-aarch64 +++ b/gcc/config/aarch64/t-aarch64 @@ -118,7 +118,7 @@ aarch64-d.o: $(srcdir)/config/aarch64/aarch64-d.c $(COMPILE) $< $(POSTCOMPILE) -aarch64-rust.o: $(srcdir)/config/aarch64/aarch64-rust.c +aarch64-rust.o: $(srcdir)/config/aarch64/aarch64-rust.cc $(COMPILE) $< $(POSTCOMPILE) diff --git a/gcc/config/alpha/alpha-protos.h b/gcc/config/alpha/alpha-protos.h index 4fe71bd..80c9ad0 100644 --- a/gcc/config/alpha/alpha-protos.h +++ b/gcc/config/alpha/alpha-protos.h @@ -112,7 +112,7 @@ extern bool some_small_symbolic_operand_int (rtx); extern int tls_symbolic_operand_1 (rtx, int, int); extern rtx resolve_reload_operand (rtx); -/* Declare functions in alpha-rust.c */ +/* Declare functions in alpha-rust.cc */ extern void alpha_rust_target_cpu_info (void); namespace gcc { class context; } diff --git a/gcc/config/alpha/alpha-rust.c b/gcc/config/alpha/alpha-rust.cc index 74a6902..74a6902 100644 --- a/gcc/config/alpha/alpha-rust.c +++ b/gcc/config/alpha/alpha-rust.cc diff --git a/gcc/config/alpha/t-alpha b/gcc/config/alpha/t-alpha index 23c7799..bbf9914 100644 --- a/gcc/config/alpha/t-alpha +++ b/gcc/config/alpha/t-alpha @@ -18,6 +18,6 @@ PASSES_EXTRA += $(srcdir)/config/alpha/alpha-passes.def -alpha-rust.o: $(srcdir)/config/alpha/alpha-rust.c +alpha-rust.o: $(srcdir)/config/alpha/alpha-rust.cc $(COMPILE) $< $(POSTCOMPILE) diff --git a/gcc/config/arc/arc-protos.h b/gcc/config/arc/arc-protos.h index 9e2f789..315b677 100644 --- a/gcc/config/arc/arc-protos.h +++ b/gcc/config/arc/arc-protos.h @@ -108,7 +108,7 @@ extern bool arc_is_jli_call_p (rtx); extern void arc_file_end (void); extern bool arc_is_secure_call_p (rtx); -/* Declare functions in arc-rust.c */ +/* Declare functions in arc-rust.cc */ extern void arc_rust_target_cpu_info (void); rtl_opt_pass * make_pass_arc_ifcvt (gcc::context *ctxt); diff --git a/gcc/config/arc/arc-rust.c b/gcc/config/arc/arc-rust.cc index c94749f..c94749f 100644 --- a/gcc/config/arc/arc-rust.c +++ b/gcc/config/arc/arc-rust.cc diff --git a/gcc/config/arc/t-arc b/gcc/config/arc/t-arc index 4e796a4..2f37499 100644 --- a/gcc/config/arc/t-arc +++ b/gcc/config/arc/t-arc @@ -28,10 +28,10 @@ $(TREE_H) $(TM_H) $(TM_P_H) coretypes.h $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/arc/arc-c.c -arc-rust.o: $(srcdir)/config/arc/arc-rust.c $(CONFIG_H) $(SYSTEM_H) \ +arc-rust.o: $(srcdir)/config/arc/arc-rust.cc $(CONFIG_H) $(SYSTEM_H) \ $(TREE_H) $(TM_H) $(TM_P_H) coretypes.h $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ - $(srcdir)/config/arc/arc-rust.c + $(srcdir)/config/arc/arc-rust.cc #Run `arc-cpus` if you changed something in arc-cpus.def diff --git a/gcc/config/arm/arm-protos.h b/gcc/config/arm/arm-protos.h index e79a9b4..0f5d640 100644 --- a/gcc/config/arm/arm-protos.h +++ b/gcc/config/arm/arm-protos.h @@ -403,7 +403,7 @@ extern void arm_cpu_cpp_builtins (struct cpp_reader *); extern void arm_d_target_versions (void); extern void arm_d_register_target_info (void); -/* Defined in arm-rust.c */ +/* Defined in arm-rust.cc */ extern void arm_rust_target_cpu_info (void); extern bool arm_is_constant_pool_ref (rtx); diff --git a/gcc/config/arm/arm-rust.c b/gcc/config/arm/arm-rust.cc index ffa19e6..0c78ce6 100644 --- a/gcc/config/arm/arm-rust.c +++ b/gcc/config/arm/arm-rust.cc @@ -40,7 +40,7 @@ void arm_rust_target_cpu_info(void) { rust_add_target_info("target_feature", "mclass"); break; default: - fprintf(stderr, "Screwed up profile selection in arm-rust.c - unknown profile '%c'", + fprintf(stderr, "Screwed up profile selection in arm-rust.cc - unknown profile '%c'", TARGET_ARM_ARCH_PROFILE); break; } diff --git a/gcc/config/arm/t-arm b/gcc/config/arm/t-arm index 4271c42..8a4193d 100644 --- a/gcc/config/arm/t-arm +++ b/gcc/config/arm/t-arm @@ -172,7 +172,7 @@ arm-d.o: $(srcdir)/config/arm/arm-d.c $(COMPILE) $< $(POSTCOMPILE) -arm-rust.o: $(srcdir)/config/arm/arm-rust.c +arm-rust.o: $(srcdir)/config/arm/arm-rust.cc $(COMPILE) $< $(POSTCOMPILE) diff --git a/gcc/config/c6x/c6x-protos.h b/gcc/config/c6x/c6x-protos.h index 21231c7..a8a14b4 100644 --- a/gcc/config/c6x/c6x-protos.h +++ b/gcc/config/c6x/c6x-protos.h @@ -21,7 +21,7 @@ #ifndef GCC_C6X_PROTOS_H #define GCC_C6X_PROTOS_H -/* Defined in c6x-rust.c */ +/* Defined in c6x-rust.cc */ extern void c6x_rust_target_cpu_info (void); /* Functions defined in c6x.c. */ diff --git a/gcc/config/c6x/c6x-rust.c b/gcc/config/c6x/c6x-rust.cc index 31b0dd0..31b0dd0 100644 --- a/gcc/config/c6x/c6x-rust.c +++ b/gcc/config/c6x/c6x-rust.cc diff --git a/gcc/config/c6x/t-c6x b/gcc/config/c6x/t-c6x index 1148dd8..7ed31d3 100644 --- a/gcc/config/c6x/t-c6x +++ b/gcc/config/c6x/t-c6x @@ -43,6 +43,6 @@ $(srcdir)/config/c6x/c6x-tables.opt: $(srcdir)/config/c6x/genopt.sh \ $(SHELL) $(srcdir)/config/c6x/genopt.sh $(srcdir)/config/c6x > \ $(srcdir)/config/c6x/c6x-tables.opt -c6x-rust.o: $(srcdir)/config/c6x/c6x-rust.c \ +c6x-rust.o: $(srcdir)/config/c6x/c6x-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/cr16/cr16-protos.h b/gcc/config/cr16/cr16-protos.h index fccd6e0..a1c5d26 100644 --- a/gcc/config/cr16/cr16-protos.h +++ b/gcc/config/cr16/cr16-protos.h @@ -45,7 +45,7 @@ enum data_model_type ILLEGAL_DM /* Illegal data model. */ }; -/* Defined in cr16-rust.c */ +/* Defined in cr16-rust.cc */ extern void cr16_rust_target_cpu_info (void); #ifdef RTX_CODE diff --git a/gcc/config/cr16/cr16-rust.c b/gcc/config/cr16/cr16-rust.cc index a999d05..a999d05 100644 --- a/gcc/config/cr16/cr16-rust.c +++ b/gcc/config/cr16/cr16-rust.cc diff --git a/gcc/config/cr16/t-cr16 b/gcc/config/cr16/t-cr16 index 86aafef..dfc714b 100644 --- a/gcc/config/cr16/t-cr16 +++ b/gcc/config/cr16/t-cr16 @@ -23,6 +23,6 @@ MULTILIB_DIRNAMES = far-pic int32 MULTILIB_MATCHES = MULTILIB_EXTRA_OPTS = mcr16cplus mdata-model=far -cr16-rust.o: $(srcdir)/config/cr16/cr16-rust.c \ +cr16-rust.o: $(srcdir)/config/cr16/cr16-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/csky/csky-rust.c b/gcc/config/csky/csky-rust.cc index 0799907..0799907 100644 --- a/gcc/config/csky/csky-rust.c +++ b/gcc/config/csky/csky-rust.cc diff --git a/gcc/config/csky/t-csky b/gcc/config/csky/t-csky index 467ac0a..902ec70 100644 --- a/gcc/config/csky/t-csky +++ b/gcc/config/csky/t-csky @@ -28,6 +28,6 @@ $(srcdir)/config/csky/csky_tables.opt: $(srcdir)/config/csky/csky_genopt.sh \ $(SHELL) $(srcdir)/config/csky/csky_genopt.sh $(srcdir)/config/csky > \ $(srcdir)/config/csky/csky_tables.opt -csky-rust.o: $(srcdir)/config/csky/csky-rust.c \ +csky-rust.o: $(srcdir)/config/csky/csky-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/default-rust.c b/gcc/config/default-rust.cc index a275439..a275439 100644 --- a/gcc/config/default-rust.c +++ b/gcc/config/default-rust.cc diff --git a/gcc/config/epiphany/epiphany-protos.h b/gcc/config/epiphany/epiphany-protos.h index 867169c..c1c9b3d 100644 --- a/gcc/config/epiphany/epiphany-protos.h +++ b/gcc/config/epiphany/epiphany-protos.h @@ -26,7 +26,7 @@ extern struct rtx_def *gen_compare_reg (machine_mode, enum rtx_code, machine_mode, rtx, rtx); #endif -/* Defined in epiphany-rust.c */ +/* Defined in epiphany-rust.cc */ extern void epiphany_rust_target_cpu_info (void); /* Declarations for various fns used in the .md file. */ diff --git a/gcc/config/epiphany/epiphany-rust.c b/gcc/config/epiphany/epiphany-rust.cc index 254f14a..254f14a 100644 --- a/gcc/config/epiphany/epiphany-rust.c +++ b/gcc/config/epiphany/epiphany-rust.cc diff --git a/gcc/config/epiphany/t-epiphany b/gcc/config/epiphany/t-epiphany index b53523a..c7f2434 100644 --- a/gcc/config/epiphany/t-epiphany +++ b/gcc/config/epiphany/t-epiphany @@ -30,7 +30,7 @@ resolve-sw-modes.o : $(srcdir)/config/epiphany/resolve-sw-modes.c \ insn-attr-common.h $(TREE_PASS_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $< -epiphany-rust.o: $(srcdir)/config/epiphany/epiphany-rust.c \ +epiphany-rust.o: $(srcdir)/config/epiphany/epiphany-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/frv/frv-protos.h b/gcc/config/frv/frv-protos.h index d284da1..3926f2e 100644 --- a/gcc/config/frv/frv-protos.h +++ b/gcc/config/frv/frv-protos.h @@ -26,7 +26,7 @@ extern void frv_debug_stack (frv_stack_t *); extern int frv_initial_elimination_offset (int, int); extern void frv_ifcvt_machdep_init (void *); -/* Defined in frv-rust.c */ +/* Defined in frv-rust.cc */ extern void frv_rust_target_cpu_info (void); #ifdef RTX_CODE diff --git a/gcc/config/frv/frv-rust.c b/gcc/config/frv/frv-rust.cc index 775481b..775481b 100644 --- a/gcc/config/frv/frv-rust.c +++ b/gcc/config/frv/frv-rust.cc diff --git a/gcc/config/frv/t-frv b/gcc/config/frv/t-frv index 7d2f0a3..d0c9422 100644 --- a/gcc/config/frv/t-frv +++ b/gcc/config/frv/t-frv @@ -35,6 +35,6 @@ MULTILIB_EXCEPTIONS = mcpu=frv/mno-pack* mcpu=simple/mno-pack* EXTRA_HEADERS = $(srcdir)/config/frv/frv-asm.h -frv-rust.o: $(srcdir)/config/frv/frv-rust.c \ +frv-rust.o: $(srcdir)/config/frv/frv-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/i386/i386-protos.h b/gcc/config/i386/i386-protos.h index e0f3ce4..8a9fe6c 100644 --- a/gcc/config/i386/i386-protos.h +++ b/gcc/config/i386/i386-protos.h @@ -276,7 +276,7 @@ extern void ix86_d_target_versions (void); extern void ix86_d_register_target_info (void); extern bool ix86_d_has_stdcall_convention (unsigned int *, unsigned int *); -/* In i386-rust.c */ +/* In i386-rust.cc */ extern void ix86_rust_target_cpu_info (void); /* In winnt.c */ diff --git a/gcc/config/i386/i386-rust.c b/gcc/config/i386/i386-rust.cc index 1441a63..1441a63 100644 --- a/gcc/config/i386/i386-rust.c +++ b/gcc/config/i386/i386-rust.cc diff --git a/gcc/config/i386/t-i386 b/gcc/config/i386/t-i386 index c2d77ef..1203f2e 100644 --- a/gcc/config/i386/t-i386 +++ b/gcc/config/i386/t-i386 @@ -46,7 +46,7 @@ i386-d.o: $(srcdir)/config/i386/i386-d.c $(COMPILE) $< $(POSTCOMPILE) -i386-rust.o: $(srcdir)/config/i386/i386-rust.c +i386-rust.o: $(srcdir)/config/i386/i386-rust.cc $(COMPILE) $< $(POSTCOMPILE) diff --git a/gcc/config/ia64/ia64-protos.h b/gcc/config/ia64/ia64-protos.h index 2af6fb3..34857ba 100644 --- a/gcc/config/ia64/ia64-protos.h +++ b/gcc/config/ia64/ia64-protos.h @@ -65,7 +65,7 @@ extern void ia64_expand_vec_perm_even_odd (rtx, rtx, rtx, int); extern void ia64_expand_vec_setv2sf (rtx op[3]); #endif /* RTX_CODE */ -/* Defined in ia64-rust.c */ +/* Defined in ia64-rust.cc */ extern void ia64_rust_target_cpu_info (void); #ifdef TREE_CODE diff --git a/gcc/config/ia64/ia64-rust.c b/gcc/config/ia64/ia64-rust.cc index b1ee77a..b1ee77a 100644 --- a/gcc/config/ia64/ia64-rust.c +++ b/gcc/config/ia64/ia64-rust.cc diff --git a/gcc/config/ia64/t-ia64 b/gcc/config/ia64/t-ia64 index d0ab7a3..79790bd 100644 --- a/gcc/config/ia64/t-ia64 +++ b/gcc/config/ia64/t-ia64 @@ -21,7 +21,7 @@ ia64-c.o: $(srcdir)/config/ia64/ia64-c.c $(CONFIG_H) $(SYSTEM_H) \ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/ia64/ia64-c.c -ia64-rust.o: $(srcdir)/config/ia64/ia64-rust.c \ +ia64-rust.o: $(srcdir)/config/ia64/ia64-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/m68k/m68k-protos.h b/gcc/config/m68k/m68k-protos.h index 419dce4..3140b1d 100644 --- a/gcc/config/m68k/m68k-protos.h +++ b/gcc/config/m68k/m68k-protos.h @@ -101,7 +101,7 @@ extern enum attr_op_mem m68k_sched_attr_op_mem (rtx_insn *); #endif /* RTX_CODE */ -/* Defined in m68k-rust.c */ +/* Defined in m68k-rust.cc */ extern void m68k_rust_target_cpu_info (void); extern enum reg_class m68k_secondary_reload_class (enum reg_class, diff --git a/gcc/config/m68k/m68k-rust.c b/gcc/config/m68k/m68k-rust.cc index bad94e4..bad94e4 100644 --- a/gcc/config/m68k/m68k-rust.c +++ b/gcc/config/m68k/m68k-rust.cc diff --git a/gcc/config/m68k/t-opts b/gcc/config/m68k/t-opts index 4f1ce87..5e43b47 100644 --- a/gcc/config/m68k/t-opts +++ b/gcc/config/m68k/t-opts @@ -7,6 +7,6 @@ $(srcdir)/config/m68k/m68k-tables.opt: $(srcdir)/config/m68k/genopt.sh \ $(SHELL) $(srcdir)/config/m68k/genopt.sh $(srcdir)/config/m68k > \ $(srcdir)/config/m68k/m68k-tables.opt -m68k-rust.o: $(srcdir)/config/m68k/m68k-rust.c \ +m68k-rust.o: $(srcdir)/config/m68k/m68k-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/mips/mips-protos.h b/gcc/config/mips/mips-protos.h index 8e09592..5e12826 100644 --- a/gcc/config/mips/mips-protos.h +++ b/gcc/config/mips/mips-protos.h @@ -392,7 +392,7 @@ extern void mips_expand_vec_cmp_expr (rtx *); extern void mips_d_target_versions (void); extern void mips_d_register_target_info (void); -/* Routines implemented in mips-rust.c */ +/* Routines implemented in mips-rust.cc */ extern void mips_rust_target_cpu_info (void); #endif /* ! GCC_MIPS_PROTOS_H */ diff --git a/gcc/config/mips/mips-rust.c b/gcc/config/mips/mips-rust.cc index 31b9c22..31b9c22 100644 --- a/gcc/config/mips/mips-rust.c +++ b/gcc/config/mips/mips-rust.cc diff --git a/gcc/config/mips/t-mips b/gcc/config/mips/t-mips index b50ae52..851dd55 100644 --- a/gcc/config/mips/t-mips +++ b/gcc/config/mips/t-mips @@ -29,6 +29,6 @@ mips-d.o: $(srcdir)/config/mips/mips-d.c $(COMPILE) $< $(POSTCOMPILE) -mips-rust.o: $(srcdir)/config/mips/mips-rust.c \ +mips-rust.o: $(srcdir)/config/mips/mips-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/nds32/nds32-protos.h b/gcc/config/nds32/nds32-protos.h index 2547668..e525656 100644 --- a/gcc/config/nds32/nds32-protos.h +++ b/gcc/config/nds32/nds32-protos.h @@ -319,7 +319,7 @@ extern int nds32_address_cost_impl (rtx, machine_mode, addr_space_t, bool); /* Auxiliary functions for pre-define marco. */ extern void nds32_cpu_cpp_builtins(struct cpp_reader *); -/* Routines implemented in nds32-rust.c */ +/* Routines implemented in nds32-rust.cc */ extern void nds32_rust_target_cpu_info (void); /* Auxiliary functions for const_vector's constraints. */ diff --git a/gcc/config/nds32/nds32-rust.c b/gcc/config/nds32/nds32-rust.cc index e866674..e866674 100644 --- a/gcc/config/nds32/nds32-rust.c +++ b/gcc/config/nds32/nds32-rust.cc diff --git a/gcc/config/nds32/t-nds32 b/gcc/config/nds32/t-nds32 index 84fd6d4..0afea63 100644 --- a/gcc/config/nds32/t-nds32 +++ b/gcc/config/nds32/t-nds32 @@ -145,6 +145,6 @@ nds32-utils.o: \ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/nds32/nds32-utils.c -nds32-rust.o: $(srcdir)/config/nds32/nds32-rust.c \ +nds32-rust.o: $(srcdir)/config/nds32/nds32-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/nios2/nios2-protos.h b/gcc/config/nios2/nios2-protos.h index fcbcf79..de3be71 100644 --- a/gcc/config/nios2/nios2-protos.h +++ b/gcc/config/nios2/nios2-protos.h @@ -30,7 +30,7 @@ extern bool nios2_expand_return (void); extern void nios2_function_profiler (FILE *, int); extern bool nios2_fpu_insn_enabled (enum n2fpu_code); -/* Routines implemented in nios2-rust.c */ +/* Routines implemented in nios2-rust.cc */ extern void nios2_rust_target_cpu_info (void); #ifdef RTX_CODE diff --git a/gcc/config/nios2/nios2-rust.c b/gcc/config/nios2/nios2-rust.cc index c00194c..c00194c 100644 --- a/gcc/config/nios2/nios2-rust.c +++ b/gcc/config/nios2/nios2-rust.cc diff --git a/gcc/config/nios2/t-nios2 b/gcc/config/nios2/t-nios2 index 6be5918..f48788c 100644 --- a/gcc/config/nios2/t-nios2 +++ b/gcc/config/nios2/t-nios2 @@ -26,6 +26,6 @@ # MULTILIB_DIRNAMES += le be # MULTILIB_MATCHES += EL=mel EB=meb -nios2-rust.o: $(srcdir)/config/nios2/nios2-rust.c \ +nios2-rust.o: $(srcdir)/config/nios2/nios2-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/nvptx/nvptx-protos.h b/gcc/config/nvptx/nvptx-protos.h index 36288f3..2756376 100644 --- a/gcc/config/nvptx/nvptx-protos.h +++ b/gcc/config/nvptx/nvptx-protos.h @@ -44,7 +44,7 @@ extern void nvptx_cpu_cpp_builtins (void); extern void nvptx_register_pragmas (void); extern unsigned int nvptx_data_alignment (const_tree, unsigned int); -/* Routines implemented in nvptx-rust.c */ +/* Routines implemented in nvptx-rust.cc */ extern void nvptx_rust_target_cpu_info (void); #ifdef RTX_CODE diff --git a/gcc/config/nvptx/nvptx-rust.c b/gcc/config/nvptx/nvptx-rust.cc index 0e18abd..0e18abd 100644 --- a/gcc/config/nvptx/nvptx-rust.c +++ b/gcc/config/nvptx/nvptx-rust.cc diff --git a/gcc/config/nvptx/t-nvptx b/gcc/config/nvptx/t-nvptx index 6cad4d3..643a729 100644 --- a/gcc/config/nvptx/t-nvptx +++ b/gcc/config/nvptx/t-nvptx @@ -15,6 +15,6 @@ mkoffload$(exeext): mkoffload.o collect-utils.o libcommon-target.a $(LIBIBERTY) MULTILIB_OPTIONS = mgomp -nvptx-rust.o: $(srcdir)/config/nvptx/nvptx-rust.c \ +nvptx-rust.o: $(srcdir)/config/nvptx/nvptx-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/or1k/or1k-protos.h b/gcc/config/or1k/or1k-protos.h index 3efd2a2..08e4e7f 100644 --- a/gcc/config/or1k/or1k-protos.h +++ b/gcc/config/or1k/or1k-protos.h @@ -29,7 +29,7 @@ extern void or1k_expand_move (machine_mode, rtx, rtx); extern void or1k_expand_compare (rtx *); extern void or1k_expand_call (rtx, rtx, rtx, bool); -/* Routines implemented in or1k-rust.c */ +/* Routines implemented in or1k-rust.cc */ extern void or1k_rust_target_cpu_info (void); #ifdef RTX_CODE diff --git a/gcc/config/or1k/or1k-rust.c b/gcc/config/or1k/or1k-rust.cc index f0b8cee..f0b8cee 100644 --- a/gcc/config/or1k/or1k-rust.c +++ b/gcc/config/or1k/or1k-rust.cc diff --git a/gcc/config/or1k/t-or1k b/gcc/config/or1k/t-or1k index e7dcf5a..d8e9683 100644 --- a/gcc/config/or1k/t-or1k +++ b/gcc/config/or1k/t-or1k @@ -21,6 +21,6 @@ comma=, MULTILIB_OPTIONS = $(subst $(comma), ,$(TM_MULTILIB_CONFIG)) -or1k-rust.o: $(srcdir)/config/or1k/or1k-rust.c \ +or1k-rust.o: $(srcdir)/config/or1k/or1k-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/pa/pa-protos.h b/gcc/config/pa/pa-protos.h index bd4dada..68a7c18 100644 --- a/gcc/config/pa/pa-protos.h +++ b/gcc/config/pa/pa-protos.h @@ -116,5 +116,5 @@ extern const int pa_magic_milli[]; extern void pa_d_target_versions (void); extern void pa_d_register_target_info (void); -/* Routines implemented in pa-rust.c */ +/* Routines implemented in pa-rust.cc */ extern void pa_rust_target_cpu_info (void); diff --git a/gcc/config/pa/pa-rust.c b/gcc/config/pa/pa-rust.cc index aab742f..aab742f 100644 --- a/gcc/config/pa/pa-rust.c +++ b/gcc/config/pa/pa-rust.cc diff --git a/gcc/config/pa/t-pa b/gcc/config/pa/t-pa index 52deee6..42dbde2 100644 --- a/gcc/config/pa/t-pa +++ b/gcc/config/pa/t-pa @@ -2,6 +2,6 @@ pa-d.o: $(srcdir)/config/pa/pa-d.c $(COMPILE) $< $(POSTCOMPILE) -pa-rust.o: $(srcdir)/config/pa/pa-rust.c \ +pa-rust.o: $(srcdir)/config/pa/pa-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/pdp11/pdp11-protos.h b/gcc/config/pdp11/pdp11-protos.h index ac28888..19592ea 100644 --- a/gcc/config/pdp11/pdp11-protos.h +++ b/gcc/config/pdp11/pdp11-protos.h @@ -56,5 +56,5 @@ extern void pdp11_output_labelref (FILE *, const char *); extern void pdp11_output_def (FILE *, const char *, const char *); extern void pdp11_output_addr_vec_elt (FILE *, int); -/* Routines implemented in pdp11-rust.c */ +/* Routines implemented in pdp11-rust.cc */ extern void pdp11_rust_target_cpu_info (void); diff --git a/gcc/config/pdp11/pdp11-rust.c b/gcc/config/pdp11/pdp11-rust.cc index 4b19565..4b19565 100644 --- a/gcc/config/pdp11/pdp11-rust.c +++ b/gcc/config/pdp11/pdp11-rust.cc diff --git a/gcc/config/pdp11/t-pdp11 b/gcc/config/pdp11/t-pdp11 index 9ec91c9..c57fce5 100644 --- a/gcc/config/pdp11/t-pdp11 +++ b/gcc/config/pdp11/t-pdp11 @@ -30,6 +30,6 @@ CRTSTUFF_T_CFLAGS = -Os # gcc bootstrap compilers support the latter option. dwarf2out.o-warn = -Wno-error -pdp11-rust.o: $(srcdir)/config/pdp11/pdp11-rust.c \ +pdp11-rust.o: $(srcdir)/config/pdp11/pdp11-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/riscv/riscv-protos.h b/gcc/config/riscv/riscv-protos.h index c45e4ce..c641780 100644 --- a/gcc/config/riscv/riscv-protos.h +++ b/gcc/config/riscv/riscv-protos.h @@ -82,7 +82,7 @@ void riscv_cpu_cpp_builtins (cpp_reader *); extern void riscv_d_target_versions (void); extern void riscv_d_register_target_info (void); -/* Routines implemented in riscv-rust.c */ +/* Routines implemented in riscv-rust.cc */ extern void riscv_rust_target_cpu_info (void); /* Routines implemented in riscv-builtins.c. */ diff --git a/gcc/config/riscv/riscv-rust.c b/gcc/config/riscv/riscv-rust.cc index 27d41ae..27d41ae 100644 --- a/gcc/config/riscv/riscv-rust.c +++ b/gcc/config/riscv/riscv-rust.cc diff --git a/gcc/config/riscv/t-riscv b/gcc/config/riscv/t-riscv index 8698a46..e8edea5 100644 --- a/gcc/config/riscv/t-riscv +++ b/gcc/config/riscv/t-riscv @@ -29,6 +29,6 @@ $(common_out_file): $(srcdir)/config/riscv/riscv-cores.def \ $(srcdir)/config/riscv/riscv-protos.h \ $(srcdir)/config/riscv/riscv-subset.h -riscv-rust.o: $(srcdir)/config/riscv/riscv-rust.c \ +riscv-rust.o: $(srcdir)/config/riscv/riscv-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/rs6000/rs6000-protos.h b/gcc/config/rs6000/rs6000-protos.h index 16d18bf..38f258b 100644 --- a/gcc/config/rs6000/rs6000-protos.h +++ b/gcc/config/rs6000/rs6000-protos.h @@ -329,7 +329,7 @@ extern void (*rs6000_target_modify_macros_ptr) (bool, HOST_WIDE_INT, extern void rs6000_d_target_versions (void); extern void rs6000_d_register_target_info (void); -/* Declare functions in rs6000-rust.c */ +/* Declare functions in rs6000-rust.cc */ extern void rs6000_rust_target_cpu_info (void); #ifdef NO_DOLLAR_IN_LABEL diff --git a/gcc/config/rs6000/rs6000-rust.c b/gcc/config/rs6000/rs6000-rust.cc index ae45e64..f121149 100644 --- a/gcc/config/rs6000/rs6000-rust.c +++ b/gcc/config/rs6000/rs6000-rust.cc @@ -35,7 +35,7 @@ rs6000_rust_target_cpu_info (void) // TODO: define properly instead of macros #ifdef flags -# error "multiple flags already defined in rs6000-rust.c" +# error "multiple flags already defined in rs6000-rust.cc" #endif #define flags rs6000_isa_flags diff --git a/gcc/config/rs6000/t-rs6000 b/gcc/config/rs6000/t-rs6000 index 0a3a353..d7447c4 100644 --- a/gcc/config/rs6000/t-rs6000 +++ b/gcc/config/rs6000/t-rs6000 @@ -39,7 +39,7 @@ rs6000-d.o: $(srcdir)/config/rs6000/rs6000-d.c $(COMPILE) $< $(POSTCOMPILE) -rs6000-rust.o: $(srcdir)/config/rs6000/rs6000-rust.c +rs6000-rust.o: $(srcdir)/config/rs6000/rs6000-rust.cc $(COMPILE) $< $(POSTCOMPILE) diff --git a/gcc/config/rx/rx-protos.h b/gcc/config/rx/rx-protos.h index 651d866..f8748e2 100644 --- a/gcc/config/rx/rx-protos.h +++ b/gcc/config/rx/rx-protos.h @@ -171,7 +171,7 @@ rx_find_use_of_reg (rtx reg, rtx_insn* insn, F stepfunc) #endif -/* Routines implemented in rx-rust.c */ +/* Routines implemented in rx-rust.cc */ extern void rx_rust_target_cpu_info (void); #endif /* GCC_RX_PROTOS_H */ diff --git a/gcc/config/rx/rx-rust.c b/gcc/config/rx/rx-rust.cc index 62792b3..62792b3 100644 --- a/gcc/config/rx/rx-rust.c +++ b/gcc/config/rx/rx-rust.cc diff --git a/gcc/config/rx/t-rx b/gcc/config/rx/t-rx index 6170cf3..dd11760 100644 --- a/gcc/config/rx/t-rx +++ b/gcc/config/rx/t-rx @@ -36,6 +36,6 @@ MULTILIB_MATCHES = nofpu=mnofpu nofpu=mcpu?rx200 nofpu=mcpu?rx100 MULTILIB_EXCEPTIONS = MULTILIB_EXTRA_OPTS = -rx-rust.o: $(srcdir)/config/rx/rx-rust.c \ +rx-rust.o: $(srcdir)/config/rx/rx-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/s390/s390-protos.h b/gcc/config/s390/s390-protos.h index 62e93f5..d043df1 100644 --- a/gcc/config/s390/s390-protos.h +++ b/gcc/config/s390/s390-protos.h @@ -179,7 +179,7 @@ extern bool s390_const_operand_ok (tree, int, int, tree); extern void s390_d_target_versions (void); extern void s390_d_register_target_info (void); -/* Routines implemented in s390-rust.c */ +/* Routines implemented in s390-rust.cc */ extern void s390_rust_target_cpu_info (void); /* Pass management. */ diff --git a/gcc/config/s390/s390-rust.c b/gcc/config/s390/s390-rust.cc index 8af43dc..8af43dc 100644 --- a/gcc/config/s390/s390-rust.c +++ b/gcc/config/s390/s390-rust.cc diff --git a/gcc/config/s390/t-s390 b/gcc/config/s390/t-s390 index 4f196de..354d3c6 100644 --- a/gcc/config/s390/t-s390 +++ b/gcc/config/s390/t-s390 @@ -31,6 +31,6 @@ s390-d.o: $(srcdir)/config/s390/s390-d.c $(COMPILE) $< $(POSTCOMPILE) -s390-rust.o: $(srcdir)/config/s390/s390-rust.c \ +s390-rust.o: $(srcdir)/config/s390/s390-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/sh/sh-protos.h b/gcc/config/sh/sh-protos.h index 3f08240..cf7be51 100644 --- a/gcc/config/sh/sh-protos.h +++ b/gcc/config/sh/sh-protos.h @@ -313,7 +313,7 @@ sh_cbranch_distance (rtx_insn* cbranch_insn, extern void sh_cpu_cpp_builtins (cpp_reader* pfile); -/* Routines implemented in sh-rust.c */ +/* Routines implemented in sh-rust.cc */ extern void sh_rust_target_cpu_info (void); extern const char *output_jump_label_table (void); diff --git a/gcc/config/sh/sh-rust.c b/gcc/config/sh/sh-rust.cc index bae718d..bae718d 100644 --- a/gcc/config/sh/sh-rust.c +++ b/gcc/config/sh/sh-rust.cc diff --git a/gcc/config/sh/t-sh b/gcc/config/sh/t-sh index 43e39b0..682deb6 100644 --- a/gcc/config/sh/t-sh +++ b/gcc/config/sh/t-sh @@ -25,7 +25,7 @@ sh-c.o: $(srcdir)/config/sh/sh-c.c \ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/sh/sh-c.c -sh-rust.o: $(srcdir)/config/sh/sh-rust.c \ +sh-rust.o: $(srcdir)/config/sh/sh-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/sparc/sparc-protos.h b/gcc/config/sparc/sparc-protos.h index e05aa5a..4675e1d 100644 --- a/gcc/config/sparc/sparc-protos.h +++ b/gcc/config/sparc/sparc-protos.h @@ -116,7 +116,7 @@ extern rtl_opt_pass *make_pass_work_around_errata (gcc::context *); extern void sparc_d_target_versions (void); extern void sparc_d_register_target_info (void); -/* Routines implemented in sparc-rust.c */ +/* Routines implemented in sparc-rust.cc */ extern void sparc_rust_target_cpu_info (void); #endif /* __SPARC_PROTOS_H__ */ diff --git a/gcc/config/sparc/sparc-rust.c b/gcc/config/sparc/sparc-rust.cc index 8921ba6..8921ba6 100644 --- a/gcc/config/sparc/sparc-rust.c +++ b/gcc/config/sparc/sparc-rust.cc diff --git a/gcc/config/sparc/t-sparc b/gcc/config/sparc/t-sparc index e359d64..003fefe 100644 --- a/gcc/config/sparc/t-sparc +++ b/gcc/config/sparc/t-sparc @@ -28,7 +28,7 @@ sparc-d.o: $(srcdir)/config/sparc/sparc-d.c $(COMPILE) $< $(POSTCOMPILE) -sparc-rust.o: $(srcdir)/config/sparc/sparc-rust.c \ +sparc-rust.o: $(srcdir)/config/sparc/sparc-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/v850/t-v850 b/gcc/config/v850/t-v850 index ec681a3..4a13d8c 100644 --- a/gcc/config/v850/t-v850 +++ b/gcc/config/v850/t-v850 @@ -30,7 +30,7 @@ v850-c.o: $(srcdir)/config/v850/v850-c.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ $(srcdir)/config/v850/v850-c.c -v850-rust.o: $(srcdir)/config/v850/v850-rust.c \ +v850-rust.o: $(srcdir)/config/v850/v850-rust.cc \ $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(TREE_H) $(C_COMMON_H) $(COMPILER) -c $(ALL_COMPILERFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) $< diff --git a/gcc/config/v850/v850-protos.h b/gcc/config/v850/v850-protos.h index f140bae..6693e60 100644 --- a/gcc/config/v850/v850-protos.h +++ b/gcc/config/v850/v850-protos.h @@ -65,7 +65,7 @@ extern void ghs_pragma_endtda (struct cpp_reader *); extern void ghs_pragma_endsda (struct cpp_reader *); extern void ghs_pragma_endzda (struct cpp_reader *); -/* Routines implemented in v850-rust.c */ +/* Routines implemented in v850-rust.cc */ extern void v850_rust_target_cpu_info (void); #endif /* ! GCC_V850_PROTOS_H */ diff --git a/gcc/config/v850/v850-rust.c b/gcc/config/v850/v850-rust.cc index e676e38..e676e38 100644 --- a/gcc/config/v850/v850-rust.c +++ b/gcc/config/v850/v850-rust.cc diff --git a/gcc/rust/rust-object-export.c b/gcc/rust/rust-object-export.cc index dbeaa26..dbeaa26 100644 --- a/gcc/rust/rust-object-export.c +++ b/gcc/rust/rust-object-export.cc |