Since in 4.7, libgcc/config/aarch64/t-aarch64 only contains makefile rules for crti.o and crtn.o and these rules are automatically added by the generic make system, we can remove it. I have verified that ctri.o and ctrn.o are still generated correctly.
Addition to libgcc/ChangeLog: 2012-05-28 Jim MacArthur<jim.macart...@arm.com> * config/aarch64/t-aarch64: Delete. * config.host (aarch64*-*-elf): Remove reference to t-aarch64.
diff --git a/libgcc/config.host b/libgcc/config.host index ccd0fa1..56beddd 100644 --- a/libgcc/config.host +++ b/libgcc/config.host @@ -291,7 +291,6 @@ case ${host} in ;; aarch64*-*-elf) extra_parts="$extra_parts crtbegin.o crtend.o crti.o crtn.o" - tmake_file="${tmake_file} ${cpu_type}/t-aarch64" tmake_file="${tmake_file} t-softfp-sfdf t-softfp-excl" tmake_file="${tmake_file} ${cpu_type}/t-softfp t-softfp" ;; diff --git a/libgcc/config/aarch64/t-aarch64 b/libgcc/config/aarch64/t-aarch64 deleted file mode 100644 index d80fc49..0000000 --- a/libgcc/config/aarch64/t-aarch64 +++ /dev/null @@ -1,28 +0,0 @@ -# Machine description for AArch64 architecture. -# Copyright (C) 2009, 2010, 2011, 2012 Free Software Foundation, Inc. -# Contributed by ARM Ltd. -# -# 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/>. - -# Assemble startup files. -crti.o: $(libgcc_topdir)/libgcc/config/aarch64/crti.S - $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ - -o $@ $(libgcc_topdir)/libgcc/config/aarch64/crti.S - -crtn.o: $(libgcc_topdir)/libgcc/config/aarch64/crtn.S - $(CC) $(compile_deps) -I. -I$(gcc_objdir) -c -x assembler-with-cpp \ - -o $@ $(libgcc_topdir)/libgcc/config/aarch64/crtn.S