OpenCores
URL https://opencores.org/ocsvn/scarts/scarts/trunk

Subversion Repositories scarts

[/] [scarts/] [trunk/] [toolchain/] [scarts-gcc/] [gcc-4.1.1/] [gcc/] [target-def.h] - Blame information for rev 16

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 12 jlechner
/* Default initializers for a generic GCC target.
2
   Copyright (C) 2001, 2002, 2003, 2004, 2005 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, 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, 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 description 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
/* 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.  */
31
 
32
/* Assembler output.  */
33
#define TARGET_ASM_OPEN_PAREN "("
34
#define TARGET_ASM_CLOSE_PAREN ")"
35
#define TARGET_ASM_BYTE_OP "\t.byte\t"
36
 
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
41
 
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
48
#else
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 */
54
 
55
#define TARGET_ASM_INTEGER default_assemble_integer
56
 
57
#ifndef TARGET_ASM_GLOBALIZE_LABEL
58
#define TARGET_ASM_GLOBALIZE_LABEL default_globalize_label
59
#endif
60
 
61
#ifndef TARGET_ASM_EMIT_UNWIND_LABEL
62
#define TARGET_ASM_EMIT_UNWIND_LABEL default_emit_unwind_label
63
#endif
64
 
65
#ifndef TARGET_UNWIND_EMIT
66
#define TARGET_UNWIND_EMIT default_unwind_emit
67
#endif
68
 
69
#ifndef TARGET_ASM_INTERNAL_LABEL
70
#define TARGET_ASM_INTERNAL_LABEL default_internal_label
71
#endif
72
 
73
#ifndef TARGET_ARM_TTYPE
74
#define TARGET_ASM_TTYPE hook_bool_rtx_false
75
#endif
76
 
77
#ifndef TARGET_ASM_ASSEMBLE_VISIBILITY
78
#define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility
79
#endif
80
 
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
85
 
86
#ifndef TARGET_ASM_SELECT_SECTION
87
#define TARGET_ASM_SELECT_SECTION default_select_section
88
#endif
89
 
90
#ifndef TARGET_ASM_UNIQUE_SECTION
91
#define TARGET_ASM_UNIQUE_SECTION default_unique_section
92
#endif
93
 
94
#ifndef TARGET_ASM_FUNCTION_RODATA_SECTION
95
#define TARGET_ASM_FUNCTION_RODATA_SECTION default_function_rodata_section
96
#endif
97
 
98
#ifndef TARGET_ASM_SELECT_RTX_SECTION
99
#define TARGET_ASM_SELECT_RTX_SECTION default_select_rtx_section
100
#endif
101
 
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
105
# else
106
#  ifdef TARGET_ASM_NAMED_SECTION
107
#   define TARGET_ASM_CONSTRUCTOR default_named_section_asm_out_constructor
108
#  else
109
#   define TARGET_ASM_CONSTRUCTOR default_stabs_asm_out_constructor
110
#  endif
111
# endif
112
#endif
113
 
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
117
# else
118
#  ifdef TARGET_ASM_NAMED_SECTION
119
#   define TARGET_ASM_DESTRUCTOR default_named_section_asm_out_destructor
120
#  else
121
#   define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor
122
#  endif
123
# endif
124
#endif
125
 
126
#define TARGET_ASM_OUTPUT_MI_THUNK NULL
127
#define TARGET_ASM_CAN_OUTPUT_MI_THUNK hook_bool_tree_hwi_hwi_tree_false
128
 
129
#if !defined(TARGET_HAVE_CTORS_DTORS)
130
# if defined(TARGET_ASM_CONSTRUCTOR) && defined(TARGET_ASM_DESTRUCTOR)
131
# define TARGET_HAVE_CTORS_DTORS true
132
# else
133
# define TARGET_HAVE_CTORS_DTORS false
134
# define TARGET_ASM_CONSTRUCTOR NULL
135
# define TARGET_ASM_DESTRUCTOR NULL
136
# endif
137
#endif
138
 
139
#ifdef TARGET_ASM_NAMED_SECTION
140
#define TARGET_HAVE_NAMED_SECTIONS true
141
#else
142
#define TARGET_ASM_NAMED_SECTION default_no_named_section
143
#define TARGET_HAVE_NAMED_SECTIONS false
144
#endif
145
 
