gcc50/csu: Skip depends step to avoid possible race
[dragonfly.git] / contrib / gcc-4.4 / gcc / config / i386 / dragonfly.h
1 /* Definitions for Intel 386 running DragonFly with ELF format
2    Copyright (C) 1996, 2000, 2002, 2004, 2007 Free Software Foundation, Inc.
3    Contributed by Eric Youngdale.
4    Modified for stabs-in-ELF by H.J. Lu.
5    Adapted from GNU/Linux version by John Polstra.
6    Continued development by David O'Brien <obrien@freebsd.org>
7
8 This file is part of GCC.
9
10 GCC is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 3, or (at your option)
13 any later version.
14
15 GCC is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
18 GNU General Public License for more details.
19
20 You should have received a copy of the GNU General Public License
21 along with GCC; see the file COPYING3.  If not see
22 <http://www.gnu.org/licenses/>.  */
23
24
25 #define TARGET_VERSION fprintf (stderr, " (i386 DragonFly/ELF)");
26
27 /* Override the default comment-starter of "/".  */
28 #undef  ASM_COMMENT_START
29 #define ASM_COMMENT_START "#"
30
31 #undef  ASM_APP_ON
32 #define ASM_APP_ON "#APP\n"
33
34 #undef  ASM_APP_OFF
35 #define ASM_APP_OFF "#NO_APP\n"
36
37 #undef  DBX_REGISTER_NUMBER
38 #define DBX_REGISTER_NUMBER(n) \
39   (TARGET_64BIT ? dbx64_register_map[n] : svr4_dbx_register_map[n])
40
41 #undef  NO_PROFILE_COUNTERS
42 #define NO_PROFILE_COUNTERS     1
43
44 /* Tell final.c that we don't need a label passed to mcount.  */
45
46 #undef  MCOUNT_NAME
47 #define MCOUNT_NAME ".mcount"
48
49 /* Make gcc agree with <machine/ansi.h>.  */
50
51 #undef  SIZE_TYPE
52 #define SIZE_TYPE       (TARGET_64BIT ? "long unsigned int" : "unsigned int")
53
54 #undef  PTRDIFF_TYPE
55 #define PTRDIFF_TYPE    (TARGET_64BIT ? "long int" : "int")
56
57 #undef  WCHAR_TYPE_SIZE
58 #define WCHAR_TYPE_SIZE (TARGET_64BIT ? 32 : BITS_PER_WORD)
59
60 #undef  SUBTARGET_EXTRA_SPECS   /* i386.h bogusly defines it.  */
61 #define SUBTARGET_EXTRA_SPECS \
62   { "dfbsd_dynamic_linker", DFBSD_DYNAMIC_LINKER }
63
64
65 /* A C statement to output to the stdio stream FILE an assembler
66    command to advance the location counter to a multiple of 1<<LOG
67    bytes if it is within MAX_SKIP bytes.
68
69    This is used to align code labels according to Intel recommendations.  */
70
71 #ifdef HAVE_GAS_MAX_SKIP_P2ALIGN
72 #undef  ASM_OUTPUT_MAX_SKIP_ALIGN
73 #define ASM_OUTPUT_MAX_SKIP_ALIGN(FILE, LOG, MAX_SKIP)                                  \
74   if ((LOG) != 0) {                                                                                                             \
75     if ((MAX_SKIP) == 0) fprintf ((FILE), "\t.p2align %d\n", (LOG));    \
76     else fprintf ((FILE), "\t.p2align %d,,%d\n", (LOG), (MAX_SKIP));    \
77   }
78 #endif
79
80 /* Don't default to pcc-struct-return, we want to retain compatibility with
81    older gcc versions AND pcc-struct-return is nonreentrant.
82    (even though the SVR4 ABI for the i386 says that records and unions are
83    returned in memory).  */
84
85 #undef  DEFAULT_PCC_STRUCT_RETURN
86 #define DEFAULT_PCC_STRUCT_RETURN 0
87
88 /* DragonFly sets the rounding precision of the FPU to 53 bits, but GNAT
89    resets it to full precision.  */
90 #undef TARGET_96_ROUND_53_LONG_DOUBLE
91 #define TARGET_96_ROUND_53_LONG_DOUBLE 0
92
93 /* Define this to be nonzero if static stack checking is supported. */
94 /*#define STACK_CHECK_STATIC_BUILTIN 1 */
95
96 /* Define location of OS-specific unwind support configuration. */
97 #define MD_UNWIND_SUPPORT "config/i386/dragonfly-unwind.h"