1 /* Default initializers for a generic GCC target.
2 Copyright (C) 2001, 2002, 2003, 2004, 2005 Free Software Foundation, Inc.
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
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.
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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
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! */
22 /* See target.h for a description of what this file contains and how to
25 We want to have non-NULL default definitions of all hook functions,
26 even if they do nothing. */
28 /* Note that if one of these macros must be defined in an OS .h file
29 rather than the .c file, then we need to wrap the default
30 definition in a #ifndef, since files include tm.h before this one. */
32 /* Assembler output. */
33 #define TARGET_ASM_OPEN_PAREN "("
34 #define TARGET_ASM_CLOSE_PAREN ")"
35 #define TARGET_ASM_BYTE_OP "\t.byte\t"
37 #define TARGET_ASM_ALIGNED_HI_OP "\t.short\t"
38 #define TARGET_ASM_ALIGNED_SI_OP "\t.long\t"
39 #define TARGET_ASM_ALIGNED_DI_OP NULL
40 #define TARGET_ASM_ALIGNED_TI_OP NULL
42 /* GAS and SYSV4 assemblers accept these. */
43 #if defined (OBJECT_FORMAT_ELF)
44 #define TARGET_ASM_UNALIGNED_HI_OP "\t.2byte\t"
45 #define TARGET_ASM_UNALIGNED_SI_OP "\t.4byte\t"
46 #define TARGET_ASM_UNALIGNED_DI_OP "\t.8byte\t"
47 #define TARGET_ASM_UNALIGNED_TI_OP NULL
49 #define TARGET_ASM_UNALIGNED_HI_OP NULL
50 #define TARGET_ASM_UNALIGNED_SI_OP NULL
51 #define TARGET_ASM_UNALIGNED_DI_OP NULL
52 #define TARGET_ASM_UNALIGNED_TI_OP NULL
53 #endif /* OBJECT_FORMAT_ELF */
55 #define TARGET_ASM_INTEGER default_assemble_integer
57 #ifndef TARGET_ASM_GLOBALIZE_LABEL
58 #define TARGET_ASM_GLOBALIZE_LABEL default_globalize_label
61 #ifndef TARGET_ASM_EMIT_UNWIND_LABEL
62 #define TARGET_ASM_EMIT_UNWIND_LABEL default_emit_unwind_label
65 #ifndef TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL
66 #define TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL default_emit_except_table_label
69 #ifndef TARGET_UNWIND_EMIT
70 #define TARGET_UNWIND_EMIT default_unwind_emit
73 #ifndef TARGET_ASM_INTERNAL_LABEL
74 #define TARGET_ASM_INTERNAL_LABEL default_internal_label
77 #ifndef TARGET_ARM_TTYPE
78 #define TARGET_ASM_TTYPE hook_bool_rtx_false
81 #ifndef TARGET_ASM_ASSEMBLE_VISIBILITY
82 #define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility
85 #define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue
86 #define TARGET_ASM_FUNCTION_EPILOGUE default_function_pro_epilogue
87 #define TARGET_ASM_FUNCTION_END_PROLOGUE no_asm_to_stream
88 #define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE no_asm_to_stream
90 #ifndef TARGET_ASM_SELECT_SECTION
91 #define TARGET_ASM_SELECT_SECTION default_select_section
94 #ifndef TARGET_ASM_UNIQUE_SECTION
95 #define TARGET_ASM_UNIQUE_SECTION default_unique_section
98 #ifndef TARGET_ASM_FUNCTION_RODATA_SECTION
99 #define TARGET_ASM_FUNCTION_RODATA_SECTION default_function_rodata_section
102 #ifndef TARGET_ASM_SELECT_RTX_SECTION
103 #define TARGET_ASM_SELECT_RTX_SECTION default_select_rtx_section
106 #if !defined(TARGET_ASM_CONSTRUCTOR) && !defined(USE_COLLECT2)
107 # ifdef CTORS_SECTION_ASM_OP
108 # define TARGET_ASM_CONSTRUCTOR default_ctor_section_asm_out_constructor
110 # ifdef TARGET_ASM_NAMED_SECTION
111 # define TARGET_ASM_CONSTRUCTOR default_named_section_asm_out_constructor
113 # define TARGET_ASM_CONSTRUCTOR default_stabs_asm_out_constructor
118 #if !defined(TARGET_ASM_DESTRUCTOR) && !defined(USE_COLLECT2)
119 # ifdef DTORS_SECTION_ASM_OP
120 # define TARGET_ASM_DESTRUCTOR default_dtor_section_asm_out_destructor
122 # ifdef TARGET_ASM_NAMED_SECTION
123 # define TARGET_ASM_DESTRUCTOR default_named_section_asm_out_destructor
125 # define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor
130 #define TARGET_ASM_OUTPUT_MI_THUNK NULL
131 #define TARGET_ASM_CAN_OUTPUT_MI_THUNK hook_bool_tree_hwi_hwi_tree_false
133 #if !defined(TARGET_HAVE_CTORS_DTORS)
134 # if defined(TARGET_ASM_CONSTRUCTOR) && defined(TARGET_ASM_DESTRUCTOR)
135 # define TARGET_HAVE_CTORS_DTORS true
137 # define TARGET_HAVE_CTORS_DTORS false
138 # define TARGET_ASM_CONSTRUCTOR NULL
139 # define TARGET_ASM_DESTRUCTOR NULL
143 #ifndef TARGET_ASM_INIT_SECTIONS
144 #define TARGET_ASM_INIT_SECTIONS hook_void_void
147 #ifdef TARGET_ASM_NAMED_SECTION
148 #define TARGET_HAVE_NAMED_SECTIONS true
150 #define TARGET_ASM_NAMED_SECTION default_no_named_section
151 #define TARGET_HAVE_NAMED_SECTIONS false
154 #ifndef TARGET_INVALID_WITHIN_DOLOOP
155 #define TARGET_INVALID_WITHIN_DOLOOP default_invalid_within_doloop
158 #ifndef TARGET_VALID_DLLIMPORT_ATTRIBUTE_P
159 #define TARGET_VALID_DLLIMPORT_ATTRIBUTE_P hook_bool_tree_true
162 #ifndef TARGET_HAVE_TLS
163 #define TARGET_HAVE_TLS false
166 #ifndef TARGET_HAVE_SRODATA_SECTION
167 #define TARGET_HAVE_SRODATA_SECTION false
170 #ifndef TARGET_TERMINATE_DW2_EH_FRAME_INFO
171 #ifdef EH_FRAME_SECTION_NAME
172 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO false
174 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO true
178 #define TARGET_DWARF_REGISTER_SPAN hook_rtx_rtx_null
180 #ifndef TARGET_ASM_FILE_START
181 #define TARGET_ASM_FILE_START default_file_start
184 #ifndef TARGET_ASM_FILE_END
185 #define TARGET_ASM_FILE_END hook_void_void
188 #ifndef TARGET_ASM_FILE_START_APP_OFF
189 #define TARGET_ASM_FILE_START_APP_OFF false
192 #ifndef TARGET_ASM_FILE_START_FILE_DIRECTIVE
193 #define TARGET_ASM_FILE_START_FILE_DIRECTIVE false
196 #ifndef TARGET_ASM_EXTERNAL_LIBCALL
197 #define TARGET_ASM_EXTERNAL_LIBCALL default_external_libcall
200 #ifndef TARGET_ASM_MARK_DECL_PRESERVED
201 #define TARGET_ASM_MARK_DECL_PRESERVED hook_void_constcharptr
204 #ifndef TARGET_ASM_OUTPUT_DWARF_DTPREL
205 #define TARGET_ASM_OUTPUT_DWARF_DTPREL NULL
208 #define TARGET_ASM_ALIGNED_INT_OP \
209 {TARGET_ASM_ALIGNED_HI_OP, \
210 TARGET_ASM_ALIGNED_SI_OP, \
211 TARGET_ASM_ALIGNED_DI_OP, \
212 TARGET_ASM_ALIGNED_TI_OP}
214 #define TARGET_ASM_UNALIGNED_INT_OP \
215 {TARGET_ASM_UNALIGNED_HI_OP, \
216 TARGET_ASM_UNALIGNED_SI_OP, \
217 TARGET_ASM_UNALIGNED_DI_OP, \
218 TARGET_ASM_UNALIGNED_TI_OP}
220 #define TARGET_ASM_OUT {TARGET_ASM_OPEN_PAREN, \
221 TARGET_ASM_CLOSE_PAREN, \
222 TARGET_ASM_BYTE_OP, \
223 TARGET_ASM_ALIGNED_INT_OP, \
224 TARGET_ASM_UNALIGNED_INT_OP, \
225 TARGET_ASM_INTEGER, \
226 TARGET_ASM_GLOBALIZE_LABEL, \
227 TARGET_ASM_EMIT_UNWIND_LABEL, \
228 TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL, \
229 TARGET_UNWIND_EMIT, \
230 TARGET_ASM_INTERNAL_LABEL, \
232 TARGET_ASM_ASSEMBLE_VISIBILITY, \
233 TARGET_ASM_FUNCTION_PROLOGUE, \
234 TARGET_ASM_FUNCTION_END_PROLOGUE, \
235 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, \
236 TARGET_ASM_FUNCTION_EPILOGUE, \
237 TARGET_ASM_INIT_SECTIONS, \
238 TARGET_ASM_NAMED_SECTION, \
239 TARGET_ASM_SELECT_SECTION, \
240 TARGET_ASM_SELECT_RTX_SECTION, \
241 TARGET_ASM_UNIQUE_SECTION, \
242 TARGET_ASM_FUNCTION_RODATA_SECTION, \
243 TARGET_ASM_CONSTRUCTOR, \
244 TARGET_ASM_DESTRUCTOR, \
245 TARGET_ASM_OUTPUT_MI_THUNK, \
246 TARGET_ASM_CAN_OUTPUT_MI_THUNK, \
247 TARGET_ASM_FILE_START, \
248 TARGET_ASM_FILE_END, \
249 TARGET_ASM_EXTERNAL_LIBCALL, \
250 TARGET_ASM_MARK_DECL_PRESERVED, \
251 TARGET_ASM_OUTPUT_DWARF_DTPREL}
253 /* Scheduler hooks. All of these default to null pointers, which
254 haifa-sched.c looks for and handles. */
255 #define TARGET_SCHED_ADJUST_COST 0
256 #define TARGET_SCHED_ADJUST_PRIORITY 0
257 #define TARGET_SCHED_ISSUE_RATE 0
258 #define TARGET_SCHED_VARIABLE_ISSUE 0
259 #define TARGET_SCHED_INIT 0
260 #define TARGET_SCHED_FINISH 0
261 #define TARGET_SCHED_INIT_GLOBAL 0
262 #define TARGET_SCHED_FINISH_GLOBAL 0
263 #define TARGET_SCHED_REORDER 0
264 #define TARGET_SCHED_REORDER2 0
265 #define TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK 0
266 #define TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN 0
267 #define TARGET_SCHED_DFA_PRE_CYCLE_INSN 0
268 #define TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN 0
269 #define TARGET_SCHED_DFA_POST_CYCLE_INSN 0
270 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD 0
271 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD 0
272 #define TARGET_SCHED_DFA_NEW_CYCLE 0
273 #define TARGET_SCHED_IS_COSTLY_DEPENDENCE 0
275 #define TARGET_SCHED \
276 {TARGET_SCHED_ADJUST_COST, \
277 TARGET_SCHED_ADJUST_PRIORITY, \
278 TARGET_SCHED_ISSUE_RATE, \
279 TARGET_SCHED_VARIABLE_ISSUE, \
281 TARGET_SCHED_FINISH, \
282 TARGET_SCHED_INIT_GLOBAL, \
283 TARGET_SCHED_FINISH_GLOBAL, \
284 TARGET_SCHED_REORDER, \
285 TARGET_SCHED_REORDER2, \
286 TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK, \
287 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, \
288 TARGET_SCHED_DFA_PRE_CYCLE_INSN, \
289 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, \
290 TARGET_SCHED_DFA_POST_CYCLE_INSN, \
291 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, \
292 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, \
293 TARGET_SCHED_DFA_NEW_CYCLE, \
294 TARGET_SCHED_IS_COSTLY_DEPENDENCE}
296 #define TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD 0
298 #define TARGET_VECTORIZE \
299 {TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD}
301 #define TARGET_DEFAULT_TARGET_FLAGS 0
303 #define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true
306 #define TARGET_EH_RETURN_FILTER_MODE default_eh_return_filter_mode
309 #define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
310 #define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
311 #define TARGET_ATTRIBUTE_TABLE NULL
314 #define TARGET_ADDRESS_COST default_address_cost
317 #define TARGET_INIT_BUILTINS hook_void_void
318 #define TARGET_EXPAND_BUILTIN default_expand_builtin
319 #define TARGET_RESOLVE_OVERLOADED_BUILTIN NULL
320 #define TARGET_FOLD_BUILTIN hook_tree_tree_tree_bool_null
323 #ifndef TARGET_SECTION_TYPE_FLAGS
324 #define TARGET_SECTION_TYPE_FLAGS default_section_type_flags
327 #ifndef TARGET_STRIP_NAME_ENCODING
328 #define TARGET_STRIP_NAME_ENCODING default_strip_name_encoding
331 #ifndef TARGET_BINDS_LOCAL_P
332 #define TARGET_BINDS_LOCAL_P default_binds_local_p
335 #ifndef TARGET_SHIFT_TRUNCATION_MASK
336 #define TARGET_SHIFT_TRUNCATION_MASK default_shift_truncation_mask
339 #ifndef TARGET_MIN_DIVISIONS_FOR_RECIP_MUL
340 #define TARGET_MIN_DIVISIONS_FOR_RECIP_MUL default_min_divisions_for_recip_mul
343 #ifndef TARGET_VALID_POINTER_MODE
344 #define TARGET_VALID_POINTER_MODE default_valid_pointer_mode
347 #ifndef TARGET_SCALAR_MODE_SUPPORTED_P
348 #define TARGET_SCALAR_MODE_SUPPORTED_P default_scalar_mode_supported_p
351 #ifndef TARGET_DECIMAL_FLOAT_SUPPORTED_P
352 #define TARGET_DECIMAL_FLOAT_SUPPORTED_P default_decimal_float_supported_p
355 #ifndef TARGET_VECTOR_MODE_SUPPORTED_P
356 #define TARGET_VECTOR_MODE_SUPPORTED_P hook_bool_mode_false
359 #ifndef TARGET_VECTOR_OPAQUE_P
360 #define TARGET_VECTOR_OPAQUE_P hook_bool_tree_false
364 #define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false
365 #define TARGET_BRANCH_TARGET_REGISTER_CLASS hook_int_void_no_regs
366 #define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false
367 #define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false
368 #define TARGET_CANNOT_COPY_INSN_P NULL
369 #define TARGET_COMMUTATIVE_P hook_bool_rtx_commutative_p
370 #define TARGET_DELEGITIMIZE_ADDRESS hook_rtx_rtx_identity
371 #define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false
372 #define TARGET_COMP_TYPE_ATTRIBUTES hook_int_tree_tree_1
373 #define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES hook_void_tree
374 #define TARGET_INSERT_ATTRIBUTES hook_void_tree_treeptr
375 #define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_tree_false
376 #define TARGET_MS_BITFIELD_LAYOUT_P hook_bool_tree_false
377 #define TARGET_ALIGN_ANON_BITFIELD hook_bool_void_false
378 #define TARGET_RTX_COSTS hook_bool_rtx_int_int_intp_false
379 #define TARGET_MANGLE_FUNDAMENTAL_TYPE hook_constcharptr_tree_null
380 #define TARGET_ALLOCATE_INITIAL_VALUE NULL
382 #ifndef TARGET_INIT_LIBFUNCS
383 #define TARGET_INIT_LIBFUNCS hook_void_void
386 #ifndef TARGET_IN_SMALL_DATA_P
387 #define TARGET_IN_SMALL_DATA_P hook_bool_tree_false
390 #ifndef TARGET_ENCODE_SECTION_INFO
391 #define TARGET_ENCODE_SECTION_INFO default_encode_section_info
394 #ifndef TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN
395 #define TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN hook_invalid_arg_for_unprototyped_fn
398 #define TARGET_INVALID_CONVERSION hook_constcharptr_tree_tree_null
399 #define TARGET_INVALID_UNARY_OP hook_constcharptr_int_tree_null
400 #define TARGET_INVALID_BINARY_OP hook_constcharptr_int_tree_tree_null
402 #define TARGET_FIXED_CONDITION_CODE_REGS hook_bool_uintp_uintp_false
404 #define TARGET_CC_MODES_COMPATIBLE default_cc_modes_compatible
406 #define TARGET_MACHINE_DEPENDENT_REORG 0
408 #define TARGET_BUILD_BUILTIN_VA_LIST std_build_builtin_va_list
410 #define TARGET_GET_PCH_VALIDITY default_get_pch_validity
411 #define TARGET_PCH_VALID_P default_pch_valid_p
412 #define TARGET_CHECK_PCH_TARGET_FLAGS NULL
414 #define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false
416 #define TARGET_BUILTIN_SETJMP_FRAME_VALUE default_builtin_setjmp_frame_value
418 #define TARGET_MD_ASM_CLOBBERS hook_tree_tree_tree_tree_3rd_identity
420 #define TARGET_DWARF_CALLING_CONVENTION hook_int_tree_0
422 #define TARGET_DWARF_HANDLE_FRAME_UNSPEC 0
424 #define TARGET_STDARG_OPTIMIZE_HOOK 0
426 #define TARGET_STACK_PROTECT_GUARD default_stack_protect_guard
427 #define TARGET_STACK_PROTECT_FAIL default_external_stack_protect_fail
429 #define TARGET_ARM_EABI_UNWINDER false
431 #define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_tree_false
432 #define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_tree_false
433 #define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_false
435 #define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
436 #define TARGET_RETURN_IN_MEMORY default_return_in_memory
437 #define TARGET_RETURN_IN_MSB hook_bool_tree_false
439 #define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs
440 #define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs
441 #define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_false
442 #define TARGET_PRETEND_OUTGOING_VARARGS_NAMED \
443 default_pretend_outgoing_varargs_named
444 #define TARGET_SPLIT_COMPLEX_ARG NULL
446 #define TARGET_GIMPLIFY_VA_ARG_EXPR std_gimplify_va_arg_expr
447 #define TARGET_PASS_BY_REFERENCE hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
449 #define TARGET_RELAXED_ORDERING false
451 #define TARGET_MUST_PASS_IN_STACK must_pass_in_stack_var_size_or_pad
452 #define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
453 #define TARGET_ARG_PARTIAL_BYTES hook_int_CUMULATIVE_ARGS_mode_tree_bool_0
455 #define TARGET_FUNCTION_VALUE default_function_value
456 #define TARGET_INTERNAL_ARG_POINTER default_internal_arg_pointer
458 #define TARGET_CALLS { \
459 TARGET_PROMOTE_FUNCTION_ARGS, \
460 TARGET_PROMOTE_FUNCTION_RETURN, \
461 TARGET_PROMOTE_PROTOTYPES, \
462 TARGET_STRUCT_VALUE_RTX, \
463 TARGET_RETURN_IN_MEMORY, \
464 TARGET_RETURN_IN_MSB, \
465 TARGET_PASS_BY_REFERENCE, \
466 TARGET_EXPAND_BUILTIN_SAVEREGS, \
467 TARGET_SETUP_INCOMING_VARARGS, \
468 TARGET_STRICT_ARGUMENT_NAMING, \
469 TARGET_PRETEND_OUTGOING_VARARGS_NAMED, \
470 TARGET_SPLIT_COMPLEX_ARG, \
471 TARGET_MUST_PASS_IN_STACK, \
472 TARGET_CALLEE_COPIES, \
473 TARGET_ARG_PARTIAL_BYTES, \
474 TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN, \
475 TARGET_FUNCTION_VALUE, \
476 TARGET_INTERNAL_ARG_POINTER \
479 #ifndef TARGET_UNWIND_TABLES_DEFAULT
480 #define TARGET_UNWIND_TABLES_DEFAULT false
483 #ifndef TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME
484 #define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME 0
487 #ifndef TARGET_HANDLE_PRAGMA_EXTERN_PREFIX
488 #define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 0
491 #ifndef TARGET_SECONDARY_RELOAD
492 #define TARGET_SECONDARY_RELOAD default_secondary_reload
497 #ifndef TARGET_CXX_GUARD_TYPE
498 #define TARGET_CXX_GUARD_TYPE default_cxx_guard_type
501 #ifndef TARGET_CXX_GUARD_MASK_BIT
502 #define TARGET_CXX_GUARD_MASK_BIT hook_bool_void_false
505 #ifndef TARGET_CXX_GET_COOKIE_SIZE
506 #define TARGET_CXX_GET_COOKIE_SIZE default_cxx_get_cookie_size
509 #ifndef TARGET_CXX_COOKIE_HAS_SIZE
510 #define TARGET_CXX_COOKIE_HAS_SIZE hook_bool_void_false
513 #ifndef TARGET_CXX_IMPORT_EXPORT_CLASS
514 #define TARGET_CXX_IMPORT_EXPORT_CLASS NULL
517 #ifndef TARGET_CXX_CDTOR_RETURNS_THIS
518 #define TARGET_CXX_CDTOR_RETURNS_THIS hook_bool_void_false
521 #ifndef TARGET_CXX_KEY_METHOD_MAY_BE_INLINE
522 #define TARGET_CXX_KEY_METHOD_MAY_BE_INLINE hook_bool_void_true
525 #ifndef TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY
526 #define TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY hook_void_tree
529 #ifndef TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT
530 #define TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT hook_bool_void_true
533 #ifndef TARGET_CXX_USE_AEABI_ATEXIT
534 #define TARGET_CXX_USE_AEABI_ATEXIT hook_bool_void_false
537 #ifndef TARGET_CXX_ADJUST_CLASS_AT_DEFINITION
538 #define TARGET_CXX_ADJUST_CLASS_AT_DEFINITION hook_void_tree
543 TARGET_CXX_GUARD_TYPE, \
544 TARGET_CXX_GUARD_MASK_BIT, \
545 TARGET_CXX_GET_COOKIE_SIZE, \
546 TARGET_CXX_COOKIE_HAS_SIZE, \
547 TARGET_CXX_IMPORT_EXPORT_CLASS, \
548 TARGET_CXX_CDTOR_RETURNS_THIS, \
549 TARGET_CXX_KEY_METHOD_MAY_BE_INLINE, \
550 TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY, \
551 TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT, \
552 TARGET_CXX_USE_AEABI_ATEXIT, \
553 TARGET_CXX_ADJUST_CLASS_AT_DEFINITION \
556 /* The whole shebang. */
557 #define TARGET_INITIALIZER \
562 TARGET_DEFAULT_TARGET_FLAGS, \
563 TARGET_HANDLE_OPTION, \
564 TARGET_EH_RETURN_FILTER_MODE, \
565 TARGET_MERGE_DECL_ATTRIBUTES, \
566 TARGET_MERGE_TYPE_ATTRIBUTES, \
567 TARGET_ATTRIBUTE_TABLE, \
568 TARGET_COMP_TYPE_ATTRIBUTES, \
569 TARGET_SET_DEFAULT_TYPE_ATTRIBUTES, \
570 TARGET_INSERT_ATTRIBUTES, \
571 TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P, \
572 TARGET_MS_BITFIELD_LAYOUT_P, \
573 TARGET_DECIMAL_FLOAT_SUPPORTED_P, \
574 TARGET_ALIGN_ANON_BITFIELD, \
575 TARGET_INIT_BUILTINS, \
576 TARGET_EXPAND_BUILTIN, \
577 TARGET_RESOLVE_OVERLOADED_BUILTIN, \
578 TARGET_FOLD_BUILTIN, \
579 TARGET_MANGLE_FUNDAMENTAL_TYPE, \
580 TARGET_INIT_LIBFUNCS, \
581 TARGET_SECTION_TYPE_FLAGS, \
582 TARGET_CANNOT_MODIFY_JUMPS_P, \
583 TARGET_BRANCH_TARGET_REGISTER_CLASS, \
584 TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED, \
585 TARGET_CANNOT_FORCE_CONST_MEM, \
586 TARGET_CANNOT_COPY_INSN_P, \
587 TARGET_COMMUTATIVE_P, \
588 TARGET_DELEGITIMIZE_ADDRESS, \
589 TARGET_FUNCTION_OK_FOR_SIBCALL, \
590 TARGET_IN_SMALL_DATA_P, \
591 TARGET_BINDS_LOCAL_P, \
592 TARGET_ENCODE_SECTION_INFO, \
593 TARGET_STRIP_NAME_ENCODING, \
594 TARGET_SHIFT_TRUNCATION_MASK, \
595 TARGET_MIN_DIVISIONS_FOR_RECIP_MUL, \
596 TARGET_VALID_POINTER_MODE, \
597 TARGET_SCALAR_MODE_SUPPORTED_P, \
598 TARGET_VECTOR_MODE_SUPPORTED_P, \
599 TARGET_VECTOR_OPAQUE_P, \
601 TARGET_ADDRESS_COST, \
602 TARGET_ALLOCATE_INITIAL_VALUE, \
603 TARGET_DWARF_REGISTER_SPAN, \
604 TARGET_FIXED_CONDITION_CODE_REGS, \
605 TARGET_CC_MODES_COMPATIBLE, \
606 TARGET_MACHINE_DEPENDENT_REORG, \
607 TARGET_BUILD_BUILTIN_VA_LIST, \
608 TARGET_GIMPLIFY_VA_ARG_EXPR, \
609 TARGET_GET_PCH_VALIDITY, \
610 TARGET_PCH_VALID_P, \
611 TARGET_CHECK_PCH_TARGET_FLAGS, \
612 TARGET_DEFAULT_SHORT_ENUMS, \
613 TARGET_BUILTIN_SETJMP_FRAME_VALUE, \
614 TARGET_MD_ASM_CLOBBERS, \
615 TARGET_DWARF_CALLING_CONVENTION, \
616 TARGET_DWARF_HANDLE_FRAME_UNSPEC, \
617 TARGET_STDARG_OPTIMIZE_HOOK, \
618 TARGET_STACK_PROTECT_GUARD, \
619 TARGET_STACK_PROTECT_FAIL, \
620 TARGET_INVALID_WITHIN_DOLOOP, \
621 TARGET_VALID_DLLIMPORT_ATTRIBUTE_P, \
623 TARGET_INVALID_CONVERSION, \
624 TARGET_INVALID_UNARY_OP, \
625 TARGET_INVALID_BINARY_OP, \
626 TARGET_SECONDARY_RELOAD, \
628 TARGET_UNWIND_TABLES_DEFAULT, \
629 TARGET_HAVE_NAMED_SECTIONS, \
630 TARGET_HAVE_CTORS_DTORS, \
632 TARGET_HAVE_SRODATA_SECTION, \
633 TARGET_TERMINATE_DW2_EH_FRAME_INFO, \
634 TARGET_ASM_FILE_START_APP_OFF, \
635 TARGET_ASM_FILE_START_FILE_DIRECTIVE, \
636 TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME, \
637 TARGET_HANDLE_PRAGMA_EXTERN_PREFIX, \
638 TARGET_RELAXED_ORDERING, \
639 TARGET_ARM_EABI_UNWINDER \
643 #include "targhooks.h"