]>
Commit | Line | Data |
---|---|---|
acce4e77 JM |
1 | /* Data structure definitions for target-specific C-family behavior. |
2 | Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009, 2010, | |
3 | 2011 | |
4 | Free Software Foundation, Inc. | |
5 | ||
6 | This program is free software; you can redistribute it and/or modify it | |
7 | under the terms of the GNU General Public License as published by the | |
8 | Free Software Foundation; either version 3, or (at your option) any | |
9 | later version. | |
10 | ||
11 | This program is distributed in the hope that it will be useful, | |
12 | but WITHOUT ANY WARRANTY; without even the implied warranty of | |
13 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the | |
14 | GNU General Public License for more details. | |
15 | ||
16 | You should have received a copy of the GNU General Public License | |
17 | along with this program; see the file COPYING3. If not see | |
18 | <http://www.gnu.org/licenses/>. | |
19 | ||
20 | In other words, you are welcome to use, share and improve this program. | |
21 | You are forbidden to forbid anyone else to use, share and improve | |
22 | what you give them. Help stamp out software-hoarding! */ | |
23 | ||
24 | #ifndef GCC_C_TARGET_H | |
25 | #define GCC_C_TARGET_H | |
26 | ||
27 | #define DEFHOOKPOD(NAME, DOC, TYPE, INIT) TYPE NAME; | |
28 | #define DEFHOOK(NAME, DOC, TYPE, PARAMS, INIT) TYPE (* NAME) PARAMS; | |
29 | #define DEFHOOK_UNDOC DEFHOOK | |
30 | #define HOOKSTRUCT(FRAGMENT) FRAGMENT | |
31 | ||
32 | #include "c-target.def" | |
33 | ||
34 | /* Each target can provide their own. */ | |
35 | extern struct gcc_targetcm targetcm; | |
36 | ||
37 | #endif /* GCC_C_TARGET_H */ |