annotate gcc/config/sh/rtems.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
1 /* Definitions for rtems targeting a SH using COFF.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
2 Copyright (C) 1997-2018 Free Software Foundation, Inc.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
3 Contributed by Joel Sherrill (joel@OARcorp.com).
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
4
111
kono
parents: 0
diff changeset
5 This file is part of GCC.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
6
111
kono
parents: 0
diff changeset
7 GCC is free software; you can redistribute it and/or modify it
kono
parents: 0
diff changeset
8 under the terms of the GNU General Public License as published
kono
parents: 0
diff changeset
9 by the Free Software Foundation; either version 3, or (at your
kono
parents: 0
diff changeset
10 option) any later version.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
11
111
kono
parents: 0
diff changeset
12 GCC is distributed in the hope that it will be useful, but WITHOUT
kono
parents: 0
diff changeset
13 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
kono
parents: 0
diff changeset
14 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
kono
parents: 0
diff changeset
15 License for more details.
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
16
111
kono
parents: 0
diff changeset
17 Under Section 7 of GPL version 3, you are granted additional
kono
parents: 0
diff changeset
18 permissions described in the GCC Runtime Library Exception, version
kono
parents: 0
diff changeset
19 3.1, as published by the Free Software Foundation.
kono
parents: 0
diff changeset
20
kono
parents: 0
diff changeset
21 You should have received a copy of the GNU General Public License and
kono
parents: 0
diff changeset
22 a copy of the GCC Runtime Library Exception along with this program;
kono
parents: 0
diff changeset
23 see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
kono
parents: 0
diff changeset
24 <http://www.gnu.org/licenses/>. */
0
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
25
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
26 /* Specify predefined symbols in preprocessor. */
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
27
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
28 #define TARGET_OS_CPP_BUILTINS() do { \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
29 builtin_define( "__rtems__" ); \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
30 builtin_assert( "system=rtems" ); \
a06113de4d67 first commit
kent <kent@cr.ie.u-ryukyu.ac.jp>
parents:
diff changeset
31 } while (0)