Mercurial > hg > CbC > CbC_gcc
comparison gcc/config/linux-android.h @ 111:04ced10e8804
gcc 7
author | kono |
---|---|
date | Fri, 27 Oct 2017 22:46:09 +0900 |
parents | 561a7518be6b |
children | 84e7813d76e9 |
comparison
equal
deleted
inserted
replaced
68:561a7518be6b | 111:04ced10e8804 |
---|---|
1 /* Configuration file for Linux Android targets. | 1 /* Configuration file for Linux Android targets. |
2 Copyright (C) 2008, 2010 | 2 Copyright (C) 2008-2017 Free Software Foundation, Inc. |
3 Free Software Foundation, Inc. | |
4 Contributed by Doug Kwan (dougkwan@google.com) | 3 Contributed by Doug Kwan (dougkwan@google.com) |
5 Rewritten by CodeSourcery, Inc. | 4 Rewritten by CodeSourcery, Inc. |
6 | 5 |
7 This file is part of GCC. | 6 This file is part of GCC. |
8 | 7 |
20 along with GCC; see the file COPYING3. If not see | 19 along with GCC; see the file COPYING3. If not see |
21 <http://www.gnu.org/licenses/>. */ | 20 <http://www.gnu.org/licenses/>. */ |
22 | 21 |
23 #define ANDROID_TARGET_OS_CPP_BUILTINS() \ | 22 #define ANDROID_TARGET_OS_CPP_BUILTINS() \ |
24 do { \ | 23 do { \ |
25 if (OPTION_ANDROID) \ | 24 if (TARGET_ANDROID) \ |
26 builtin_define ("__ANDROID__"); \ | 25 builtin_define ("__ANDROID__"); \ |
27 } while (0) | 26 } while (0) |
28 | 27 |
29 #if ANDROID_DEFAULT | 28 #if ANDROID_DEFAULT |
30 # define NOANDROID "mno-android" | 29 # define NOANDROID "mno-android" |
51 | 50 |
52 #define ANDROID_LIB_SPEC \ | 51 #define ANDROID_LIB_SPEC \ |
53 "%{!static: -ldl}" | 52 "%{!static: -ldl}" |
54 | 53 |
55 #define ANDROID_STARTFILE_SPEC \ | 54 #define ANDROID_STARTFILE_SPEC \ |
56 "%{!shared:" \ | 55 "%{shared: crtbegin_so%O%s;:" \ |
57 " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s}}" | 56 " %{static: crtbegin_static%O%s;: crtbegin_dynamic%O%s}}" |
58 | 57 |
59 #define ANDROID_ENDFILE_SPEC \ | 58 #define ANDROID_ENDFILE_SPEC \ |
60 "%{!shared: crtend_android%O%s}" | 59 "%{shared: crtend_so%O%s;: crtend_android%O%s}" |