+2010-09-07 H.J. Lu <hongjiu.lu@intel.com>
+
+ * config.gcc: Append t-android for Android targets.
+
+ * config/t-android: New.
+
2010-09-07 Richard Henderson <rth@redhat.com>
* target.def (unwind_emit_before_insn): New hook.
case $target in
*-*-*android*)
tm_defines="$tm_defines ANDROID_DEFAULT=1"
+ tmake_file="${tmake_file} t-android"
;;
*)
tm_defines="$tm_defines ANDROID_DEFAULT=0"
--- /dev/null
+# Copyright (C) 2010
+# 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/>.
+
+# Use unwind-dw2-fde
+LIB2ADDEH = $(srcdir)/unwind-dw2.c $(srcdir)/unwind-dw2-fde.c \
+ $(srcdir)/unwind-sjlj.c $(srcdir)/gthr-gnat.c $(srcdir)/unwind-c.c
+LIB2ADDEHDEP = unwind.inc unwind-dw2-fde.h unwind-dw2-fde.c