146
#ifndef TARGET_INVALID_WITHIN_DOLOOP
147
#define TARGET_INVALID_WITHIN_DOLOOP default_invalid_within_doloop
148
#endif
149
 
150
#ifndef TARGET_VALID_DLLIMPORT_ATTRIBUTE_P
151
#define TARGET_VALID_DLLIMPORT_ATTRIBUTE_P hook_bool_tree_true
152
#endif
153
 
154
#ifndef TARGET_HAVE_TLS
155
#define TARGET_HAVE_TLS false
156
#endif
157
 
158
#ifndef TARGET_HAVE_SRODATA_SECTION
159
#define TARGET_HAVE_SRODATA_SECTION false
160
#endif
161
 
162
#ifndef TARGET_TERMINATE_DW2_EH_FRAME_INFO
163
#ifdef EH_FRAME_SECTION_NAME
164
#define TARGET_TERMINATE_DW2_EH_FRAME_INFO false
165
#else
166
#define TARGET_TERMINATE_DW2_EH_FRAME_INFO true
167
#endif
168
#endif
169
 
170
#define TARGET_DWARF_REGISTER_SPAN hook_rtx_rtx_null
171
 
172
#ifndef TARGET_ASM_EXCEPTION_SECTION
173
#define TARGET_ASM_EXCEPTION_SECTION default_exception_section
174
#endif
175
 
176
#ifndef TARGET_ASM_EH_FRAME_SECTION
177
#define TARGET_ASM_EH_FRAME_SECTION default_eh_frame_section
178
#endif
179
 
180
#ifndef TARGET_ASM_FILE_START
181
#define TARGET_ASM_FILE_START default_file_start
182
#endif
183
 
184
#ifndef TARGET_ASM_FILE_END
185
#define TARGET_ASM_FILE_END hook_void_void
186
#endif
187
 
188
#ifndef TARGET_ASM_FILE_START_APP_OFF
189
#define TARGET_ASM_FILE_START_APP_OFF false
190
#endif
191
 
192
#ifndef TARGET_ASM_FILE_START_FILE_DIRECTIVE
193
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE false
194
#endif
195
 
196
#ifndef TARGET_ASM_EXTERNAL_LIBCALL
197
#define TARGET_ASM_EXTERNAL_LIBCALL default_external_libcall
198
#endif
199
 
200
#ifndef TARGET_ASM_MARK_DECL_PRESERVED
201
#define TARGET_ASM_MARK_DECL_PRESERVED hook_void_constcharptr
202
#endif
203
 
204
#ifndef TARGET_ASM_OUTPUT_DWARF_DTPREL
205
#define TARGET_ASM_OUTPUT_DWARF_DTPREL NULL
206
#endif
207
 
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}
213
 
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}
219
 
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_UNWIND_EMIT,                     \
229
                        TARGET_ASM_INTERNAL_LABEL,              \
230
                        TARGET_ASM_TTYPE,                       \
231
                        TARGET_ASM_ASSEMBLE_VISIBILITY,         \
232
                        TARGET_ASM_FUNCTION_PROLOGUE,           \
233
                        TARGET_ASM_FUNCTION_END_PROLOGUE,       \
234
                        TARGET_ASM_FUNCTION_BEGIN_EPILOGUE,     \
235
                        TARGET_ASM_FUNCTION_EPILOGUE,           \
236
                        TARGET_ASM_NAMED_SECTION,               \
237
                        TARGET_ASM_EXCEPTION_SECTION,           \
238
                        TARGET_ASM_EH_FRAME_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}
252
 
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
274
 
275
#define TARGET_SCHED                                            \
276
  {TARGET_SCHED_ADJUST_COST,                                    \
277
   TARGET_SCHED_ADJUST_PRIORITY,                                \
278
   TARGET_SCHED_ISSUE_RATE,                                     \
279
   TARGET_SCHED_VARIABLE_ISSUE,                                 \
280
   TARGET_SCHED_INIT,                                           \
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}
295
 
296
#define TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD 0
297
 
298
#define TARGET_VECTORIZE                                                \
299
  {TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD}
300
 
301
#define TARGET_DEFAULT_TARGET_FLAGS 0
302
 
303
#define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true
304
 
305
/* In except.c */
306
#define TARGET_EH_RETURN_FILTER_MODE  default_eh_return_filter_mode
307
 
