head	1.2;
access;
symbols
	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;
locks; strict;
comment	@# @;


1.2
date	2005.05.16.06.32.36;	author mezz;	state dead;
branches;
next	1.1;

1.1
date	2003.10.07.03.33.38;	author marcus;	state Exp;
branches;
next	;


desc
@@


1.2
log
@Update to 1.1.7, Bill Middleton has been working against the Mono SVN to fix
FreeBSD problems with Mono. As of Mono 1.1.7, Mono has made a tremendous leap
in stability on FreeBSD. Many C# apps now works much better with Mono 1.1.7.

BSD# - Project by:	http://www.mono-project.com/Mono:FreeBSD
@
text
@--- mono/mini/mini-x86.c	Mon Sep 29 05:28:49 2003
+++ mono/mini/mini-x86.c	Sat Aug 30 04:01:27 2003
@@@@ -40,6 +40,32 @@@@
 	guint8  pad;
 } MonoJitArgumentInfo;
 
+union IEEEd2bits {
+    double d;
+    struct {
+#if _BYTE_ORDER == _LITTLE_ENDIAN
+	unsigned int    manl    :32;
+	unsigned int    manh    :20;
+	unsigned int    exp     :11;
+	unsigned int    sign    :1;
+#else
+	unsigned int    sign    :1;
+	unsigned int    exp     :11;
+	unsigned int    manh    :20;
+	unsigned int    manl    :32;
+#endif
+    } bits;
+};
+
+int
+signbit(double d)
+{
+    union IEEEd2bits u;
+
+    u.d = d;
+    return (u.bits.sign);
+}
+
 /*
  * arch_get_argument_info:
  * @@csig:  a method signature
@


1.1
log
@I believe this works now.  I am able to compile and run some C# apps included
in the mono/tests/ subdirectory, and it no longer hangs or dies with weird
errors.  (And, yes, I do have garbage collecting enabled).

I'll let the C# user community be my judge.  There still may be some issues
since boehm-gc isn't fully functional in its multi-threaded state on FreeBSD.
@
text
@@

