Hello, Here is a patch which creates new gnu-user-common.h file and moves all common gnu-user.h and gnu-user64.h definitions to this new file. New file is required to avoid duplication of Android specific changes in gnu-user.h and gnu-user64.h. This patch is actually a non Android specific part of previously submitted patch to support Android in x86 target (http://gcc.gnu.org/ml/gcc-patches/2012-04/msg00127.html). Bootstrapped and tested on linux-x86_64. Is it OK for mainline and 4.7?
Thanks Ilya, --- 2012-04-13 Enkovich Ilya <ilya.enkov...@intel.com> * config/i386/gnu-user.h: Include gnu-user-common.h. (CPP_SPEC): Removed. (CC1_SPEC): Removed. (ENDFILE_SPEC): Removed. (DEFAULT_PCC_STRUCT_RETURN): Removed. (TARGET_TLS_DIRECT_SEG_REFS_DEFAULT): Removed. (TARGET_OS_CPP_BUILTINS): Removed. (LIBGCC2_HAS_TF_MODE): Removed. (LIBGCC2_TF_CEXT): Removed. (TF_SIZE): Removed. (TARGET_ASM_FILE_END): Removed. (STACK_CHECK_MOVING_SP): Removed. (STACK_CHECK_STATIC_BUILTIN): Removed. (TARGET_THREAD_SSP_OFFSET): Removed. (TARGET_CAN_SPLIT_STACK): Removed. (TARGET_THREAD_SPLIT_STACK_OFFSET): Removed. * config/i386/gnu-user64.h: Likewise. * config/i386/gnu-user-common.h: New.
mandroid.patch
Description: Binary data