I would like to port this patch to google/gcc-4_6 and also google/gcc-4_6_2-mobile.
>From reading the patch, it does not change config for non-Android target. bootstrap,crosstool tests finished successfully on google/gcc-4_6. Built ARM android toolchain successfully. OK? Thanks, Jing On Thu, May 3, 2012 at 1:51 AM, Ilya Enkovich <enkovich....@gmail.com> wrote: > Hi, > > here is a port of Android support patch > (http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00944.html) for > google/gcc-4_6_2-mobile branch. Is it OK? > > Bootstrapped on linux-x86_64. Successfullly used for NDK release build > and Android ICS build. > > Thanks, > Ilya > --- > 2012-05-03 Enkovich Ilya <ilya.enkov...@intel.com> > > * config/linux-android.h (ANDROID_STARTFILE_SPEC): Fix > shared case. > (ANDROID_ENDFILE_SPEC): Likewise. > > * config/i386/linux.h (TARGET_OS_CPP_BUILTINS): Add Android > builtins. > (LINUX_TARGET_CC1_SPEC): New. > (CC1_SPEC): Support Android. > (LINUX_TARGET_LINK_SPEC): New. > (LINK_SPEC): Support Android. > (LIB_SPEC): New. > (STARTFILE_SPEC): New. > (LINUX_TARGET_ENDFILE_SPEC): New. > (ENDFILE_SPEC): Support Android. > * config/i386/linux64.h: Likewise.