From: hjl Date: Tue, 7 Sep 2010 17:48:51 +0000 (+0000) Subject: Use config/t-android for Android targets. X-Git-Tag: upstream/4.9.2~26829 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=e5b9be7c9c45ba9b1e10069776dfe78f781a7cc1;p=platform%2Fupstream%2Flinaro-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. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@163962 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index f544f73..6ad6ff3 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 d33d1c6..3c093b3 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 0000000..373bb9d --- /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