annotate gcc/config/powerpcspe/eabisim.h @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children
Ignore whitespace changes - Everywhere: Within whitespace: At end of lines:
rev   line source
111
kono
parents:
diff changeset
1 /* Support for GCC on simulated PowerPC systems targeted to embedded ELF
kono
parents:
diff changeset
2 systems.
131
84e7813d76e9 gcc-8.2
mir3636
parents: 111
diff changeset
3 Copyright (C) 1995-2018 Free Software Foundation, Inc.
111
kono
parents:
diff changeset
4 Contributed by Cygnus Support.
kono
parents:
diff changeset
5
kono
parents:
diff changeset
6 This file is part of GCC.
kono
parents:
diff changeset
7
kono
parents:
diff changeset
8 GCC is free software; you can redistribute it and/or modify it
kono
parents:
diff changeset
9 under the terms of the GNU General Public License as published
kono
parents:
diff changeset
10 by the Free Software Foundation; either version 3, or (at your
kono
parents:
diff changeset
11 option) any later version.
kono
parents:
diff changeset
12
kono
parents:
diff changeset
13 GCC is distributed in the hope that it will be useful, but WITHOUT
kono
parents:
diff changeset
14 ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
kono
parents:
diff changeset
15 or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public
kono
parents:
diff changeset
16 License for more details.
kono
parents:
diff changeset
17
kono
parents:
diff changeset
18 You should have received a copy of the GNU General Public License
kono
parents:
diff changeset
19 along with GCC; see the file COPYING3. If not see
kono
parents:
diff changeset
20 <http://www.gnu.org/licenses/>. */
kono
parents:
diff changeset
21
kono
parents:
diff changeset
22 #undef TARGET_OS_CPP_BUILTINS
kono
parents:
diff changeset
23 #define TARGET_OS_CPP_BUILTINS() \
kono
parents:
diff changeset
24 do \
kono
parents:
diff changeset
25 { \
kono
parents:
diff changeset
26 builtin_define_std ("PPC"); \
kono
parents:
diff changeset
27 builtin_define ("__embedded__"); \
kono
parents:
diff changeset
28 builtin_define ("__simulator__"); \
kono
parents:
diff changeset
29 builtin_assert ("system=embedded"); \
kono
parents:
diff changeset
30 builtin_assert ("system=simulator"); \
kono
parents:
diff changeset
31 builtin_assert ("cpu=powerpc"); \
kono
parents:
diff changeset
32 builtin_assert ("machine=powerpc"); \
kono
parents:
diff changeset
33 TARGET_OS_SYSV_CPP_BUILTINS (); \
kono
parents:
diff changeset
34 } \
kono
parents:
diff changeset
35 while (0)
kono
parents:
diff changeset
36
kono
parents:
diff changeset
37 /* Make the simulator the default */
kono
parents:
diff changeset
38 #undef LIB_DEFAULT_SPEC
kono
parents:
diff changeset
39 #define LIB_DEFAULT_SPEC "%(lib_sim)"
kono
parents:
diff changeset
40
kono
parents:
diff changeset
41 #undef STARTFILE_DEFAULT_SPEC
kono
parents:
diff changeset
42 #define STARTFILE_DEFAULT_SPEC "%(startfile_sim)"
kono
parents:
diff changeset
43
kono
parents:
diff changeset
44 #undef ENDFILE_DEFAULT_SPEC
kono
parents:
diff changeset
45 #define ENDFILE_DEFAULT_SPEC "%(endfile_sim)"
kono
parents:
diff changeset
46
kono
parents:
diff changeset
47 #undef LINK_START_DEFAULT_SPEC
kono
parents:
diff changeset
48 #define LINK_START_DEFAULT_SPEC "%(link_start_sim)"
kono
parents:
diff changeset
49
kono
parents:
diff changeset
50 #undef LINK_OS_DEFAULT_SPEC
kono
parents:
diff changeset
51 #define LINK_OS_DEFAULT_SPEC "%(link_os_sim)"