OSDN Git Service

* final.c (no_asm_to_stream): New.
[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 /* Assembler output.  */
29 #define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue
30 #define TARGET_ASM_FUNCTION_EPILOGUE default_function_pro_epilogue
31 #define TARGET_ASM_FUNCTION_END_PROLOGUE no_asm_to_stream
32 #define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE no_asm_to_stream
33
34 #define TARGET_ASM_OUT {TARGET_ASM_FUNCTION_PROLOGUE,           \
35                         TARGET_ASM_FUNCTION_END_PROLOGUE,       \
36                         TARGET_ASM_FUNCTION_BEGIN_EPILOGUE,     \
37                         TARGET_ASM_FUNCTION_EPILOGUE}
38
39 /* All in tree.c.  */
40 #define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
41 #define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
42 #define TARGET_VALID_DECL_ATTRIBUTE default_valid_attribute_p
43 #define TARGET_VALID_TYPE_ATTRIBUTE default_valid_attribute_p
44 #define TARGET_COMP_TYPE_ATTRIBUTES default_comp_type_attributes
45 #define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES default_set_default_type_attributes
46
47 /* The whole shebang.  */
48 #define TARGET_INITIALIZER                      \
49 {                                               \
50   TARGET_ASM_OUT,                               \
51   TARGET_MERGE_DECL_ATTRIBUTES,                 \
52   TARGET_MERGE_TYPE_ATTRIBUTES,                 \
53   TARGET_VALID_DECL_ATTRIBUTE,                  \
54   TARGET_VALID_TYPE_ATTRIBUTE,                  \
55   TARGET_COMP_TYPE_ATTRIBUTES,                  \
56   TARGET_SET_DEFAULT_TYPE_ATTRIBUTES            \
57 }