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

Subversion Repositories openrisc_me

[/] [openrisc/] [trunk/] [gnu-src/] [gcc-4.2.2/] [gcc/] [target-def.h] - Blame information for rev 455

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

Line No. Rev Author Line
1 38 julius
/* Default initializers for a generic GCC target.
2
   Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007
3
   Free Software Foundation, Inc.
4
 
5
   This program is free software; you can redistribute it and/or modify it
6
   under the terms of the GNU General Public License as published by the
7
   Free Software Foundation; either version 3, or (at your option) any
8
   later version.
9
 
10
   This program is distributed in the hope that it will be useful,
11
   but WITHOUT ANY WARRANTY; without even the implied warranty of
12
   MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
13
   GNU General Public License for more details.
14
 
15
   You should have received a copy of the GNU General Public License
16
   along with this program; see the file COPYING3.  If not see
17
   <http://www.gnu.org/licenses/>.
18
 
19
   In other words, you are welcome to use, share and improve this program.
20
   You are forbidden to forbid anyone else to use, share and improve
21
   what you give them.   Help stamp out software-hoarding!  */
22
 
23
/* See target.h for a description of what this file contains and how to
24
   use it.
25
 
26
   We want to have non-NULL default definitions of all hook functions,
27
   even if they do nothing.  */
28
 
29
/* Note that if one of these macros must be defined in an OS .h file
30
   rather than the .c file, then we need to wrap the default
31
   definition in a #ifndef, since files include tm.h before this one.  */
32
 
33
/* Assembler output.  */
34
#ifndef TARGET_ASM_OPEN_PAREN
35
#define TARGET_ASM_OPEN_PAREN "("
36
#endif
37
#ifndef TARGET_ASM_CLOSE_PAREN
38
#define TARGET_ASM_CLOSE_PAREN ")"
39
#endif
40
 
41
#define TARGET_ASM_BYTE_OP "\t.byte\t"
42
 
43
#define TARGET_ASM_ALIGNED_HI_OP "\t.short\t"
44
#define TARGET_ASM_ALIGNED_SI_OP "\t.long\t"
45
#define TARGET_ASM_ALIGNED_DI_OP NULL
46
#define TARGET_ASM_ALIGNED_TI_OP NULL
47
 
48
/* GAS and SYSV4 assemblers accept these.  */
49
#if defined (OBJECT_FORMAT_ELF)
50
#define TARGET_ASM_UNALIGNED_HI_OP "\t.2byte\t"
51
#define TARGET_ASM_UNALIGNED_SI_OP "\t.4byte\t"
52
#define TARGET_ASM_UNALIGNED_DI_OP "\t.8byte\t"
53
#define TARGET_ASM_UNALIGNED_TI_OP NULL
54
#else
55
#define TARGET_ASM_UNALIGNED_HI_OP NULL
56
#define TARGET_ASM_UNALIGNED_SI_OP NULL
57
#define TARGET_ASM_UNALIGNED_DI_OP NULL
58
#define TARGET_ASM_UNALIGNED_TI_OP NULL
59
#endif /* OBJECT_FORMAT_ELF */
60
 
61
#define TARGET_ASM_INTEGER default_assemble_integer
62
 
63
#ifndef TARGET_ASM_GLOBALIZE_LABEL
64
#define TARGET_ASM_GLOBALIZE_LABEL default_globalize_label
65
#endif
66
 
67
#ifndef TARGET_ASM_EMIT_UNWIND_LABEL
68
#define TARGET_ASM_EMIT_UNWIND_LABEL default_emit_unwind_label
69
#endif
70
 
71
#ifndef TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL
72
#define TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL default_emit_except_table_label
73
#endif
74
 
75
#ifndef TARGET_UNWIND_EMIT
76
#define TARGET_UNWIND_EMIT default_unwind_emit
77
#endif
78
 
79
#ifndef TARGET_ASM_INTERNAL_LABEL
80
#define TARGET_ASM_INTERNAL_LABEL default_internal_label
81
#endif
82
 
83
#ifndef TARGET_ARM_TTYPE
84
#define TARGET_ASM_TTYPE hook_bool_rtx_false
85
#endif
86
 
87
#ifndef TARGET_ASM_ASSEMBLE_VISIBILITY
88
#define TARGET_ASM_ASSEMBLE_VISIBILITY default_assemble_visibility
89
#endif
90
 
91
#define TARGET_ASM_FUNCTION_PROLOGUE default_function_pro_epilogue
92
#define TARGET_ASM_FUNCTION_EPILOGUE default_function_pro_epilogue
93
#define TARGET_ASM_FUNCTION_END_PROLOGUE no_asm_to_stream
94
#define TARGET_ASM_FUNCTION_BEGIN_EPILOGUE no_asm_to_stream
95
 
96
#ifndef TARGET_ASM_RELOC_RW_MASK
97
#define TARGET_ASM_RELOC_RW_MASK default_reloc_rw_mask
98
#endif
99
 
