From 51fabca55a83f4e2efad3cdccd6d312b06540c76 Mon Sep 17 00:00:00 2001 From: Neil Booth Date: Wed, 17 Oct 2001 20:39:13 +0000 Subject: config.gcc: Update c4x and i370 for C front end-specific dependencies. * config.gcc: Update c4x and i370 for C front end-specific dependencies. * config/c4x/c4x-c.c: New. * config/c4x/c4x-protos.h (c4x_handle_pragma): Remove. (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree): New declarations. * config/c4x/c4x.c: Don't include c-lex.h or c-pragma.h. (code_tree, data_tree, pure_tree, noreturn_tree, interrupt_tree): Make extern. (c4x_init_pragma): Remove. (c4x_parse_pragma, c4x_pr_CODE_SECTION, c4x_pr_DATA_SECTION, c4x_pr_FUNC_IS_PURE, c4x_pr_FUNC_NEVER_RETURNS, c4x_pr_INTERRUPT, c4x_pr_ignored): Move to c4x-c.c. * config/c4x/c4x.h (REGISTER_TARGET_PRAGMAS): Update. * config/c4x/t-c4x: Update. * config/i370/i370-c.c: New. * config/i370/i370.c: Don't include c-lex.h or c-pragma.h. (i370_pr_map): Move to i370-c.c. * config/i370/t-i370: New. * doc/tm.texi: Update. From-SVN: r46322 --- gcc/config.gcc | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'gcc/config.gcc') diff --git a/gcc/config.gcc b/gcc/config.gcc index f608595..b1bd55d 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -644,11 +644,15 @@ c4x-*-rtems*) if test x$enable_threads = xyes; then thread_file='rtems' fi + c_target_objs="c4x-c.o" + cxx_target_objs="c4x-c.o" ;; c4x-*) cpu_type=c4x float_format=c4x tmake_file=c4x/t-c4x + c_target_objs="c4x-c.o" + cxx_target_objs="c4x-c.o" ;; clipper-intergraph-clix*) tm_file="${tm_file} svr3.h clipper/clix.h" @@ -941,11 +945,17 @@ hppa*-*-mpeix*) i370-*-opened*) # IBM 360/370/390 Architecture xm_defines='POSIX FATAL_EXIT_CODE=12' tm_file=i370/oe.h + tmake_file="i370/t-i370" xmake_file=i370/x-oe + c_target_objs="i370-c.o" + cxx_target_objs="i370-c.o" ;; i370-*-mvs*) xm_defines='POSIX FATAL_EXIT_CODE=12' tm_file=i370/mvs.h + tmake_file="i370/t-i370" + c_target_objs="i370-c.o" + cxx_target_objs="i370-c.o" ;; i370-*-linux*) xmake_file=x-linux -- cgit v1.1