sqlite: Update from 3.11.1 to 3.12.0
[termux-packages] / packages / gcc / gcc-config-aarch64-aarch64-linux-android.h.patch
CommitLineData
98cc1d7b
FF
1From https://github.com/crystax/android-toolchain-gcc-5/commit/1e57465b9b81699ce8eb603dd4794a839a74c635
2
3diff -N -u -r ../gcc-5.3.0/gcc/config/aarch64/aarch64-linux-android.h ./gcc/config/aarch64/aarch64-linux-android.h
4--- ../gcc-5.3.0/gcc/config/aarch64/aarch64-linux-android.h 1969-12-31 19:00:00.000000000 -0500
5+++ ./gcc/config/aarch64/aarch64-linux-android.h 2016-03-19 21:08:15.423913071 -0400
6@@ -0,0 +1,59 @@
7+/* Machine description for AArch64 architecture.
8+ Copyright (C) 2014 Free Software Foundation, Inc.
9+
10+ This file is part of GCC.
11+
12+ GCC is free software; you can redistribute it and/or modify it
13+ under the terms of the GNU General Public License as published by
14+ the Free Software Foundation; either version 3, or (at your option)
15+ any later version.
16+
17+ GCC is distributed in the hope that it will be useful, but
18+ WITHOUT ANY WARRANTY; without even the implied warranty of
19+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
20+ General Public License for more details.
21+
22+ You should have received a copy of the GNU General Public License
23+ along with GCC; see the file COPYING3. If not see
24+ <http://www.gnu.org/licenses/>. */
25+
26+#ifndef GCC_AARCH64_LINUX_ANDROID_H
27+#define GCC_AARCH64_LINUX_ANDROID_H
28+
29+
30+#undef TARGET_OS_CPP_BUILTINS
31+#define TARGET_OS_CPP_BUILTINS() \
32+ do \
33+ { \
34+ GNU_USER_TARGET_OS_CPP_BUILTINS(); \
35+ ANDROID_TARGET_OS_CPP_BUILTINS(); \
36+ } \
37+ while (0)
38+
39+#undef LINK_SPEC
40+#define LINK_SPEC \
41+ LINUX_OR_ANDROID_LD (LINUX_TARGET_LINK_SPEC, \
42+ LINUX_TARGET_LINK_SPEC " " ANDROID_LINK_SPEC)
43+
44+#undef CC1_SPEC
45+#define CC1_SPEC \
46+ LINUX_OR_ANDROID_CC (GNU_USER_TARGET_CC1_SPEC, \
47+ GNU_USER_TARGET_CC1_SPEC " " ANDROID_CC1_SPEC)
48+
49+#define CC1PLUS_SPEC \
50+ LINUX_OR_ANDROID_CC ("", ANDROID_CC1PLUS_SPEC)
51+
52+#undef LIB_SPEC
53+#define LIB_SPEC \
54+ LINUX_OR_ANDROID_LD (GNU_USER_TARGET_LIB_SPEC, \
55+ GNU_USER_TARGET_NO_PTHREADS_LIB_SPEC " " ANDROID_LIB_SPEC)
56+
57+#undef STARTFILE_SPEC
58+#define STARTFILE_SPEC \
59+ LINUX_OR_ANDROID_LD (GNU_USER_TARGET_STARTFILE_SPEC, ANDROID_STARTFILE_SPEC)
60+
61+#undef ENDFILE_SPEC
62+#define ENDFILE_SPEC \
63+ LINUX_OR_ANDROID_LD (GNU_USER_TARGET_ENDFILE_SPEC, ANDROID_ENDFILE_SPEC)
64+
65+#endif /* GCC_AARCH64_LINUX_ANDROID_H */