100
#ifndef TARGET_ASM_SELECT_SECTION
101
#define TARGET_ASM_SELECT_SECTION default_select_section
102
#endif
103
 
104
#ifndef TARGET_ASM_UNIQUE_SECTION
105
#define TARGET_ASM_UNIQUE_SECTION default_unique_section
106
#endif
107
 
108
#ifndef TARGET_ASM_FUNCTION_RODATA_SECTION
109
#define TARGET_ASM_FUNCTION_RODATA_SECTION default_function_rodata_section
110
#endif
111
 
112
#ifndef TARGET_ASM_SELECT_RTX_SECTION
113
#define TARGET_ASM_SELECT_RTX_SECTION default_select_rtx_section
114
#endif
115
 
116
#if !defined(TARGET_ASM_CONSTRUCTOR) && !defined(USE_COLLECT2)
117
# ifdef CTORS_SECTION_ASM_OP
118
#  define TARGET_ASM_CONSTRUCTOR default_ctor_section_asm_out_constructor
119
# else
120
#  ifdef TARGET_ASM_NAMED_SECTION
121
#   define TARGET_ASM_CONSTRUCTOR default_named_section_asm_out_constructor
122
#  else
123
#   define TARGET_ASM_CONSTRUCTOR default_stabs_asm_out_constructor
124
#  endif
125
# endif
126
#endif
127
 
128
#if !defined(TARGET_ASM_DESTRUCTOR) && !defined(USE_COLLECT2)
129
# ifdef DTORS_SECTION_ASM_OP
130
#  define TARGET_ASM_DESTRUCTOR default_dtor_section_asm_out_destructor
131
# else
132
#  ifdef TARGET_ASM_NAMED_SECTION
133
#   define TARGET_ASM_DESTRUCTOR default_named_section_asm_out_destructor
134
#  else
135
#   define TARGET_ASM_DESTRUCTOR default_stabs_asm_out_destructor
136
#  endif
137
# endif
138
#endif
139
 
140
#define TARGET_ASM_OUTPUT_MI_THUNK NULL
141
#define TARGET_ASM_CAN_OUTPUT_MI_THUNK hook_bool_tree_hwi_hwi_tree_false
142
 
143
#if !defined(TARGET_HAVE_CTORS_DTORS)
144
# if defined(TARGET_ASM_CONSTRUCTOR) && defined(TARGET_ASM_DESTRUCTOR)
145
# define TARGET_HAVE_CTORS_DTORS true
146
# else
147
# define TARGET_HAVE_CTORS_DTORS false
148
# define TARGET_ASM_CONSTRUCTOR NULL
149
# define TARGET_ASM_DESTRUCTOR NULL
150
# endif
151
#endif
152
 
153
#ifndef TARGET_HAVE_SWITCHABLE_BSS_SECTIONS
154
#define TARGET_HAVE_SWITCHABLE_BSS_SECTIONS false
155
#endif
156
 
157
#ifndef TARGET_ASM_INIT_SECTIONS
158
#define TARGET_ASM_INIT_SECTIONS hook_void_void
159
#endif
160
 
161
#ifdef TARGET_ASM_NAMED_SECTION
162
#define TARGET_HAVE_NAMED_SECTIONS true
163
#else
164
#define TARGET_ASM_NAMED_SECTION default_no_named_section
165
#define TARGET_HAVE_NAMED_SECTIONS false
166
#endif
167
 
168
#ifndef TARGET_INVALID_WITHIN_DOLOOP
169
#define TARGET_INVALID_WITHIN_DOLOOP default_invalid_within_doloop
170
#endif
171
 
172
#ifndef TARGET_VALID_DLLIMPORT_ATTRIBUTE_P
173
#define TARGET_VALID_DLLIMPORT_ATTRIBUTE_P hook_bool_tree_true
174
#endif
175
 
176
#ifndef TARGET_HAVE_TLS
177
#define TARGET_HAVE_TLS false
178
#endif
179
 
180
#ifndef TARGET_HAVE_SRODATA_SECTION
181
#define TARGET_HAVE_SRODATA_SECTION false
182
#endif
183
 
184
#ifndef TARGET_TERMINATE_DW2_EH_FRAME_INFO
185
#ifdef EH_FRAME_SECTION_NAME
186
#define TARGET_TERMINATE_DW2_EH_FRAME_INFO false
187
#else
188
#define TARGET_TERMINATE_DW2_EH_FRAME_INFO true
189
#endif
190
#endif
191
 
192
#define TARGET_DWARF_REGISTER_SPAN hook_rtx_rtx_null
193
 
194
#ifndef TARGET_ASM_FILE_START
195
#define TARGET_ASM_FILE_START default_file_start
196
#endif
197
 
198
#ifndef TARGET_ASM_FILE_END
199
#define TARGET_ASM_FILE_END hook_void_void
200
#endif
201
 
202
#ifndef TARGET_EXTRA_LIVE_ON_ENTRY
203
#define TARGET_EXTRA_LIVE_ON_ENTRY hook_void_bitmap
204
#endif
205
 
