aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/i386/bsd386.h
blob: fb24327523cabd6037b96a7be98f5a291711204f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
/* Configuration for an i386 running BSDI's BSD/OS (formerly known as BSD/386)
   as the target machine.  */

/* We exist mostly to add -Dbsdi and such to the predefines.  */

#undef CPP_PREDEFINES
#define CPP_PREDEFINES "-Dunix -Dbsdi -D____386BSD____ -D__386BSD__\
 -DBSD_NET2 -Asystem=unix -Asystem=bsd"

#undef WCHAR_TYPE
#define WCHAR_TYPE "int"

#undef WCHAR_UNSIGNED
#define WCHAR_UNSIGNED 0

#undef WCHAR_TYPE_SIZE
#define WCHAR_TYPE_SIZE 32

/* This is suitable for BSD/OS 3.0; we don't know about earlier releases.  */
#undef ASM_COMMENT_START
#define ASM_COMMENT_START " #"

/* Until they use ELF or something that handles dwarf2 unwinds
   and initialization stuff better.  */
#define DWARF2_UNWIND_INFO 0

/* BSD/OS still uses old binutils that don't insert nops by default
   when the .align directive demands to insert extra space in the text
   segment.  */
#undef ASM_OUTPUT_ALIGN
#define ASM_OUTPUT_ALIGN(FILE,LOG) \
  if ((LOG)!=0) fprintf ((FILE), "\t.align %d,0x90\n", (LOG))