Initial import from FreeBSD RELENG_4:
[games.git] / contrib / gcc / config / i386 / bsd386.h
1 /* Configuration for an i386 running BSDI's BSD/OS (formerly known as BSD/386)
2    as the target machine.  */
3
4 #include "i386/386bsd.h"
5
6 /* We exist mostly to add -Dbsdi and such to the predefines. */
7
8 #undef CPP_PREDEFINES
9 #define CPP_PREDEFINES "-Dunix -Di386 -Dbsdi -D__i386__ -D__bsdi__ -D____386BSD____ -D__386BSD__ -DBSD_NET2 -Asystem(unix) -Asystem(bsd) -Acpu(i386) -Amachine(i386)"
10
11 #undef WCHAR_TYPE
12 #define WCHAR_TYPE "int"
13
14 #undef WCHAR_UNSIGNED
15 #define WCHAR_UNSIGNED 0
16
17 #undef WCHAR_TYPE_SIZE
18 #define WCHAR_TYPE_SIZE 32
19
20 /* This is suitable for BSD/OS 3.0; we don't know about earlier releases.  */
21 #undef ASM_COMMENT_START
22 #define ASM_COMMENT_START " #"
23
24 /* Until they use ELF or something that handles dwarf2 unwinds
25    and initialization stuff better.  */
26 #define DWARF2_UNWIND_INFO 0
27
28 /* BSD/OS still uses old binutils that don't insert nops by default
29    when the .align directive demands to insert extra space in the text
30    segment.  */
31 #undef ASM_OUTPUT_ALIGN
32 #define ASM_OUTPUT_ALIGN(FILE,LOG) \
33   if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))