206
#ifndef TARGET_ASM_FILE_START_APP_OFF
207
#define TARGET_ASM_FILE_START_APP_OFF false
208
#endif
209
 
210
#ifndef TARGET_ASM_FILE_START_FILE_DIRECTIVE
211
#define TARGET_ASM_FILE_START_FILE_DIRECTIVE false
212
#endif
213
 
214
#ifndef TARGET_ASM_EXTERNAL_LIBCALL
215
#define TARGET_ASM_EXTERNAL_LIBCALL default_external_libcall
216
#endif
217
 
218
#ifndef TARGET_ASM_MARK_DECL_PRESERVED
219
#define TARGET_ASM_MARK_DECL_PRESERVED hook_void_constcharptr
220
#endif
221
 
222
#ifndef TARGET_ASM_OUTPUT_ANCHOR
223
#ifdef ASM_OUTPUT_DEF
224
#define TARGET_ASM_OUTPUT_ANCHOR default_asm_output_anchor
225
#else
226
#define TARGET_ASM_OUTPUT_ANCHOR NULL
227
#endif
228
#endif
229
 
230
#ifndef TARGET_ASM_OUTPUT_DWARF_DTPREL
231
#define TARGET_ASM_OUTPUT_DWARF_DTPREL NULL
232
#endif
233
 
234
#define TARGET_ASM_ALIGNED_INT_OP                               \
235
                       {TARGET_ASM_ALIGNED_HI_OP,               \
236
                        TARGET_ASM_ALIGNED_SI_OP,               \
237
                        TARGET_ASM_ALIGNED_DI_OP,               \
238
                        TARGET_ASM_ALIGNED_TI_OP}
239
 
240
#define TARGET_ASM_UNALIGNED_INT_OP                             \
241
                       {TARGET_ASM_UNALIGNED_HI_OP,             \
242
                        TARGET_ASM_UNALIGNED_SI_OP,             \
243
                        TARGET_ASM_UNALIGNED_DI_OP,             \
244
                        TARGET_ASM_UNALIGNED_TI_OP}
245
 
246
#define TARGET_ASM_OUT {TARGET_ASM_OPEN_PAREN,                  \
247
                        TARGET_ASM_CLOSE_PAREN,                 \
248
                        TARGET_ASM_BYTE_OP,                     \
249
                        TARGET_ASM_ALIGNED_INT_OP,              \
250
                        TARGET_ASM_UNALIGNED_INT_OP,            \
251
                        TARGET_ASM_INTEGER,                     \
252
                        TARGET_ASM_GLOBALIZE_LABEL,             \
253
                        TARGET_ASM_EMIT_UNWIND_LABEL,           \
254
                        TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL,     \
255
                        TARGET_UNWIND_EMIT,                     \
256
                        TARGET_ASM_INTERNAL_LABEL,              \
257
                        TARGET_ASM_TTYPE,                       \
258
                        TARGET_ASM_ASSEMBLE_VISIBILITY,         \
259
                        TARGET_ASM_FUNCTION_PROLOGUE,           \
260
                        TARGET_ASM_FUNCTION_END_PROLOGUE,       \
261
                        TARGET_ASM_FUNCTION_BEGIN_EPILOGUE,     \
262
                        TARGET_ASM_FUNCTION_EPILOGUE,           \
263
                        TARGET_ASM_INIT_SECTIONS,               \
264
                        TARGET_ASM_NAMED_SECTION,               \
265
                        TARGET_ASM_RELOC_RW_MASK,               \
266
                        TARGET_ASM_SELECT_SECTION,              \
267
                        TARGET_ASM_SELECT_RTX_SECTION,          \
268
                        TARGET_ASM_UNIQUE_SECTION,              \
269
                        TARGET_ASM_FUNCTION_RODATA_SECTION,     \
270
                        TARGET_ASM_CONSTRUCTOR,                 \
271
                        TARGET_ASM_DESTRUCTOR,                  \
272
                        TARGET_ASM_OUTPUT_MI_THUNK,             \
273
                        TARGET_ASM_CAN_OUTPUT_MI_THUNK,         \
274
                        TARGET_ASM_FILE_START,                  \
275
                        TARGET_ASM_FILE_END,                    \
276
                        TARGET_ASM_EXTERNAL_LIBCALL,            \
277
                        TARGET_ASM_MARK_DECL_PRESERVED,         \
278
                        TARGET_ASM_OUTPUT_ANCHOR,               \
279
                        TARGET_ASM_OUTPUT_DWARF_DTPREL}
280
 
281
/* Scheduler hooks.  All of these default to null pointers, which
282
   haifa-sched.c looks for and handles.  */
