diff mbox

[alpha] : Add alpha.o dependecies

Message ID CAFULd4biAz84-J49KMO=KbkMzSahxRzAV9GbaY8Uruaxfs1EpQ@mail.gmail.com
State New
Headers show

Commit Message

Uros Bizjak Sept. 16, 2013, 4:17 p.m. UTC
Hello!

Attached patch decleres dependecies for config/alpha/alpha.o.

2013-09-16  Uros Bizjak  <ubizjak@gmail.com>

    * config/alpha/t-alpha: New.
    * config.gcc (alpha*-*-linux*): Add alpha/t-alpha to tmake_file.
    (alpha*-*-freebsd*): Ditto.
    (alpha*-*-netbsd*): Ditto.
    (alpha*-*-openbsd*): Ditto.
    (alpha64-dec-*vms*): Ditto.
    (alpha*-dec-*vms*): Ditto.


Bootstrap on alpha-pc-linux-gnu is in progress.

OK for mainline if bootstrap passes?

Uros.

Comments

Tom Tromey Sept. 16, 2013, 5:25 p.m. UTC | #1
>>>>> "Uros" == Uros Bizjak <ubizjak@gmail.com> writes:

Uros> Attached patch decleres dependecies for config/alpha/alpha.o.

Uros> 2013-09-16  Uros Bizjak  <ubizjak@gmail.com>
Uros>     * config/alpha/t-alpha: New.
Uros>     * config.gcc (alpha*-*-linux*): Add alpha/t-alpha to tmake_file.
Uros>     (alpha*-*-freebsd*): Ditto.
Uros>     (alpha*-*-netbsd*): Ditto.
Uros>     (alpha*-*-openbsd*): Ditto.
Uros>     (alpha64-dec-*vms*): Ditto.
Uros>     (alpha*-dec-*vms*): Ditto.

Uros> OK for mainline if bootstrap passes?

I think you would be better off just waiting for the automatic
dependency series to go in.  It ought to happen soon, and I believe it
will remove the need for this patch.

Tom
diff mbox

Patch

Index: config/alpha/t-alpha
===================================================================
--- config/alpha/t-alpha	(revision 0)
+++ config/alpha/t-alpha	(working copy)
@@ -0,0 +1,25 @@ 
+# Copyright (C) 2013 Free Software Foundation, Inc.
+#
+# This file is part of GCC.
+#
+# GCC is free software; you can redistribute it and/or modify
+# it under the terms of the GNU General Public License as published by
+# the Free Software Foundation; either version 3, or (at your option)
+# any later version.
+#
+# GCC is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with GCC; see the file COPYING3.  If not see
+# <http://www.gnu.org/licenses/>.
+
+alpha.o: $(CONFIG_H) $(SYSTEM_H) coretypes.h $(TM_H) $(RTL_H) $(TREE_H) \
+  $(REGS_H) hard-reg-set.h insn-config.h conditions.h output.h \
+  $(INSN_ATTR_H) $(FLAGS_H) $(RECOG_H) $(EXPR_H) $(OPTABS_H) reload.h \
+  $(OBSTACK_H) $(EXCEPT_H) $(FUNCTION_H) $(DIAGNOSTIC_CORE_H) $(GGC_H) \
+  $(TM_P_H) $(TARGET_H) $(TARGET_DEF_H) $(COMMON_TARGET_H) debug.h \
+  langhooks.h $(SPLAY_TREE_H) $(GIMPLE_H) $(TREE_FLOW_H) tree-ssanames.h \
+  tree-stdarg.h tm-constrs.h $(DF_H) $(LIBFUNCS_H) $(OPTS_H) $(PARAMS_H)
Index: config.gcc
===================================================================
--- config.gcc	(revision 202630)
+++ config.gcc	(working copy)
@@ -903,27 +903,30 @@ 
 	;;
 alpha*-*-linux*)
 	tm_file="elfos.h ${tm_file} alpha/elf.h alpha/linux.h alpha/linux-elf.h glibc-stdint.h"
-	tmake_file="${tmake_file} alpha/t-linux"
+	tmake_file="${tmake_file} alpha/t-alpha alpha/t-linux"
 	extra_options="${extra_options} alpha/elf.opt"
 	;;
 alpha*-*-freebsd*)
 	tm_file="elfos.h ${tm_file} ${fbsd_tm_file} alpha/elf.h alpha/freebsd.h"
+	tmake_file="${tmake_file} alpha/t-alpha"
 	extra_options="${extra_options} alpha/elf.opt"
 	;;
 alpha*-*-netbsd*)
 	tm_file="elfos.h ${tm_file} netbsd.h alpha/elf.h netbsd-elf.h alpha/netbsd.h"
+	tmake_file="${tmake_file} alpha/t-alpha"
 	extra_options="${extra_options} netbsd.opt netbsd-elf.opt \
 		       alpha/elf.opt"
 	;;
 alpha*-*-openbsd*)
 	tm_defines="${tm_defines} OBSD_HAS_DECLARE_FUNCTION_NAME OBSD_HAS_DECLARE_FUNCTION_SIZE OBSD_HAS_DECLARE_OBJECT"
 	tm_file="elfos.h alpha/alpha.h alpha/elf.h openbsd.h openbsd-stdint.h alpha/openbsd.h openbsd-libpthread.h"
+	tmake_file="${tmake_file} alpha/t-alpha"
 	extra_options="${extra_options} openbsd.opt alpha/elf.opt"
 	# default x-alpha is only appropriate for dec-osf.
 	;;
 alpha*-dec-*vms*)
 	tm_file="${tm_file} vms/vms.h alpha/vms.h"
-	tmake_file="${tmake_file} alpha/t-vms"
+	tmake_file="${tmake_file} alpha/t-alpha alpha/t-vms"
 	;;
 arm-wrs-vxworks)
 	tm_file="elfos.h arm/elf.h arm/aout.h ${tm_file} vx-common.h vxworks.h arm/vxworks.h"