]>
Commit | Line | Data |
---|---|---|
ca11c37c | 1 | /* Definitions of target machine for GNU compiler. |
340f6494 | 2 | Renesas H8/300 version generating elf |
99dee823 | 3 | Copyright (C) 2001-2021 Free Software Foundation, Inc. |
ca11c37c ZW |
4 | Contributed by Steve Chamberlain (sac@cygnus.com), |
5 | Jim Wilson (wilson@cygnus.com), and Doug Evans (dje@cygnus.com). | |
f4926e19 | 6 | |
ca11c37c ZW |
7 | This file is part of GCC. |
8 | ||
9 | GCC is free software; you can redistribute it and/or modify | |
10 | it under the terms of the GNU General Public License as published by | |
2f83c7d6 | 11 | the Free Software Foundation; either version 3, or (at your option) |
ca11c37c ZW |
12 | any later version. |
13 | ||
14 | GCC is distributed in the hope that it will be useful, | |
15 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
16 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
17 | GNU General Public License for more details. | |
18 | ||
19 | You should have received a copy of the GNU General Public License | |
2f83c7d6 NC |
20 | along with GCC; see the file COPYING3. If not see |
21 | <http://www.gnu.org/licenses/>. */ | |
ca11c37c ZW |
22 | |
23 | #ifndef GCC_H8300_ELF_H | |
24 | #define GCC_H8300_ELF_H | |
8db4c867 JL |
25 | |
26 | #undef ENDFILE_SPEC | |
27 | #define ENDFILE_SPEC "crtend.o%s %{pg:gcrtn.o%s}%{!pg:crtn.o%s}" | |
28 | ||
29 | #undef STARTFILE_SPEC | |
30 | #define STARTFILE_SPEC "%{!shared: \ | |
31 | %{!symbolic: \ | |
32 | %{pg:gcrt0.o%s}%{!pg:%{p:mcrt0.o%s}%{!p:crt0.o%s}}}}\ | |
33 | %{pg:gcrti.o%s}%{!pg:crti.o%s} \ | |
34 | crtbegin.o%s" | |
35 | ||
f4926e19 R |
36 | #undef USER_LABEL_PREFIX |
37 | #define USER_LABEL_PREFIX "_" | |
38 | ||
39 | #define JUMP_TABLES_IN_TEXT_SECTION (flag_pic) | |
9aa5ba97 JL |
40 | |
41 | #undef LINK_SPEC | |
27c1afd5 | 42 | #define LINK_SPEC "%{!ms:%{!msx:%{mn:-m h8300hnelf;:-m h8300helf}}} %{ms:%{mn:-m h8300snelf;:-m h8300self}} %{msx:%{mn:-m h8300sxnelf;:-m h8300sxelf}}" |
ca11c37c ZW |
43 | |
44 | #endif /* h8300/elf.h */ |