283
#define TARGET_SCHED_ADJUST_COST 0
284
#define TARGET_SCHED_ADJUST_PRIORITY 0
285
#define TARGET_SCHED_ISSUE_RATE 0
286
#define TARGET_SCHED_VARIABLE_ISSUE 0
287
#define TARGET_SCHED_INIT 0
288
#define TARGET_SCHED_FINISH 0
289
#define TARGET_SCHED_INIT_GLOBAL 0
290
#define TARGET_SCHED_FINISH_GLOBAL 0
291
#define TARGET_SCHED_REORDER 0
292
#define TARGET_SCHED_REORDER2 0
293
#define TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK 0
294
#define TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN 0
295
#define TARGET_SCHED_DFA_PRE_CYCLE_INSN 0
296
#define TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN 0
297
#define TARGET_SCHED_DFA_POST_CYCLE_INSN 0
298
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD 0
299
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD 0
300
#define TARGET_SCHED_DFA_NEW_CYCLE 0
301
#define TARGET_SCHED_IS_COSTLY_DEPENDENCE 0
302
#define TARGET_SCHED_ADJUST_COST_2 0
303
#define TARGET_SCHED_H_I_D_EXTENDED 0
304
#define TARGET_SCHED_SPECULATE_INSN 0
305
#define TARGET_SCHED_NEEDS_BLOCK_P 0
306
#define TARGET_SCHED_GEN_CHECK 0
307
#define TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC 0
308
#define TARGET_SCHED_SET_SCHED_FLAGS 0
309
 
310
 
311
#define TARGET_SCHED                                            \
312
  {TARGET_SCHED_ADJUST_COST,                                    \
313
   TARGET_SCHED_ADJUST_PRIORITY,                                \
314
   TARGET_SCHED_ISSUE_RATE,                                     \
315
   TARGET_SCHED_VARIABLE_ISSUE,                                 \
316
   TARGET_SCHED_INIT,                                           \
317
   TARGET_SCHED_FINISH,                                         \
318
   TARGET_SCHED_INIT_GLOBAL,                                    \
319
   TARGET_SCHED_FINISH_GLOBAL,                                  \
320
   TARGET_SCHED_REORDER,                                        \
321
   TARGET_SCHED_REORDER2,                                       \
322
   TARGET_SCHED_DEPENDENCIES_EVALUATION_HOOK,                   \
323
   TARGET_SCHED_INIT_DFA_PRE_CYCLE_INSN,                        \
324
   TARGET_SCHED_DFA_PRE_CYCLE_INSN,                             \
325
   TARGET_SCHED_INIT_DFA_POST_CYCLE_INSN,                       \
326
   TARGET_SCHED_DFA_POST_CYCLE_INSN,                            \
327
   TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD,            \
328
   TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD,      \
329
   TARGET_SCHED_DFA_NEW_CYCLE,                                  \
330
   TARGET_SCHED_IS_COSTLY_DEPENDENCE,                           \
331
   TARGET_SCHED_ADJUST_COST_2,                                  \
332
   TARGET_SCHED_H_I_D_EXTENDED,                                 \
333
   TARGET_SCHED_SPECULATE_INSN,                                 \
334
   TARGET_SCHED_NEEDS_BLOCK_P,                                  \
335
   TARGET_SCHED_GEN_CHECK,                                      \
336
   TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC, \
337
   TARGET_SCHED_SET_SCHED_FLAGS}
338
 
339
#define TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD 0
340
#define TARGET_VECTOR_ALIGNMENT_REACHABLE \
341
  default_builtin_vector_alignment_reachable
342
 
343
#define TARGET_VECTORIZE                                                \
344
  {TARGET_VECTORIZE_BUILTIN_MASK_FOR_LOAD,                              \
345
   TARGET_VECTOR_ALIGNMENT_REACHABLE}
346
 
347
#define TARGET_DEFAULT_TARGET_FLAGS 0
348
 
349
#define TARGET_HANDLE_OPTION hook_bool_size_t_constcharptr_int_true
350
 
351
/* In except.c */
352
#define TARGET_EH_RETURN_FILTER_MODE  default_eh_return_filter_mode
353
 
354
/* In tree.c.  */
355
#define TARGET_MERGE_DECL_ATTRIBUTES merge_decl_attributes
356
#define TARGET_MERGE_TYPE_ATTRIBUTES merge_type_attributes
357
#define TARGET_ATTRIBUTE_TABLE NULL
358
 
359
/* In cse.c.  */
360
#define TARGET_ADDRESS_COST default_address_cost
361
 
362
/* In builtins.c.  */
363
#define TARGET_INIT_BUILTINS hook_void_void
364
#define TARGET_EXPAND_BUILTIN default_expand_builtin
365
#define TARGET_RESOLVE_OVERLOADED_BUILTIN NULL
366
#define TARGET_FOLD_BUILTIN hook_tree_tree_tree_bool_null
367
 
368
/* In varasm.c.  */
369
#ifndef TARGET_SECTION_TYPE_FLAGS
370
#define TARGET_SECTION_TYPE_FLAGS default_section_type_flags
371
#endif
372
 
373
#ifndef TARGET_STRIP_NAME_ENCODING
374
#define TARGET_STRIP_NAME_ENCODING default_strip_name_encoding
375
#endif
376
 