308
/* In tree.c.  */
309
#define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
310
#define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
311
#define TARGET_ATTRIBUTE_TABLE NULL
312
 
313
/* In cse.c.  */
314
#define TARGET_ADDRESS_COST default_address_cost
315
 
316
/* In builtins.c.  */
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
321
 
322
/* In varasm.c.  */
323
#ifndef TARGET_SECTION_TYPE_FLAGS
324
#define TARGET_SECTION_TYPE_FLAGS default_section_type_flags
325
#endif
326
 
327
#ifndef TARGET_STRIP_NAME_ENCODING
328
#define TARGET_STRIP_NAME_ENCODING default_strip_name_encoding
329
#endif
330
 
331
#ifndef TARGET_BINDS_LOCAL_P
332
#define TARGET_BINDS_LOCAL_P default_binds_local_p
333
#endif
334
 
335
#ifndef TARGET_SHIFT_TRUNCATION_MASK
336
#define TARGET_SHIFT_TRUNCATION_MASK default_shift_truncation_mask
337
#endif
338
 
339
#ifndef TARGET_MIN_DIVISIONS_FOR_RECIP_MUL
340
#define TARGET_MIN_DIVISIONS_FOR_RECIP_MUL default_min_divisions_for_recip_mul
341
#endif
342
 
343
#ifndef TARGET_VALID_POINTER_MODE
344
#define TARGET_VALID_POINTER_MODE default_valid_pointer_mode
345
#endif
346
 
347
#ifndef TARGET_SCALAR_MODE_SUPPORTED_P
348
#define TARGET_SCALAR_MODE_SUPPORTED_P default_scalar_mode_supported_p
349
#endif
350
 
351
#ifndef TARGET_VECTOR_MODE_SUPPORTED_P
352
#define TARGET_VECTOR_MODE_SUPPORTED_P hook_bool_mode_false
353
#endif
354
 
355
#ifndef TARGET_VECTOR_OPAQUE_P
356
#define TARGET_VECTOR_OPAQUE_P hook_bool_tree_false
357
#endif
358
 
359
/* In hooks.c.  */
360
#define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false
361
#define TARGET_BRANCH_TARGET_REGISTER_CLASS hook_int_void_no_regs
362
#define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false
363
#define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false
364
#define TARGET_CANNOT_COPY_INSN_P NULL
365
#define TARGET_COMMUTATIVE_P hook_bool_rtx_commutative_p
366
#define TARGET_DELEGITIMIZE_ADDRESS hook_rtx_rtx_identity
367
#define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false
368
#define TARGET_COMP_TYPE_ATTRIBUTES hook_int_tree_tree_1
369
#define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES hook_void_tree
370
#define TARGET_INSERT_ATTRIBUTES hook_void_tree_treeptr
371
#define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_tree_false
372
#define TARGET_MS_BITFIELD_LAYOUT_P hook_bool_tree_false
373
#define TARGET_ALIGN_ANON_BITFIELD hook_bool_void_false
374
#define TARGET_RTX_COSTS hook_bool_rtx_int_int_intp_false
375
#define TARGET_MANGLE_FUNDAMENTAL_TYPE hook_constcharptr_tree_null
376
#define TARGET_ALLOCATE_INITIAL_VALUE NULL
377
 
378
#ifndef TARGET_INIT_LIBFUNCS
379
#define TARGET_INIT_LIBFUNCS hook_void_void
380
#endif
381
 
382
#ifndef TARGET_IN_SMALL_DATA_P
383
#define TARGET_IN_SMALL_DATA_P hook_bool_tree_false
384
#endif
385
 
386
#ifndef TARGET_ENCODE_SECTION_INFO
387
#define TARGET_ENCODE_SECTION_INFO default_encode_section_info
388
#endif
389
 
390
#ifndef TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN
391
#define TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN hook_invalid_arg_for_unprototyped_fn
392
#endif
393
 
394
#define TARGET_INVALID_CONVERSION hook_constcharptr_tree_tree_null
395
#define TARGET_INVALID_UNARY_OP hook_constcharptr_int_tree_null
396
#define TARGET_INVALID_BINARY_OP hook_constcharptr_int_tree_tree_null
397
 
