Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/xtensa/linux.h @ 145:1830386684a0
gcc-9.2.0
author | anatofuz |
---|---|
date | Thu, 13 Feb 2020 11:34:05 +0900 |
parents | 84e7813d76e9 |
children |
rev | line source |
---|---|
0 | 1 /* Xtensa Linux configuration. |
2 Derived from the configuration for GCC for Intel i386 running Linux. | |
145 | 3 Copyright (C) 2001-2020 Free Software Foundation, Inc. |
0 | 4 |
5 This file is part of GCC. | |
6 | |
7 GCC is free software; you can redistribute it and/or modify it under | |
8 the terms of the GNU General Public License as published by the Free | |
9 Software Foundation; either version 3, or (at your option) any later | |
10 version. | |
11 | |
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY | |
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or | |
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License | |
15 for more details. | |
16 | |
17 You should have received a copy of the GNU General Public License | |
18 along with GCC; see the file COPYING3. If not see | |
19 <http://www.gnu.org/licenses/>. */ | |
20 | |
111 | 21 #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() |
0 | 22 |
23 #undef SUBTARGET_CPP_SPEC | |
24 #define SUBTARGET_CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" | |
25 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
26 #undef SIZE_TYPE |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
27 #define SIZE_TYPE "unsigned int" |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
28 |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
29 #undef PTRDIFF_TYPE |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
30 #define PTRDIFF_TYPE "int" |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
31 |
0 | 32 #undef WCHAR_TYPE |
33 #define WCHAR_TYPE "long int" | |
34 | |
35 #undef WCHAR_TYPE_SIZE | |
36 #define WCHAR_TYPE_SIZE 32 | |
37 | |
38 #undef ASM_SPEC | |
39 #define ASM_SPEC \ | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
40 "%{mtext-section-literals:--text-section-literals} \ |
0 | 41 %{mno-text-section-literals:--no-text-section-literals} \ |
42 %{mtarget-align:--target-align} \ | |
43 %{mno-target-align:--no-target-align} \ | |
44 %{mlongcalls:--longcalls} \ | |
111 | 45 %{mno-longcalls:--no-longcalls} \ |
46 %{mauto-litpools:--auto-litpools} \ | |
47 %{mno-auto-litpools:--no-auto-litpools}" | |
0 | 48 |
49 #define GLIBC_DYNAMIC_LINKER "/lib/ld.so.1" | |
50 | |
51 #undef LINK_SPEC | |
52 #define LINK_SPEC \ | |
53 "%{shared:-shared} \ | |
54 %{!shared: \ | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
55 %{!static: \ |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
56 %{rdynamic:-export-dynamic} \ |
111 | 57 -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
58 %{static:-static}}" |
0 | 59 |
60 #undef LOCAL_LABEL_PREFIX | |
61 #define LOCAL_LABEL_PREFIX "." | |
62 | |
63 /* Always enable "-fpic" for Xtensa Linux. */ | |
64 #define XTENSA_ALWAYS_PIC 1 | |
65 | |
67
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
66 #undef DBX_REGISTER_NUMBER |
f6334be47118
update gcc from gcc-4.6-20100522 to gcc-4.6-20110318
nobuyasu <dimolto@cr.ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
67 |