Mercurial > hg > CbC > CbC_gcc
annotate gcc/config/ia64/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 |
---|---|
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
1 /* Definitions for ia64-linux target. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
2 |
145 | 3 Copyright (C) 2000-2020 Free Software Foundation, Inc. |
55
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
4 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
5 This file is part of GCC. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
6 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
7 GCC is free software; you can redistribute it and/or modify it under |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
8 the terms of the GNU General Public License as published by the Free |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
9 Software Foundation; either version 3, or (at your option) any later |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
10 version. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
11 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
12 GCC is distributed in the hope that it will be useful, but WITHOUT ANY |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
13 WARRANTY; without even the implied warranty of MERCHANTABILITY or |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
14 FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
15 for more details. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
16 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
17 Under Section 7 of GPL version 3, you are granted additional |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
18 permissions described in the GCC Runtime Library Exception, version |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
19 3.1, as published by the Free Software Foundation. |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
20 |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
21 You should have received a copy of the GNU General Public License and |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
22 a copy of the GCC Runtime Library Exception along with this program; |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see |
77e2b8dfacca
update it from 4.4.3 to 4.5.0
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
0
diff
changeset
|
24 <http://www.gnu.org/licenses/>. */ |
0 | 25 |
26 /* This is for -profile to use -lc_p instead of -lc. */ | |
27 #undef CC1_SPEC | |
28 #define CC1_SPEC "%{profile:-p} %{G*}" | |
29 | |
30 /* Target OS builtins. */ | |
31 #define TARGET_OS_CPP_BUILTINS() \ | |
32 do { \ | |
111 | 33 GNU_USER_TARGET_OS_CPP_BUILTINS(); \ |
0 | 34 builtin_define("_LONGLONG"); \ |
35 } while (0) | |
36 | |
37 /* Need to override linux.h STARTFILE_SPEC, since it has crtbeginT.o in. */ | |
38 #undef STARTFILE_SPEC | |
39 #ifdef HAVE_LD_PIE | |
40 #define STARTFILE_SPEC \ | |
41 "%{!shared: %{pg|p|profile:gcrt1.o%s;pie:Scrt1.o%s;:crt1.o%s}}\ | |
42 crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}" | |
43 #else | |
44 #define STARTFILE_SPEC \ | |
45 "%{!shared: %{pg|p|profile:gcrt1.o%s;:crt1.o%s}}\ | |
46 crti.o%s %{shared|pie:crtbeginS.o%s;:crtbegin.o%s}" | |
47 #endif | |
48 | |
49 /* Similar to standard Linux, but adding -ffast-math support. */ | |
50 #undef ENDFILE_SPEC | |
51 #define ENDFILE_SPEC \ | |
111 | 52 "%{Ofast|ffast-math|funsafe-math-optimizations:crtfastmath.o%s} \ |
0 | 53 %{shared|pie:crtendS.o%s;:crtend.o%s} crtn.o%s" |
54 | |
55 /* Define this for shared library support because it isn't in the main | |
56 linux.h file. */ | |
57 | |
58 #define GLIBC_DYNAMIC_LINKER "/lib/ld-linux-ia64.so.2" | |
59 | |
60 #undef LINK_SPEC | |
61 #define LINK_SPEC "\ | |
62 %{shared:-shared} \ | |
63 %{!shared: \ | |
64 %{!static: \ | |
65 %{rdynamic:-export-dynamic} \ | |
111 | 66 -dynamic-linker " GNU_USER_DYNAMIC_LINKER "} \ |
0 | 67 %{static:-static}}" |
68 | |
69 #define CPP_SPEC "%{posix:-D_POSIX_SOURCE} %{pthread:-D_REENTRANT}" | |
70 | |
71 #define JMP_BUF_SIZE 76 | |
72 | |
73 /* Override linux.h LINK_EH_SPEC definition. | |
74 Signalize that because we have fde-glibc, we don't need all C shared libs | |
75 linked against -lgcc_s. */ | |
76 #undef LINK_EH_SPEC | |
77 #define LINK_EH_SPEC "" | |
78 | |
79 #undef TARGET_INIT_LIBFUNCS | |
80 #define TARGET_INIT_LIBFUNCS ia64_soft_fp_init_libfuncs | |
111 | 81 |
82 /* Define this to be nonzero if static stack checking is supported. */ | |
83 #define STACK_CHECK_STATIC_BUILTIN 1 |