398
#define TARGET_FIXED_CONDITION_CODE_REGS hook_bool_uintp_uintp_false
399
 
400
#define TARGET_CC_MODES_COMPATIBLE default_cc_modes_compatible
401
 
402
#define TARGET_MACHINE_DEPENDENT_REORG 0
403
 
404
#define TARGET_BUILD_BUILTIN_VA_LIST std_build_builtin_va_list
405
 
406
#define TARGET_GET_PCH_VALIDITY default_get_pch_validity
407
#define TARGET_PCH_VALID_P default_pch_valid_p
408
#define TARGET_CHECK_PCH_TARGET_FLAGS NULL
409
 
410
#define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false
411
 
412
#define TARGET_BUILTIN_SETJMP_FRAME_VALUE default_builtin_setjmp_frame_value
413
 
414
#define TARGET_MD_ASM_CLOBBERS hook_tree_tree_tree_tree_3rd_identity
415
 
416
#define TARGET_DWARF_CALLING_CONVENTION hook_int_tree_0
417
 
418
#define TARGET_DWARF_HANDLE_FRAME_UNSPEC 0
419
 
420
#define TARGET_STDARG_OPTIMIZE_HOOK 0
421
 
422
#define TARGET_STACK_PROTECT_GUARD  default_stack_protect_guard
423
#define TARGET_STACK_PROTECT_FAIL   default_external_stack_protect_fail
424
 
425
#define TARGET_ARM_EABI_UNWINDER false
426
 
427
#define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_tree_false
428
#define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_tree_false
429
#define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_false
430
 
431
#define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
432
#define TARGET_RETURN_IN_MEMORY default_return_in_memory
433
#define TARGET_RETURN_IN_MSB hook_bool_tree_false
434
 
435
#define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs
436
#define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs
437
#define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_false
438
#define TARGET_PRETEND_OUTGOING_VARARGS_NAMED \
439
  default_pretend_outgoing_varargs_named
440
#define TARGET_SPLIT_COMPLEX_ARG NULL
441
 
442
#define TARGET_GIMPLIFY_VA_ARG_EXPR std_gimplify_va_arg_expr
443
#define TARGET_PASS_BY_REFERENCE hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
444
 
445
#define TARGET_RELAXED_ORDERING false
446
 
447
#define TARGET_MUST_PASS_IN_STACK must_pass_in_stack_var_size_or_pad
448
#define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
449
#define TARGET_ARG_PARTIAL_BYTES hook_int_CUMULATIVE_ARGS_mode_tree_bool_0
450
 
451
#define TARGET_FUNCTION_VALUE default_function_value
452
#define TARGET_INTERNAL_ARG_POINTER default_internal_arg_pointer
453
 
454
#define TARGET_CALLS {                                          \
455
   TARGET_PROMOTE_FUNCTION_ARGS,                                \
456
   TARGET_PROMOTE_FUNCTION_RETURN,                              \
457
   TARGET_PROMOTE_PROTOTYPES,                                   \
458
   TARGET_STRUCT_VALUE_RTX,                                     \
459
   TARGET_RETURN_IN_MEMORY,                                     \
460
   TARGET_RETURN_IN_MSB,                                        \
461
   TARGET_PASS_BY_REFERENCE,                                    \
462
   TARGET_EXPAND_BUILTIN_SAVEREGS,                              \
463
   TARGET_SETUP_INCOMING_VARARGS,                               \
464
   TARGET_STRICT_ARGUMENT_NAMING,                               \
465
   TARGET_PRETEND_OUTGOING_VARARGS_NAMED,                       \
466
   TARGET_SPLIT_COMPLEX_ARG,                                    \
467
   TARGET_MUST_PASS_IN_STACK,                                   \
468
   TARGET_CALLEE_COPIES,                                        \
469
   TARGET_ARG_PARTIAL_BYTES,                                    \
470
   TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN,                      \
471
   TARGET_FUNCTION_VALUE,                                       \
472
   TARGET_INTERNAL_ARG_POINTER                                  \
473
   }
474
 
475
#ifndef TARGET_UNWIND_TABLES_DEFAULT
476
#define TARGET_UNWIND_TABLES_DEFAULT false
477
#endif
478
 
479
#ifndef TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME
480
#define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME 0
481
#endif
482
 
