annotate gcc/config/lm32/rtems.h @ 111:04ced10e8804

gcc 7
author kono
date Fri, 27 Oct 2017 22:46:09 +0900
parents b7f97abdc517
children 84e7813d76e9
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Definitions for rtems targeting a lm32 using ELF.
111
kono
parents: 63
diff changeset
2 Copyright (C) 2009-2017 Free Software Foundation, Inc.
kono
parents: 63
diff changeset
3
kono
parents: 63
diff changeset
4 This file is part of GCC.
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
5
111
kono
parents: 63
diff changeset
6 GCC is free software; you can redistribute it and/or modify it
kono
parents: 63
diff changeset
7 under the terms of the GNU General Public License as published
kono
parents: 63
diff changeset
8 by the Free Software Foundation; either version 3, or (at your
kono
parents: 63
diff changeset
9 option) any later version.
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
10
111
kono
parents: 63
diff changeset
11 GCC is distributed in the hope that it will be useful, but WITHOUT
kono
parents: 63
diff changeset
12 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
kono
parents: 63
diff changeset
13 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
kono
parents: 63
diff changeset
14 License for more details.
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
15
111
kono
parents: 63
diff changeset
16 Under Section 7 of GPL version 3, you are granted additional
kono
parents: 63
diff changeset
17 permissions described in the GCC Runtime Library Exception, version
kono
parents: 63
diff changeset
18 3.1, as published by the Free Software Foundation.
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
19
111
kono
parents: 63
diff changeset
20 You should have received a copy of the GNU General Public License and
kono
parents: 63
diff changeset
21 a copy of the GCC Runtime Library Exception along with this program;
kono
parents: 63
diff changeset
22 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
kono
parents: 63
diff changeset
23 <http://www.gnu.org/licenses/>. */
63
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
24
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
25 /* Target OS builtins. */
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 #undef TARGET_OS_CPP_BUILTINS
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
27 #define TARGET_OS_CPP_BUILTINS() \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 do \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 { \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 builtin_define ("__rtems__"); \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 builtin_define ("__USE_INIT_FINI__"); \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
32 builtin_assert ("system=rtems"); \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
33 } \
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
34 while (0)
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
35
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
36 /* Use the default */
b7f97abdc517 update gcc from gcc-4.5.0 to gcc-4.6
ryoma <e075725@ie.u-ryukyu.ac.jp>
parents:
diff changeset
37 #undef LINK_GCC_C_SEQUENCE_SPEC