111
|
1 /* Definitions of target machine for GNU compiler.
|
|
2 Renesas H8/300 (linux variant)
|
145
|
3 Copyright (C) 2015-2020 Free Software Foundation, Inc.
|
111
|
4 Contributed by Yoshinori Sato <ysato@users.sourceforge.jp>
|
|
5
|
|
6 This file is part of GCC.
|
|
7
|
|
8 GCC is free software; you can redistribute it and/or modify
|
|
9 it under the terms of the GNU General Public License as published by
|
|
10 the Free Software Foundation; either version 3, or (at your option)
|
|
11 any later version.
|
|
12
|
|
13 GCC is distributed in the hope that it will be useful,
|
|
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
16 GNU General Public License for more details.
|
|
17
|
|
18 You should have received a copy of the GNU General Public License
|
|
19 along with GCC; see the file COPYING3. If not see
|
|
20 <http://www.gnu.org/licenses/>. */
|
|
21
|
|
22 #ifndef GCC_H8300_LINUX_H
|
|
23 #define GCC_H8300_LINUX_H
|
|
24
|
|
25 #define TARGET_OS_CPP_BUILTINS() \
|
|
26 do \
|
|
27 { \
|
|
28 GNU_USER_TARGET_OS_CPP_BUILTINS(); \
|
|
29 } \
|
|
30 while (0)
|
|
31
|
|
32 #undef LINK_SPEC
|
|
33 #define LINK_SPEC "%{mh:-mh8300helf_linux} %{ms:-m h8300self_linux} %{msx:-m h8300sxelf_linux}"
|
|
34
|
|
35 #undef TARGET_DEFAULT
|
|
36 #define TARGET_DEFAULT (MASK_QUICKCALL | MASK_INT32 | MASK_H8300H)
|
|
37
|
|
38 /* Width of a word, in units (bytes). */
|
|
39 #undef DOUBLE_TYPE_SIZE
|
|
40 #define DOUBLE_TYPE_SIZE 64
|
|
41
|
|
42 #undef DEFAULT_SIGNED_CHAR
|
|
43 #define DEFAULT_SIGNED_CHAR 1
|
|
44
|
|
45 #undef USER_LABEL_PREFIX
|
|
46
|
|
47 #define H8300_LINUX
|
|
48
|
|
49 #endif /* ! GCC_H8300_LINUX_H */
|