From: H.J. Lu Date: Tue, 7 Sep 2010 17:48:51 +0000 (+0000) Subject: Use config/t-android for Android targets. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=c811b2a5880a9b56451162099b48bc32c37c4022;p=gcc.git Use config/t-android for Android targets. 2010-09-07 H.J. Lu * config.gcc: Append t-android for Android targets. * config/t-android: New. From-SVN: r163962 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f544f735769..6ad6ff32597 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2010-09-07 H.J. Lu + + * config.gcc: Append t-android for Android targets. + + * config/t-android: New. + 2010-09-07 Richard Henderson * target.def (unwind_emit_before_insn): New hook. diff --git a/gcc/config.gcc b/gcc/config.gcc index d33d1c6832b..3c093b304b5 100644 --- a/gcc/config.gcc +++ b/gcc/config.gcc @@ -571,6 +571,7 @@ case ${target} in case $target in *-*-*android*) tm_defines="$tm_defines ANDROID_DEFAULT=1" + tmake_file="${tmake_file} t-android" ;; *) tm_defines="$tm_defines ANDROID_DEFAULT=0" diff --git a/gcc/config/t-android b/gcc/config/t-android new file mode 100644 index 00000000000..373bb9dff40 --- /dev/null +++ b/gcc/config/t-android @@ -0,0 +1,23 @@ +# 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 +# . + +# 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