377
#ifndef TARGET_BINDS_LOCAL_P
378
#define TARGET_BINDS_LOCAL_P default_binds_local_p
379
#endif
380
 
381
#ifndef TARGET_SHIFT_TRUNCATION_MASK
382
#define TARGET_SHIFT_TRUNCATION_MASK default_shift_truncation_mask
383
#endif
384
 
385
#ifndef TARGET_MIN_DIVISIONS_FOR_RECIP_MUL
386
#define TARGET_MIN_DIVISIONS_FOR_RECIP_MUL default_min_divisions_for_recip_mul
387
#endif
388
 
389
#ifndef TARGET_MODE_REP_EXTENDED
390
#define TARGET_MODE_REP_EXTENDED default_mode_rep_extended
391
#endif
392
 
393
#ifndef TARGET_VALID_POINTER_MODE
394
#define TARGET_VALID_POINTER_MODE default_valid_pointer_mode
395
#endif
396
 
397
#ifndef TARGET_SCALAR_MODE_SUPPORTED_P
398
#define TARGET_SCALAR_MODE_SUPPORTED_P default_scalar_mode_supported_p
399
#endif
400
 
401
#ifndef TARGET_DECIMAL_FLOAT_SUPPORTED_P
402
#define TARGET_DECIMAL_FLOAT_SUPPORTED_P default_decimal_float_supported_p
403
#endif
404
 
405
#ifndef TARGET_VECTOR_MODE_SUPPORTED_P
406
#define TARGET_VECTOR_MODE_SUPPORTED_P hook_bool_mode_false
407
#endif
408
 
409
#ifndef TARGET_VECTOR_OPAQUE_P
410
#define TARGET_VECTOR_OPAQUE_P hook_bool_tree_false
411
#endif
412
 
413
/* In hooks.c.  */
414
#define TARGET_CANNOT_MODIFY_JUMPS_P hook_bool_void_false
415
#define TARGET_BRANCH_TARGET_REGISTER_CLASS hook_int_void_no_regs
416
#define TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED hook_bool_bool_false
417
#define TARGET_CANNOT_FORCE_CONST_MEM hook_bool_rtx_false
418
#define TARGET_CANNOT_COPY_INSN_P NULL
419
#define TARGET_COMMUTATIVE_P hook_bool_rtx_commutative_p
420
#define TARGET_DELEGITIMIZE_ADDRESS hook_rtx_rtx_identity
421
#define TARGET_USE_BLOCKS_FOR_CONSTANT_P hook_bool_mode_rtx_false
422
#define TARGET_MIN_ANCHOR_OFFSET 0
423
#define TARGET_MAX_ANCHOR_OFFSET 0
424
#define TARGET_USE_ANCHORS_FOR_SYMBOL_P default_use_anchors_for_symbol_p
425
#define TARGET_FUNCTION_OK_FOR_SIBCALL hook_bool_tree_tree_false
426
#define TARGET_COMP_TYPE_ATTRIBUTES hook_int_tree_tree_1
427
#ifndef TARGET_SET_DEFAULT_TYPE_ATTRIBUTES
428
#define TARGET_SET_DEFAULT_TYPE_ATTRIBUTES hook_void_tree
429
#endif
430
#define TARGET_INSERT_ATTRIBUTES hook_void_tree_treeptr
431
#define TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P hook_bool_tree_false
432
#define TARGET_MS_BITFIELD_LAYOUT_P hook_bool_tree_false
433
#define TARGET_ALIGN_ANON_BITFIELD hook_bool_void_false
434
#define TARGET_NARROW_VOLATILE_BITFIELD hook_bool_void_false
435
#define TARGET_RTX_COSTS hook_bool_rtx_int_int_intp_false
436
#define TARGET_MANGLE_FUNDAMENTAL_TYPE hook_constcharptr_tree_null
437
#define TARGET_ALLOCATE_INITIAL_VALUE NULL
438
 
439
#ifndef TARGET_INIT_LIBFUNCS
440
#define TARGET_INIT_LIBFUNCS hook_void_void
441
#endif
442
 
443
#ifndef TARGET_IN_SMALL_DATA_P
444
#define TARGET_IN_SMALL_DATA_P hook_bool_tree_false
445
#endif
446
 
447
#ifndef TARGET_ENCODE_SECTION_INFO
448
#define TARGET_ENCODE_SECTION_INFO default_encode_section_info
449
#endif
450
 
451
#ifndef TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN
452
#define TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN hook_invalid_arg_for_unprototyped_fn
453
#endif
454
 
455
#define TARGET_INVALID_CONVERSION hook_constcharptr_tree_tree_null
456
#define TARGET_INVALID_UNARY_OP hook_constcharptr_int_tree_null
457
#define TARGET_INVALID_BINARY_OP hook_constcharptr_int_tree_tree_null
458
 
459
#define TARGET_FIXED_CONDITION_CODE_REGS hook_bool_uintp_uintp_false
460
 
