OSDN Git Service

* system.h (TARGET_ESC): Move to ...
[pf3gnuchains/gcc-fork.git] / gcc / target-def.h
1 /* Default initializers for a generic GCC target.
2    Copyright (C) 2001 Free Software Foundation, Inc.
3
4 This program is free software; you can redistribute it and/or modify it
5 under the terms of the GNU General Public License as published by the
6 Free Software Foundation; either version 2, or (at your option) any
7 later version.
8
9 This program is distributed in the hope that it will be useful,
10 but WITHOUT ANY WARRANTY; without even the implied warranty of
11 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
12 GNU General Public License for more details.
13
14 You should have received a copy of the GNU General Public License
15 along with this program; if not, write to the Free Software
16 Foundation, 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
17
18  In other words, you are welcome to use, share and improve this program.
19  You are forbidden to forbid anyone else to use, share and improve
20  what you give them.   Help stamp out software-hoarding!  */
21
22 /* See target.h for a desciption of what this file contains and how to
23    use it.
24
25    We want to have non-NULL default definitions of all hook functions,
26    even if they do nothing.  */
27
28 /* All in tree.c.  */
29 #define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
30 #define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
31 #define TARGET_VALID_DECL_ATTRIBUTE default_valid_attribute_p
32 #define TARGET_VALID_TYPE_ATTRIBUTE default_valid_attribute_p
33
34 /* The whole shebang.  */
35 #define TARGET_INITIALIZER                      \
36 {                                               \
37   TARGET_MERGE_DECL_ATTRIBUTES,                 \
38   TARGET_MERGE_TYPE_ATTRIBUTES,                 \
39   TARGET_VALID_DECL_ATTRIBUTE,                  \
40   TARGET_VALID_TYPE_ATTRIBUTE                   \
41 }