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_UNWIND_EMIT
66 #define TARGET_UNWIND_EMIT default_unwind_emit
69 #ifndef TARGET_ASM_INTERNAL_LABEL
70 #define TARGET_ASM_INTERNAL_LABEL default_internal_label
73 #ifndef TARGET_ARM_TTYPE
74 #define TARGET_ASM_TTYPE hook_bool_rtx_false
77 #ifndef TARGET_ASM_ASSEMBLE_VISIBILITY
78 #define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility
81 #define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue
82 #define TARGET_ASM_FUNCTION_EPILOGUE default_function_pro_epilogue
83 #define TARGET_ASM_FUNCTION_END_PROLOGUE no_asm_to_stream
84 #define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE no_asm_to_stream
86 #ifndef TARGET_ASM_SELECT_SECTION
87 #define TARGET_ASM_SELECT_SECTION default_select_section
90 #ifndef TARGET_ASM_UNIQUE_SECTION
91 #define TARGET_ASM_UNIQUE_SECTION default_unique_section
94 #ifndef TARGET_ASM_FUNCTION_RODATA_SECTION
95 #define TARGET_ASM_FUNCTION_RODATA_SECTION default_function_rodata_section
98 #ifndef TARGET_ASM_SELECT_RTX_SECTION
99 #define TARGET_ASM_SELECT_RTX_SECTION default_select_rtx_section
102 #if !defined(TARGET_ASM_CONSTRUCTOR) && !defined(USE_COLLECT2)
103 # ifdef CTORS_SECTION_ASM_OP
104 # define TARGET_ASM_CONSTRUCTOR default_ctor_section_asm_out_constructor
106 # ifdef TARGET_ASM_NAMED_SECTION
107 # define TARGET_ASM_CONSTRUCTOR default_named_section_asm_out_constructor
109 # define TARGET_ASM_CONSTRUCTOR default_stabs_asm_out_constructor
114 #if !defined(TARGET_ASM_DESTRUCTOR) && !defined(USE_COLLECT2)
115 # ifdef DTORS_SECTION_ASM_OP
116 # define TARGET_ASM_DESTRUCTOR default_dtor_section_asm_out_destructor
118 # ifdef TARGET_ASM_NAMED_SECTION
119 # define TARGET_ASM_DESTRUCTOR default_named_section_asm_out_destructor
121 # define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor
126 #define TARGET_ASM_OUTPUT_MI_THUNK NULL
127 #define TARGET_ASM_CAN_OUTPUT_MI_THUNK hook_bool_tree_hwi_hwi_tree_false
129 #if !defined(TARGET_HAVE_CTORS_DTORS)
130 # if defined(TARGET_ASM_CONSTRUCTOR) && defined(TARGET_ASM_DESTRUCTOR)
131 # define TARGET_HAVE_CTORS_DTORS true
133 # define TARGET_HAVE_CTORS_DTORS false
134 # define TARGET_ASM_CONSTRUCTOR NULL
135 # define TARGET_ASM_DESTRUCTOR NULL
139 #ifdef TARGET_ASM_NAMED_SECTION
140 #define TARGET_HAVE_NAMED_SECTIONS true
142 #define TARGET_ASM_NAMED_SECTION default_no_named_section
143 #define TARGET_HAVE_NAMED_SECTIONS false
146 #ifndef TARGET_INVALID_WITHIN_DOLOOP
147 #define TARGET_INVALID_WITHIN_DOLOOP default_invalid_within_doloop
150 #ifndef TARGET_HAVE_TLS
151 #define TARGET_HAVE_TLS false
154 #ifndef TARGET_HAVE_SRODATA_SECTION
155 #define TARGET_HAVE_SRODATA_SECTION false
158 #ifndef TARGET_TERMINATE_DW2_EH_FRAME_INFO
159 #ifdef EH_FRAME_SECTION_NAME
160 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO false
162 #define TARGET_TERMINATE_DW2_EH_FRAME_INFO true
166 #define TARGET_DWARF_REGISTER_SPAN hook_rtx_rtx_null
168 #ifndef TARGET_ASM_EXCEPTION_SECTION
169 #define TARGET_ASM_EXCEPTION_SECTION default_exception_section
172 #ifndef TARGET_ASM_EH_FRAME_SECTION
173 #define TARGET_ASM_EH_FRAME_SECTION default_eh_frame_section
176 #ifndef TARGET_ASM_FILE_START
177 #define TARGET_ASM_FILE_START default_file_start
180 #ifndef TARGET_ASM_FILE_END
181 #define TARGET_ASM_FILE_END hook_void_void
184 #ifndef TARGET_ASM_FILE_START_APP_OFF
185 #define TARGET_ASM_FILE_START_APP_OFF false
188 #ifndef TARGET_ASM_FILE_START_FILE_DIRECTIVE
189 #define TARGET_ASM_FILE_START_FILE_DIRECTIVE false
192 #ifndef TARGET_ASM_EXTERNAL_LIBCALL
193 #define TARGET_ASM_EXTERNAL_LIBCALL default_external_libcall
196 #ifndef TARGET_ASM_MARK_DECL_PRESERVED
197 #define TARGET_ASM_MARK_DECL_PRESERVED hook_void_constcharptr
200 #ifndef TARGET_ASM_OUTPUT_DWARF_DTPREL
201 #define TARGET_ASM_OUTPUT_DWARF_DTPREL NULL
204 #define TARGET_ASM_ALIGNED_INT_OP \
205 {TARGET_ASM_ALIGNED_HI_OP, \
206 TARGET_ASM_ALIGNED_SI_OP, \
207 TARGET_ASM_ALIGNED_DI_OP, \
208 TARGET_ASM_ALIGNED_TI_OP}
210 #define TARGET_ASM_UNALIGNED_INT_OP \
211 {TARGET_ASM_UNALIGNED_HI_OP, \
212 TARGET_ASM_UNALIGNED_SI_OP, \
213 TARGET_ASM_UNALIGNED_DI_OP, \
214 TARGET_ASM_UNALIGNED_TI_OP}
216 #define TARGET_ASM_OUT {TARGET_ASM_OPEN_PAREN, \
217 TARGET_ASM_CLOSE_PAREN, \
218 TARGET_ASM_BYTE_OP, \
219 TARGET_ASM_ALIGNED_INT_OP, \
220 TARGET_ASM_UNALIGNED_INT_OP, \
221 TARGET_ASM_INTEGER, \
222 TARGET_ASM_GLOBALIZE_LABEL, \
223 TARGET_ASM_EMIT_UNWIND_LABEL, \
224 TARGET_UNWIND_EMIT, \
225 TARGET_ASM_INTERNAL_LABEL, \
227 TARGET_ASM_ASSEMBLE_VISIBILITY, \
228 TARGET_ASM_FUNCTION_PROLOGUE, \
229 TARGET_ASM_FUNCTION_END_PROLOGUE, \
230 TARGET_ASM_FUNCTION_BEGIN_EPILOGUE, \
231 TARGET_ASM_FUNCTION_EPILOGUE, \
232 TARGET_ASM_NAMED_SECTION, \
233 TARGET_ASM_EXCEPTION_SECTION, \
234 TARGET_ASM_EH_FRAME_SECTION, \
235 TARGET_ASM_SELECT_SECTION, \
236 TARGET_ASM_SELECT_RTX_SECTION, \
237 TARGET_ASM_UNIQUE_SECTION, \
238 TARGET_ASM_FUNCTION_RODATA_SECTION, \
239 TARGET_ASM_CONSTRUCTOR, \
240 TARGET_ASM_DESTRUCTOR, \
241 TARGET_ASM_OUTPUT_MI_THUNK, \
242 TARGET_ASM_CAN_OUTPUT_MI_THUNK, \
243 TARGET_ASM_FILE_START, \
244 TARGET_ASM_FILE_END, \
245 TARGET_ASM_EXTERNAL_LIBCALL, \
246 TARGET_ASM_MARK_DECL_PRESERVED, \
247 TARGET_ASM_OUTPUT_DWARF_DTPREL}
249 /* Scheduler hooks. All of these default to null pointers, which
250 haifa-sched.c looks for and handles. */
251 #define TARGET_SCHED_ADJUST_COST 0
252 #define TARGET_SCHED_ADJUST_PRIORITY 0
253 #define TARGET_SCHED_ISSUE_RATE 0
254 #define TARGET_SCHED_VARIABLE_ISSUE 0
255 #define TARGET_SCHED_INIT 0
256 #define TARGET_SCHED_FINISH 0
257 #define TARGET_SCHED_INIT_GLOBAL 0
258 #define TARGET_SCHED_FINISH_GLOBAL 0
259 #define TARGET_SCHED_REORDER 0
260 #define TARGET_SCHED_REORDER2 0
261 #define TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK 0
262 #define TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN 0
263 #define TARGET_SCHED_DFA_PRE_CYCLE_INSN 0
264 #define TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN 0
265 #define TARGET_SCHED_DFA_POST_CYCLE_INSN 0
266 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD 0
267 #define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD 0
268 #define TARGET_SCHED_DFA_NEW_CYCLE 0
269 #define TARGET_SCHED_IS_COSTLY_DEPENDENCE 0
271 #define TARGET_SCHED \
272 {TARGET_SCHED_ADJUST_COST, \
273 TARGET_SCHED_ADJUST_PRIORITY, \
274 TARGET_SCHED_ISSUE_RATE, \
275 TARGET_SCHED_VARIABLE_ISSUE, \
277 TARGET_SCHED_FINISH, \
278 TARGET_SCHED_INIT_GLOBAL, \
279 TARGET_SCHED_FINISH_GLOBAL, \
280 TARGET_SCHED_REORDER, \
281 TARGET_SCHED_REORDER2, \
282 TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK, \
283 TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN, \
284 TARGET_SCHED_DFA_PRE_CYCLE_INSN, \
285 TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN, \
286 TARGET_SCHED_DFA_POST_CYCLE_INSN, \
287 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD, \
288 TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD, \
289 TARGET_SCHED_DFA_NEW_CYCLE, \
290 TARGET_SCHED_IS_COSTLY_DEPENDENCE}
292 #define TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD 0
294 #define TARGET_VECTORIZE \
295 {TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD}
297 #define TARGET_DEFAULT_TARGET_FLAGS 0
299 #define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true
302 #define TARGET_EH_RETURN_FILTER_MODE default_eh_return_filter_mode
305 #define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
306 #define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
307 #define TARGET_ATTRIBUTE_TABLE NULL
310 #define TARGET_ADDRESS_COST default_address_cost
313 #define TARGET_INIT_BUILTINS hook_void_void
314 #define TARGET_EXPAND_BUILTIN default_expand_builtin
315 #define TARGET_RESOLVE_OVERLOADED_BUILTIN NULL
316 #define TARGET_FOLD_BUILTIN hook_tree_tree_tree_bool_null
319 #ifndef TARGET_SECTION_TYPE_FLAGS
320 #define TARGET_SECTION_TYPE_FLAGS default_section_type_flags
323 #ifndef TARGET_STRIP_NAME_ENCODING
324 #define TARGET_STRIP_NAME_ENCODING default_strip_name_encoding
327 #ifndef TARGET_BINDS_LOCAL_P
328 #define TARGET_BINDS_LOCAL_P default_binds_local_p
331 #ifndef TARGET_SHIFT_TRUNCATION_MASK
332 #define TARGET_SHIFT_TRUNCATION_MASK default_shift_truncation_mask
335 #ifndef TARGET_VALID_POINTER_MODE
336 #define TARGET_VALID_POINTER_MODE default_valid_pointer_mode
339 #ifndef TARGET_SCALAR_MODE_SUPPORTED_P
340 #define TARGET_SCALAR_MODE_SUPPORTED_P default_scalar_mode_supported_p
343 #ifndef TARGET_VECTOR_MODE_SUPPORTED_P
344 #define TARGET_VECTOR_MODE_SUPPORTED_P hook_bool_mode_false
347 #ifndef TARGET_VECTOR_OPAQUE_P
348 #define TARGET_VECTOR_OPAQUE_P hook_bool_tree_false
352 #define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false
353 #define TARGET_BRANCH_TARGET_REGISTER_CLASS hook_int_void_no_regs
354 #define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false
355 #define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false
356 #define TARGET_CANNOT_COPY_INSN_P NULL
357 #define TARGET_COMMUTATIVE_P hook_bool_rtx_commutative_p
358 #define TARGET_DELEGITIMIZE_ADDRESS hook_rtx_rtx_identity
359 #define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false
360 #define TARGET_COMP_TYPE_ATTRIBUTES hook_int_tree_tree_1
361 #define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES hook_void_tree
362 #define TARGET_INSERT_ATTRIBUTES hook_void_tree_treeptr
363 #define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_tree_false
364 #define TARGET_MS_BITFIELD_LAYOUT_P hook_bool_tree_false
365 #define TARGET_ALIGN_ANON_BITFIELD hook_bool_void_false
366 #define TARGET_RTX_COSTS hook_bool_rtx_int_int_intp_false
367 #define TARGET_MANGLE_FUNDAMENTAL_TYPE hook_constcharptr_tree_null
368 #define TARGET_ALLOCATE_INITIAL_VALUE NULL
370 #ifndef TARGET_INIT_LIBFUNCS
371 #define TARGET_INIT_LIBFUNCS hook_void_void
374 #ifndef TARGET_IN_SMALL_DATA_P
375 #define TARGET_IN_SMALL_DATA_P hook_bool_tree_false
378 #ifndef TARGET_ENCODE_SECTION_INFO
379 #define TARGET_ENCODE_SECTION_INFO default_encode_section_info
382 #ifndef TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN
383 #define TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN hook_invalid_arg_for_unprototyped_fn
386 #define TARGET_INVALID_CONVERSION hook_constcharptr_tree_tree_null
387 #define TARGET_INVALID_UNARY_OP hook_constcharptr_int_tree_null
388 #define TARGET_INVALID_BINARY_OP hook_constcharptr_int_tree_tree_null
390 #define TARGET_FIXED_CONDITION_CODE_REGS hook_bool_uintp_uintp_false
392 #define TARGET_CC_MODES_COMPATIBLE default_cc_modes_compatible
394 #define TARGET_MACHINE_DEPENDENT_REORG 0
396 #define TARGET_BUILD_BUILTIN_VA_LIST std_build_builtin_va_list
398 #define TARGET_GET_PCH_VALIDITY default_get_pch_validity
399 #define TARGET_PCH_VALID_P default_pch_valid_p
400 #define TARGET_CHECK_PCH_TARGET_FLAGS NULL
402 #define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false
404 #define TARGET_BUILTIN_SETJMP_FRAME_VALUE default_builtin_setjmp_frame_value
406 #define TARGET_MD_ASM_CLOBBERS hook_tree_tree_tree_tree_3rd_identity
408 #define TARGET_DWARF_CALLING_CONVENTION hook_int_tree_0
410 #define TARGET_DWARF_HANDLE_FRAME_UNSPEC 0
412 #define TARGET_STDARG_OPTIMIZE_HOOK 0
414 #define TARGET_STACK_PROTECT_GUARD default_stack_protect_guard
415 #define TARGET_STACK_PROTECT_FAIL default_external_stack_protect_fail
417 #define TARGET_ARM_EABI_UNWINDER false
419 #define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_tree_false
420 #define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_tree_false
421 #define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_false
423 #define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
424 #define TARGET_RETURN_IN_MEMORY default_return_in_memory
425 #define TARGET_RETURN_IN_MSB hook_bool_tree_false
427 #define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs
428 #define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs
429 #define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_false
430 #define TARGET_PRETEND_OUTGOING_VARARGS_NAMED \
431 default_pretend_outgoing_varargs_named
432 #define TARGET_SPLIT_COMPLEX_ARG NULL
434 #define TARGET_GIMPLIFY_VA_ARG_EXPR std_gimplify_va_arg_expr
435 #define TARGET_PASS_BY_REFERENCE hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
437 #define TARGET_RELAXED_ORDERING false
439 #define TARGET_MUST_PASS_IN_STACK must_pass_in_stack_var_size_or_pad
440 #define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
441 #define TARGET_ARG_PARTIAL_BYTES hook_int_CUMULATIVE_ARGS_mode_tree_bool_0
443 #define TARGET_FUNCTION_VALUE default_function_value
445 #define TARGET_CALLS { \
446 TARGET_PROMOTE_FUNCTION_ARGS, \
447 TARGET_PROMOTE_FUNCTION_RETURN, \
448 TARGET_PROMOTE_PROTOTYPES, \
449 TARGET_STRUCT_VALUE_RTX, \
450 TARGET_RETURN_IN_MEMORY, \
451 TARGET_RETURN_IN_MSB, \
452 TARGET_PASS_BY_REFERENCE, \
453 TARGET_EXPAND_BUILTIN_SAVEREGS, \
454 TARGET_SETUP_INCOMING_VARARGS, \
455 TARGET_STRICT_ARGUMENT_NAMING, \
456 TARGET_PRETEND_OUTGOING_VARARGS_NAMED, \
457 TARGET_SPLIT_COMPLEX_ARG, \
458 TARGET_MUST_PASS_IN_STACK, \
459 TARGET_CALLEE_COPIES, \
460 TARGET_ARG_PARTIAL_BYTES, \
461 TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN, \
462 TARGET_FUNCTION_VALUE \
465 #ifndef TARGET_UNWIND_TABLES_DEFAULT
466 #define TARGET_UNWIND_TABLES_DEFAULT false
469 #ifndef TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME
470 #define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME 0
473 #ifndef TARGET_HANDLE_PRAGMA_EXTERN_PREFIX
474 #define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 0
479 #ifndef TARGET_CXX_GUARD_TYPE
480 #define TARGET_CXX_GUARD_TYPE default_cxx_guard_type
483 #ifndef TARGET_CXX_GUARD_MASK_BIT
484 #define TARGET_CXX_GUARD_MASK_BIT hook_bool_void_false
487 #ifndef TARGET_CXX_GET_COOKIE_SIZE
488 #define TARGET_CXX_GET_COOKIE_SIZE default_cxx_get_cookie_size
491 #ifndef TARGET_CXX_COOKIE_HAS_SIZE
492 #define TARGET_CXX_COOKIE_HAS_SIZE hook_bool_void_false
495 #ifndef TARGET_CXX_IMPORT_EXPORT_CLASS
496 #define TARGET_CXX_IMPORT_EXPORT_CLASS NULL
499 #ifndef TARGET_CXX_CDTOR_RETURNS_THIS
500 #define TARGET_CXX_CDTOR_RETURNS_THIS hook_bool_void_false
503 #ifndef TARGET_CXX_KEY_METHOD_MAY_BE_INLINE
504 #define TARGET_CXX_KEY_METHOD_MAY_BE_INLINE hook_bool_void_true
507 #ifndef TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY
508 #define TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY hook_void_tree
511 #ifndef TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT
512 #define TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT hook_bool_void_true
515 #ifndef TARGET_CXX_USE_AEABI_ATEXIT
516 #define TARGET_CXX_USE_AEABI_ATEXIT hook_bool_void_false
521 TARGET_CXX_GUARD_TYPE, \
522 TARGET_CXX_GUARD_MASK_BIT, \
523 TARGET_CXX_GET_COOKIE_SIZE, \
524 TARGET_CXX_COOKIE_HAS_SIZE, \
525 TARGET_CXX_IMPORT_EXPORT_CLASS, \
526 TARGET_CXX_CDTOR_RETURNS_THIS, \
527 TARGET_CXX_KEY_METHOD_MAY_BE_INLINE, \
528 TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY, \
529 TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT, \
530 TARGET_CXX_USE_AEABI_ATEXIT, \
533 /* The whole shebang. */
534 #define TARGET_INITIALIZER \
539 TARGET_DEFAULT_TARGET_FLAGS, \
540 TARGET_HANDLE_OPTION, \
541 TARGET_EH_RETURN_FILTER_MODE, \
542 TARGET_MERGE_DECL_ATTRIBUTES, \
543 TARGET_MERGE_TYPE_ATTRIBUTES, \
544 TARGET_ATTRIBUTE_TABLE, \
545 TARGET_COMP_TYPE_ATTRIBUTES, \
546 TARGET_SET_DEFAULT_TYPE_ATTRIBUTES, \
547 TARGET_INSERT_ATTRIBUTES, \
548 TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P, \
549 TARGET_MS_BITFIELD_LAYOUT_P, \
550 TARGET_ALIGN_ANON_BITFIELD, \
551 TARGET_INIT_BUILTINS, \
552 TARGET_EXPAND_BUILTIN, \
553 TARGET_RESOLVE_OVERLOADED_BUILTIN, \
554 TARGET_FOLD_BUILTIN, \
555 TARGET_MANGLE_FUNDAMENTAL_TYPE, \
556 TARGET_INIT_LIBFUNCS, \
557 TARGET_SECTION_TYPE_FLAGS, \
558 TARGET_CANNOT_MODIFY_JUMPS_P, \
559 TARGET_BRANCH_TARGET_REGISTER_CLASS, \
560 TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED, \
561 TARGET_CANNOT_FORCE_CONST_MEM, \
562 TARGET_CANNOT_COPY_INSN_P, \
563 TARGET_COMMUTATIVE_P, \
564 TARGET_DELEGITIMIZE_ADDRESS, \
565 TARGET_FUNCTION_OK_FOR_SIBCALL, \
566 TARGET_IN_SMALL_DATA_P, \
567 TARGET_BINDS_LOCAL_P, \
568 TARGET_ENCODE_SECTION_INFO, \
569 TARGET_STRIP_NAME_ENCODING, \
570 TARGET_SHIFT_TRUNCATION_MASK, \
571 TARGET_VALID_POINTER_MODE, \
572 TARGET_SCALAR_MODE_SUPPORTED_P, \
573 TARGET_VECTOR_MODE_SUPPORTED_P, \
574 TARGET_VECTOR_OPAQUE_P, \
576 TARGET_ADDRESS_COST, \
577 TARGET_ALLOCATE_INITIAL_VALUE, \
578 TARGET_DWARF_REGISTER_SPAN, \
579 TARGET_FIXED_CONDITION_CODE_REGS, \
580 TARGET_CC_MODES_COMPATIBLE, \
581 TARGET_MACHINE_DEPENDENT_REORG, \
582 TARGET_BUILD_BUILTIN_VA_LIST, \
583 TARGET_GIMPLIFY_VA_ARG_EXPR, \
584 TARGET_GET_PCH_VALIDITY, \
585 TARGET_PCH_VALID_P, \
586 TARGET_CHECK_PCH_TARGET_FLAGS, \
587 TARGET_DEFAULT_SHORT_ENUMS, \
588 TARGET_BUILTIN_SETJMP_FRAME_VALUE, \
589 TARGET_MD_ASM_CLOBBERS, \
590 TARGET_DWARF_CALLING_CONVENTION, \
591 TARGET_DWARF_HANDLE_FRAME_UNSPEC, \
592 TARGET_STDARG_OPTIMIZE_HOOK, \
593 TARGET_STACK_PROTECT_GUARD, \
594 TARGET_STACK_PROTECT_FAIL, \
595 TARGET_INVALID_WITHIN_DOLOOP, \
597 TARGET_INVALID_CONVERSION, \
598 TARGET_INVALID_UNARY_OP, \
599 TARGET_INVALID_BINARY_OP, \
601 TARGET_UNWIND_TABLES_DEFAULT, \
602 TARGET_HAVE_NAMED_SECTIONS, \
603 TARGET_HAVE_CTORS_DTORS, \
605 TARGET_HAVE_SRODATA_SECTION, \
606 TARGET_TERMINATE_DW2_EH_FRAME_INFO, \
607 TARGET_ASM_FILE_START_APP_OFF, \
608 TARGET_ASM_FILE_START_FILE_DIRECTIVE, \
609 TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME, \
610 TARGET_HANDLE_PRAGMA_EXTERN_PREFIX, \
611 TARGET_RELAXED_ORDERING, \
612 TARGET_ARM_EABI_UNWINDER \
616 #include "targhooks.h"