head	1.1;
access;
symbols
	RELEASE_8_3_0:1.1
	RELEASE_9_0_0:1.1
	RELEASE_7_4_0:1.1
	RELEASE_8_2_0:1.1
	RELEASE_6_EOL:1.1
	RELEASE_8_1_0:1.1
	RELEASE_7_3_0:1.1
	RELEASE_8_0_0:1.1
	RELEASE_7_2_0:1.1
	RELEASE_7_1_0:1.1
	RELEASE_6_4_0:1.1
	RELEASE_5_EOL:1.1
	RELEASE_7_0_0:1.1
	RELEASE_6_3_0:1.1
	PRE_XORG_7:1.1
	RELEASE_4_EOL:1.1
	RELEASE_6_2_0:1.1
	RELEASE_6_1_0:1.1
	RELEASE_5_5_0:1.1
	RELEASE_6_0_0:1.1
	RELEASE_5_4_0:1.1
	RELEASE_4_11_0:1.1
	RELEASE_5_3_0:1.1
	RELEASE_4_10_0:1.1
	RELEASE_5_2_1:1.1
	RELEASE_5_2_0:1.1
	RELEASE_4_9_0:1.1
	RELEASE_5_1_0:1.1
	RELEASE_4_8_0:1.1
	RELEASE_5_0_0:1.1
	RELEASE_4_7_0:1.1
	RELEASE_4_6_2:1.1
	RELEASE_4_6_1:1.1
	RELEASE_4_6_0:1.1
	RELEASE_5_0_DP1:1.1
	RELEASE_4_5_0:1.1
	RELEASE_4_4_0:1.1
	RELEASE_4_3_0:1.1
	RELEASE_4_2_0:1.1
	RELEASE_4_1_1:1.1
	RELEASE_4_1_0:1.1
	RELEASE_3_5_0:1.1
	RELEASE_4_0_0:1.1
	RELEASE_3_4_0:1.1
	RELEASE_3_3_0:1.1
	RELEASE_3_2_0:1.1;
locks; strict;
comment	@# @;


1.1
date	99.05.12.05.29.51;	author asami;	state Exp;
branches;
next	;


desc
@@


1.1
log
@Fix ELF build.  Change maintainer's mail address.

Submitted by:	maintainer, of course
@
text
@diff -udr work.origin/csw/asm.c work/csw/asm.c
--- csw/asm.c.orig	Mon Nov 22 23:18:14 1993
+++ csw/asm.c	Wed May 12 05:05:46 1999
@@@@ -8,7 +8,17 @@@@
 
 #include "../arch.h"
 
-#ifdef __svr4__		/* if SVR4 (including Solaris 2.x) */
+#ifdef __FreeBSD__
+#if __FreeBSD__ >= 2
+#include <osreldate.h>
+#if __FreeBSD_version >= 300004
+#define __elf__
+#endif
+#endif
+#endif
+
+	/* if SVR4 (including Solaris 2.x)  or FreeBSD-elf */
+#if defined(__svr4__) || defined (__elf__)
 #define SR_BUILD_CONTEXT	sr_build_context
 #define SR_CHG_CONTEXT		sr_chg_context
 #define SR_CHECK_STK		sr_check_stk
@