483
#ifndef TARGET_HANDLE_PRAGMA_EXTERN_PREFIX
484
#define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 0
485
#endif
486
 
487
 
488
/* C++ specific.  */
489
#ifndef TARGET_CXX_GUARD_TYPE
490
#define TARGET_CXX_GUARD_TYPE default_cxx_guard_type
491
#endif
492
 
493
#ifndef TARGET_CXX_GUARD_MASK_BIT
494
#define TARGET_CXX_GUARD_MASK_BIT hook_bool_void_false
495
#endif
496
 
497
#ifndef TARGET_CXX_GET_COOKIE_SIZE
498
#define TARGET_CXX_GET_COOKIE_SIZE default_cxx_get_cookie_size
499
#endif
500
 
501
#ifndef TARGET_CXX_COOKIE_HAS_SIZE
502
#define TARGET_CXX_COOKIE_HAS_SIZE hook_bool_void_false
503
#endif
504
 
505
#ifndef TARGET_CXX_IMPORT_EXPORT_CLASS
506
#define TARGET_CXX_IMPORT_EXPORT_CLASS NULL
507
#endif
508
 
509
#ifndef TARGET_CXX_CDTOR_RETURNS_THIS
510
#define TARGET_CXX_CDTOR_RETURNS_THIS hook_bool_void_false
511
#endif
512
 
513
#ifndef TARGET_CXX_KEY_METHOD_MAY_BE_INLINE
514
#define TARGET_CXX_KEY_METHOD_MAY_BE_INLINE hook_bool_void_true
515
#endif
516
 
517
#ifndef TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY
518
#define TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY hook_void_tree
519
#endif
520
 
521
#ifndef TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT
522
#define TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT hook_bool_void_true
523
#endif
524
 
525
#ifndef TARGET_CXX_USE_AEABI_ATEXIT
526
#define TARGET_CXX_USE_AEABI_ATEXIT hook_bool_void_false
527
#endif
528
 
529
#ifndef TARGET_CXX_ADJUST_CLASS_AT_DEFINITION
530
#define TARGET_CXX_ADJUST_CLASS_AT_DEFINITION hook_void_tree
531
#endif
532
 
533
#define TARGET_CXX                              \
534
  {                                             \
535
    TARGET_CXX_GUARD_TYPE,                      \
536
    TARGET_CXX_GUARD_MASK_BIT,                  \
537
    TARGET_CXX_GET_COOKIE_SIZE,                 \
538
    TARGET_CXX_COOKIE_HAS_SIZE,                 \
539
    TARGET_CXX_IMPORT_EXPORT_CLASS,             \
540
    TARGET_CXX_CDTOR_RETURNS_THIS,              \
541
    TARGET_CXX_KEY_METHOD_MAY_BE_INLINE,        \
542
    TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY, \
543
    TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT,        \
544
    TARGET_CXX_USE_AEABI_ATEXIT,                \
545
    TARGET_CXX_ADJUST_CLASS_AT_DEFINITION       \
546
  }
547
 
