OSDN Git Service

2001-06-05 David O'Brien <obrien@FreeBSD.org>
[pf3gnuchains/gcc-fork.git] / 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 /* We exist mostly to add -Dbsdi and such to the predefines. */
5
6 #undef CPP_PREDEFINES
7 #define CPP_PREDEFINES "-Dunix -Dbsdi -D____386BSD____ -D__386BSD__\
8  -DBSD_NET2 -Asystem=unix -Asystem=bsd"
9
10 #undef WCHAR_TYPE
11 #define WCHAR_TYPE "int"
12
13 #undef WCHAR_UNSIGNED
14 #define WCHAR_UNSIGNED 0
15
16 #undef WCHAR_TYPE_SIZE
17 #define WCHAR_TYPE_SIZE 32
18
19 /* This is suitable for BSD/OS 3.0; we don't know about earlier releases.  */
20 #undef ASM_COMMENT_START
21 #define ASM_COMMENT_START " #"
22
23 /* Until they use ELF or something that handles dwarf2 unwinds
24    and initialization stuff better.  */
25 #define DWARF2_UNWIND_INFO 0
26
27 /* BSD/OS still uses old binutils that don't insert nops by default
28    when the .align directive demands to insert extra space in the text
29    segment.  */
30 #undef ASM_OUTPUT_ALIGN
31 #define ASM_OUTPUT_ALIGN(FILE,LOG) \
32   if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))