461
#define TARGET_CC_MODES_COMPATIBLE default_cc_modes_compatible
462
 
463
#define TARGET_MACHINE_DEPENDENT_REORG 0
464
 
465
#define TARGET_BUILD_BUILTIN_VA_LIST std_build_builtin_va_list
466
 
467
#define TARGET_GET_PCH_VALIDITY default_get_pch_validity
468
#define TARGET_PCH_VALID_P default_pch_valid_p
469
#define TARGET_CHECK_PCH_TARGET_FLAGS NULL
470
 
471
#define TARGET_DEFAULT_SHORT_ENUMS hook_bool_void_false
472
 
473
#define TARGET_BUILTIN_SETJMP_FRAME_VALUE default_builtin_setjmp_frame_value
474
 
475
#define TARGET_MD_ASM_CLOBBERS hook_tree_tree_tree_tree_3rd_identity
476
 
477
#define TARGET_DWARF_CALLING_CONVENTION hook_int_tree_0
478
 
479
#define TARGET_DWARF_HANDLE_FRAME_UNSPEC 0
480
 
481
#define TARGET_STDARG_OPTIMIZE_HOOK 0
482
 
483
#define TARGET_STACK_PROTECT_GUARD  default_stack_protect_guard
484
#define TARGET_STACK_PROTECT_FAIL   default_external_stack_protect_fail
485
 
486
#define TARGET_ARM_EABI_UNWINDER false
487
 
488
#define TARGET_PROMOTE_FUNCTION_ARGS hook_bool_tree_false
489
#define TARGET_PROMOTE_FUNCTION_RETURN hook_bool_tree_false
490
#define TARGET_PROMOTE_PROTOTYPES hook_bool_tree_false
491
 
492
#define TARGET_STRUCT_VALUE_RTX hook_rtx_tree_int_null
493
#define TARGET_RETURN_IN_MEMORY default_return_in_memory
494
#define TARGET_RETURN_IN_MSB hook_bool_tree_false
495
 
496
#define TARGET_EXPAND_BUILTIN_SAVEREGS default_expand_builtin_saveregs
497
#define TARGET_SETUP_INCOMING_VARARGS default_setup_incoming_varargs
498
#define TARGET_STRICT_ARGUMENT_NAMING hook_bool_CUMULATIVE_ARGS_false
499
#define TARGET_PRETEND_OUTGOING_VARARGS_NAMED \
500
  default_pretend_outgoing_varargs_named
501
#define TARGET_SPLIT_COMPLEX_ARG NULL
502
 
503
#define TARGET_GIMPLIFY_VA_ARG_EXPR std_gimplify_va_arg_expr
504
#define TARGET_PASS_BY_REFERENCE hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
505
 
506
#define TARGET_RELAXED_ORDERING false
507
 
508
#define TARGET_MUST_PASS_IN_STACK must_pass_in_stack_var_size_or_pad
509
#define TARGET_CALLEE_COPIES hook_bool_CUMULATIVE_ARGS_mode_tree_bool_false
510
#define TARGET_ARG_PARTIAL_BYTES hook_int_CUMULATIVE_ARGS_mode_tree_bool_0
511
 
512
#define TARGET_FUNCTION_VALUE default_function_value
513
#define TARGET_INTERNAL_ARG_POINTER default_internal_arg_pointer
514
 
515
#define TARGET_CALLS {                                          \
516
   TARGET_PROMOTE_FUNCTION_ARGS,                                \
517
   TARGET_PROMOTE_FUNCTION_RETURN,                              \
518
   TARGET_PROMOTE_PROTOTYPES,                                   \
519
   TARGET_STRUCT_VALUE_RTX,                                     \
520
   TARGET_RETURN_IN_MEMORY,                                     \
521
   TARGET_RETURN_IN_MSB,                                        \
522
   TARGET_PASS_BY_REFERENCE,                                    \
523
   TARGET_EXPAND_BUILTIN_SAVEREGS,                              \
524
   TARGET_SETUP_INCOMING_VARARGS,                               \
525
   TARGET_STRICT_ARGUMENT_NAMING,                               \
526
   TARGET_PRETEND_OUTGOING_VARARGS_NAMED,                       \
527
   TARGET_SPLIT_COMPLEX_ARG,                                    \
528
   TARGET_MUST_PASS_IN_STACK,                                   \
529
   TARGET_CALLEE_COPIES,                                        \
530
   TARGET_ARG_PARTIAL_BYTES,                                    \
531
   TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN,                      \
532
   TARGET_FUNCTION_VALUE,                                       \
533
   TARGET_INTERNAL_ARG_POINTER                                  \
534
   }
535
 
536
#ifndef TARGET_UNWIND_TABLES_DEFAULT
537
#define TARGET_UNWIND_TABLES_DEFAULT false
538
#endif
539
 
540
#ifndef TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME
541
#define TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME 0
542
#endif
543
 
