1 /* Configuration for an i386 running MS-DOS with djgpp/go32. */
3 /* Don't assume anything about the header files. */
4 #define NO_IMPLICIT_EXTERN_C
6 #define YES_UNDERSCORES
13 #define CPP_PREDEFINES "-Dunix -Di386 -DGO32 -DMSDOS \
14 -Asystem(unix) -Asystem(msdos) -Acpu(i386) -Amachine(i386)"
17 #define EXTRA_SECTIONS in_ctor, in_dtor
19 #undef EXTRA_SECTION_FUNCTIONS
20 #define EXTRA_SECTION_FUNCTIONS \
21 CTOR_SECTION_FUNCTION \
24 #define CTOR_SECTION_FUNCTION \
28 if (in_section != in_ctor) \
30 fprintf (asm_out_file, "\t.section .ctor\n"); \
31 in_section = in_ctor; \
35 #define DTOR_SECTION_FUNCTION \
39 if (in_section != in_dtor) \
41 fprintf (asm_out_file, "\t.section .dtor\n"); \
42 in_section = in_dtor; \
46 #define ASM_OUTPUT_CONSTRUCTOR(FILE,NAME) \
49 fprintf (FILE, "%s\t", ASM_LONG); \
50 assemble_name (FILE, NAME); \
51 fprintf (FILE, "\n"); \
54 #define ASM_OUTPUT_DESTRUCTOR(FILE,NAME) \
57 fprintf (FILE, "%s\t", ASM_LONG); \
58 assemble_name (FILE, NAME); \
59 fprintf (FILE, "\n"); \