548
/* The whole shebang.  */
549
#define TARGET_INITIALIZER                      \
550
{                                               \
551
  TARGET_ASM_OUT,                               \
552
  TARGET_SCHED,                                 \
553
  TARGET_VECTORIZE,                             \
554
  TARGET_DEFAULT_TARGET_FLAGS,                  \
555
  TARGET_HANDLE_OPTION,                         \
556
  TARGET_EH_RETURN_FILTER_MODE,                 \
557
  TARGET_MERGE_DECL_ATTRIBUTES,                 \
558
  TARGET_MERGE_TYPE_ATTRIBUTES,                 \
559
  TARGET_ATTRIBUTE_TABLE,                       \
560
  TARGET_COMP_TYPE_ATTRIBUTES,                  \
561
  TARGET_SET_DEFAULT_TYPE_ATTRIBUTES,           \
562
  TARGET_INSERT_ATTRIBUTES,                     \
563
  TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P,        \
564
  TARGET_MS_BITFIELD_LAYOUT_P,                  \
565
  TARGET_ALIGN_ANON_BITFIELD,                   \
566
  TARGET_INIT_BUILTINS,                         \
567
  TARGET_EXPAND_BUILTIN,                        \
568
  TARGET_RESOLVE_OVERLOADED_BUILTIN,            \
569
  TARGET_FOLD_BUILTIN,                          \
570
  TARGET_MANGLE_FUNDAMENTAL_TYPE,               \
571
  TARGET_INIT_LIBFUNCS,                         \
572
  TARGET_SECTION_TYPE_FLAGS,                    \
573
  TARGET_CANNOT_MODIFY_JUMPS_P,                 \
574
  TARGET_BRANCH_TARGET_REGISTER_CLASS,          \
575
  TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED,   \
576
  TARGET_CANNOT_FORCE_CONST_MEM,                \
577
  TARGET_CANNOT_COPY_INSN_P,                    \
578
  TARGET_COMMUTATIVE_P,                         \
579
  TARGET_DELEGITIMIZE_ADDRESS,                  \
580
  TARGET_FUNCTION_OK_FOR_SIBCALL,               \
581
  TARGET_IN_SMALL_DATA_P,                       \
582
  TARGET_BINDS_LOCAL_P,                         \
583
  TARGET_ENCODE_SECTION_INFO,                   \
584
  TARGET_STRIP_NAME_ENCODING,                   \
585
  TARGET_SHIFT_TRUNCATION_MASK,                 \
586
  TARGET_MIN_DIVISIONS_FOR_RECIP_MUL,           \
587
  TARGET_VALID_POINTER_MODE,                    \
588
  TARGET_SCALAR_MODE_SUPPORTED_P,               \
589
  TARGET_VECTOR_MODE_SUPPORTED_P,               \
590
  TARGET_VECTOR_OPAQUE_P,                       \
591
  TARGET_RTX_COSTS,                             \
592
  TARGET_ADDRESS_COST,                          \
593
  TARGET_ALLOCATE_INITIAL_VALUE,                \
594
  TARGET_DWARF_REGISTER_SPAN,                   \
595
  TARGET_FIXED_CONDITION_CODE_REGS,             \
596
  TARGET_CC_MODES_COMPATIBLE,                   \
597
  TARGET_MACHINE_DEPENDENT_REORG,               \
598
  TARGET_BUILD_BUILTIN_VA_LIST,                 \
599
  TARGET_GIMPLIFY_VA_ARG_EXPR,                  \
600
  TARGET_GET_PCH_VALIDITY,                      \
601
  TARGET_PCH_VALID_P,                           \
602
  TARGET_CHECK_PCH_TARGET_FLAGS,                \
603
  TARGET_DEFAULT_SHORT_ENUMS,                   \
604
  TARGET_BUILTIN_SETJMP_FRAME_VALUE,            \
605
  TARGET_MD_ASM_CLOBBERS,                       \
606
  TARGET_DWARF_CALLING_CONVENTION,              \
607
  TARGET_DWARF_HANDLE_FRAME_UNSPEC,             \
608
  TARGET_STDARG_OPTIMIZE_HOOK,                  \
609
  TARGET_STACK_PROTECT_GUARD,                   \
610
  TARGET_STACK_PROTECT_FAIL,                    \
611
  TARGET_INVALID_WITHIN_DOLOOP,                 \
612
  TARGET_VALID_DLLIMPORT_ATTRIBUTE_P,           \
613
  TARGET_CALLS,                                 \
614
  TARGET_INVALID_CONVERSION,                    \
615
  TARGET_INVALID_UNARY_OP,                      \
616
  TARGET_INVALID_BINARY_OP,                     \
617
  TARGET_CXX,                                   \
618
  TARGET_UNWIND_TABLES_DEFAULT,                 \
619
  TARGET_HAVE_NAMED_SECTIONS,                   \
620
  TARGET_HAVE_CTORS_DTORS,                      \
621
  TARGET_HAVE_TLS,                              \
622
  TARGET_HAVE_SRODATA_SECTION,                  \
623
  TARGET_TERMINATE_DW2_EH_FRAME_INFO,           \
624
  TARGET_ASM_FILE_START_APP_OFF,                \
625
  TARGET_ASM_FILE_START_FILE_DIRECTIVE,         \
626
  TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME,        \
627
  TARGET_HANDLE_PRAGMA_EXTERN_PREFIX,           \
628
  TARGET_RELAXED_ORDERING,                      \
629
  TARGET_ARM_EABI_UNWINDER                      \
630
}
631
 
632
#include "hooks.h"
633
#include "targhooks.h"

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.