544
#ifndef TARGET_HANDLE_PRAGMA_EXTERN_PREFIX
545
#define TARGET_HANDLE_PRAGMA_EXTERN_PREFIX 0
546
#endif
547
 
548
#ifndef TARGET_SECONDARY_RELOAD
549
#define TARGET_SECONDARY_RELOAD default_secondary_reload
550
#endif
551
 
552
 
553
/* C++ specific.  */
554
#ifndef TARGET_CXX_GUARD_TYPE
555
#define TARGET_CXX_GUARD_TYPE default_cxx_guard_type
556
#endif
557
 
558
#ifndef TARGET_CXX_GUARD_MASK_BIT
559
#define TARGET_CXX_GUARD_MASK_BIT hook_bool_void_false
560
#endif
561
 
562
#ifndef TARGET_CXX_GET_COOKIE_SIZE
563
#define TARGET_CXX_GET_COOKIE_SIZE default_cxx_get_cookie_size
564
#endif
565
 
566
#ifndef TARGET_CXX_COOKIE_HAS_SIZE
567
#define TARGET_CXX_COOKIE_HAS_SIZE hook_bool_void_false
568
#endif
569
 
570
#ifndef TARGET_CXX_IMPORT_EXPORT_CLASS
571
#define TARGET_CXX_IMPORT_EXPORT_CLASS NULL
572
#endif
573
 
574
#ifndef TARGET_CXX_CDTOR_RETURNS_THIS
575
#define TARGET_CXX_CDTOR_RETURNS_THIS hook_bool_void_false
576
#endif
577
 
578
#ifndef TARGET_CXX_KEY_METHOD_MAY_BE_INLINE
579
#define TARGET_CXX_KEY_METHOD_MAY_BE_INLINE hook_bool_void_true
580
#endif
581
 
582
#ifndef TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY
583
#define TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY hook_void_tree
584
#endif
585
 
586
#ifndef TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT
587
#define TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT hook_bool_void_true
588
#endif
589
 
590
#ifndef TARGET_CXX_USE_AEABI_ATEXIT
591
#define TARGET_CXX_USE_AEABI_ATEXIT hook_bool_void_false
592
#endif
593
 
594
#ifndef TARGET_CXX_ADJUST_CLASS_AT_DEFINITION
595
#define TARGET_CXX_ADJUST_CLASS_AT_DEFINITION hook_void_tree
596
#endif
597
 
598
#define TARGET_CXX                              \
599
  {                                             \
600
    TARGET_CXX_GUARD_TYPE,                      \
601
    TARGET_CXX_GUARD_MASK_BIT,                  \
602
    TARGET_CXX_GET_COOKIE_SIZE,                 \
603
    TARGET_CXX_COOKIE_HAS_SIZE,                 \
604
    TARGET_CXX_IMPORT_EXPORT_CLASS,             \
605
    TARGET_CXX_CDTOR_RETURNS_THIS,              \
606
    TARGET_CXX_KEY_METHOD_MAY_BE_INLINE,        \
607
    TARGET_CXX_DETERMINE_CLASS_DATA_VISIBILITY, \
608
    TARGET_CXX_CLASS_DATA_ALWAYS_COMDAT,        \
609
    TARGET_CXX_USE_AEABI_ATEXIT,                \
610
    TARGET_CXX_ADJUST_CLASS_AT_DEFINITION       \
611
  }
612
 
