From f8e6131e617def2c93fc214be66948258b9d2e2b Mon Sep 17 00:00:00 2001 From: ceriel Date: Thu, 30 Sep 1993 15:11:52 +0000 Subject: [PATCH] Some stuff for solaris 2 --- mach/sparc/ce/mach_em.h | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/mach/sparc/ce/mach_em.h b/mach/sparc/ce/mach_em.h index f79e41a47..33f163f6a 100644 --- a/mach/sparc/ce/mach_em.h +++ b/mach/sparc/ce/mach_em.h @@ -1,5 +1,10 @@ /*#define DEBUG 1 /* define when debugging */ +#ifdef __solaris__ +#include +#else #include +#endif + #define BYTES_REVERSED #define WORDS_REVERSED @@ -32,9 +37,15 @@ #define LONG_FMT ".word %ld\n" #define BSS_FMT ".skip %ld\n" +#ifdef __solaris__ +#define SEGTXT_FMT ".section \".text\"\n" +#define SEGDAT_FMT ".section \".data\"\n" +#define SEGBSS_FMT ".section \".bss\"\n" +#else #define SEGTXT_FMT ".seg \"text\"\n" #define SEGDAT_FMT ".seg \"data\"\n" #define SEGBSS_FMT ".seg \"bss\"\n" +#endif #define SYMBOL_DEF_FMT "%s:\n" #define GLOBAL_FMT ".global %s\n"