1 diff -N -u -r ../gcc-6.1.0/gcc/config/aarch64/aarch64-linux-android.h ./gcc/config/aarch64/aarch64-linux-android.h
2 --- ../gcc-6.1.0/gcc/config/aarch64/aarch64-linux-android.h 1969-12-31 19:00:00.000000000 -0500
3 +++ ./gcc/config/aarch64/aarch64-linux-android.h 2016-04-29 05:16:37.417191309 -0400
5 +/* Machine description for AArch64 architecture.
6 + Copyright (C) 2014 Free Software Foundation, Inc.
8 + This file is part of GCC.
10 + GCC is free software; you can redistribute it and/or modify it
11 + under the terms of the GNU General Public License as published by
12 + the Free Software Foundation; either version 3, or (at your option)
15 + GCC is distributed in the hope that it will be useful, but
16 + WITHOUT ANY WARRANTY; without even the implied warranty of
17 + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
18 + General Public License for more details.
20 + You should have received a copy of the GNU General Public License
21 + along with GCC; see the file COPYING3. If not see
22 + <http://www.gnu.org/licenses/>. */
24 +#ifndef GCC_AARCH64_LINUX_ANDROID_H
25 +#define GCC_AARCH64_LINUX_ANDROID_H
28 +#undef TARGET_OS_CPP_BUILTINS
29 +#define TARGET_OS_CPP_BUILTINS() \
32 + GNU_USER_TARGET_OS_CPP_BUILTINS(); \
33 + ANDROID_TARGET_OS_CPP_BUILTINS(); \
39 + LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \
40 + LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
44 + LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \
45 + GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC("-fpic"))
47 +#define CC1PLUS_SPEC \
48 + LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC)
52 + LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \
53 + GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC " " ANDROID_LIB_SPEC)
55 +#undef STARTFILE_SPEC
56 +#define STARTFILE_SPEC \
57 + LINUX_OR_ANDROID_LD (GNU_USER_TARGET_STARTFILE_SPEC, ANDROID_STARTFILE_SPEC)
60 +#define ENDFILE_SPEC \
61 + LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC)
64 +#define LIBGCC2_UNWIND_ATTRIBUTE __attribute__((visibility("default")))
67 +#endif /* GCC_AARCH64_LINUX_ANDROID_H */