613
/* The whole shebang.  */
614
#define TARGET_INITIALIZER                      \
615
{                                               \
616
  TARGET_ASM_OUT,                               \
617
  TARGET_SCHED,                                 \
618
  TARGET_VECTORIZE,                             \
619
  TARGET_DEFAULT_TARGET_FLAGS,                  \
620
  TARGET_HANDLE_OPTION,                         \
621
  TARGET_EH_RETURN_FILTER_MODE,                 \
622
  TARGET_MERGE_DECL_ATTRIBUTES,                 \
623
  TARGET_MERGE_TYPE_ATTRIBUTES,                 \
624
  TARGET_ATTRIBUTE_TABLE,                       \
625
  TARGET_COMP_TYPE_ATTRIBUTES,                  \
626
  TARGET_SET_DEFAULT_TYPE_ATTRIBUTES,           \
627
  TARGET_INSERT_ATTRIBUTES,                     \
628
  TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P,        \
629
  TARGET_MS_BITFIELD_LAYOUT_P,                  \
630
  TARGET_DECIMAL_FLOAT_SUPPORTED_P,             \
631
  TARGET_ALIGN_ANON_BITFIELD,                   \
632
  TARGET_NARROW_VOLATILE_BITFIELD,              \
633
  TARGET_INIT_BUILTINS,                         \
634
  TARGET_EXPAND_BUILTIN,                        \
635
  TARGET_RESOLVE_OVERLOADED_BUILTIN,            \
636
  TARGET_FOLD_BUILTIN,                          \
637
  TARGET_MANGLE_FUNDAMENTAL_TYPE,               \
638
  TARGET_INIT_LIBFUNCS,                         \
639
  TARGET_SECTION_TYPE_FLAGS,                    \
640
  TARGET_CANNOT_MODIFY_JUMPS_P,                 \
641
  TARGET_BRANCH_TARGET_REGISTER_CLASS,          \
642
  TARGET_BRANCH_TARGET_REGISTER_CALLEE_SAVED,   \
643
  TARGET_CANNOT_FORCE_CONST_MEM,                \
644
  TARGET_CANNOT_COPY_INSN_P,                    \
645
  TARGET_COMMUTATIVE_P,                         \
646
  TARGET_DELEGITIMIZE_ADDRESS,                  \
647
  TARGET_USE_BLOCKS_FOR_CONSTANT_P,             \
648
  TARGET_MIN_ANCHOR_OFFSET,                     \
649
  TARGET_MAX_ANCHOR_OFFSET,                     \
650
  TARGET_USE_ANCHORS_FOR_SYMBOL_P,              \
651
  TARGET_FUNCTION_OK_FOR_SIBCALL,               \
652
  TARGET_IN_SMALL_DATA_P,                       \
653
  TARGET_BINDS_LOCAL_P,                         \
654
  TARGET_ENCODE_SECTION_INFO,                   \
655
  TARGET_STRIP_NAME_ENCODING,                   \
656
  TARGET_SHIFT_TRUNCATION_MASK,                 \
657
  TARGET_MIN_DIVISIONS_FOR_RECIP_MUL,           \
658
  TARGET_MODE_REP_EXTENDED,                     \
659
  TARGET_VALID_POINTER_MODE,                    \
660
  TARGET_SCALAR_MODE_SUPPORTED_P,               \
661
  TARGET_VECTOR_MODE_SUPPORTED_P,               \
662
  TARGET_VECTOR_OPAQUE_P,                       \
663
  TARGET_RTX_COSTS,                             \
664
  TARGET_ADDRESS_COST,                          \
665
  TARGET_ALLOCATE_INITIAL_VALUE,                \
666
  TARGET_DWARF_REGISTER_SPAN,                   \
667
  TARGET_FIXED_CONDITION_CODE_REGS,             \
668
  TARGET_CC_MODES_COMPATIBLE,                   \
669
  TARGET_MACHINE_DEPENDENT_REORG,               \
670
  TARGET_BUILD_BUILTIN_VA_LIST,                 \
671
  TARGET_GIMPLIFY_VA_ARG_EXPR,                  \
672
  TARGET_GET_PCH_VALIDITY,                      \
673
  TARGET_PCH_VALID_P,                           \
674
  TARGET_CHECK_PCH_TARGET_FLAGS,                \
675
  TARGET_DEFAULT_SHORT_ENUMS,                   \
676
  TARGET_BUILTIN_SETJMP_FRAME_VALUE,            \
677
  TARGET_MD_ASM_CLOBBERS,                       \
678
  TARGET_DWARF_CALLING_CONVENTION,              \
679
  TARGET_DWARF_HANDLE_FRAME_UNSPEC,             \
680
  TARGET_STDARG_OPTIMIZE_HOOK,                  \
681
  TARGET_STACK_PROTECT_GUARD,                   \
682
  TARGET_STACK_PROTECT_FAIL,                    \
683
  TARGET_INVALID_WITHIN_DOLOOP,                 \
684
  TARGET_VALID_DLLIMPORT_ATTRIBUTE_P,           \
685
  TARGET_CALLS,                                 \
686
  TARGET_INVALID_CONVERSION,                    \
687
  TARGET_INVALID_UNARY_OP,                      \
688
  TARGET_INVALID_BINARY_OP,                     \
689
  TARGET_SECONDARY_RELOAD,                      \
690
  TARGET_CXX,                                   \
691
  TARGET_EXTRA_LIVE_ON_ENTRY,                    \
692
  TARGET_UNWIND_TABLES_DEFAULT,                 \
693
  TARGET_HAVE_NAMED_SECTIONS,                   \
694
  TARGET_HAVE_SWITCHABLE_BSS_SECTIONS,          \
695
  TARGET_HAVE_CTORS_DTORS,                      \
696
  TARGET_HAVE_TLS,                              \
697
  TARGET_HAVE_SRODATA_SECTION,                  \
698
  TARGET_TERMINATE_DW2_EH_FRAME_INFO,           \
699
  TARGET_ASM_FILE_START_APP_OFF,                \
700
  TARGET_ASM_FILE_START_FILE_DIRECTIVE,         \
701
  TARGET_HANDLE_PRAGMA_REDEFINE_EXTNAME,        \
702
  TARGET_HANDLE_PRAGMA_EXTERN_PREFIX,           \
703
  TARGET_RELAXED_ORDERING,                      \
704
  TARGET_ARM_EABI_UNWINDER                      \
705
}
706
 
707
#include "hooks.h"
708
#include "targhooks.h"

powered by: WebSVN 2.1.0

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