Author: miguel
Date: 2005-03-30 16:47:50 -0500 (Wed, 30 Mar 2005)
New Revision: 42390
Modified:
branches/mono-1-1-6/mono/ChangeLog
branches/mono-1-1-6/mono/configure.in
branches/mono-1-1-6/mono/mono/metadata/Makefile.am
branches/mono-1-1-6/mono/mono/metadata/console-io.c
branches/mono-1-1-6/mono/mono/metadata/reflection.c
branches/mono-1-1-6/mono/mono/mini/exceptions-ppc.c
branches/mono-1-1-6/mono/mono/mini/mini-ppc.c
branches/mono-1-1-6/mono/mono/mini/mini-x86.c
branches/mono-1-1-6/mono/mono/mini/tramp-ppc.c
branches/mono-1-1-6/mono/scripts/Makefile.am
Log:
For 1.1.6
Modified: branches/mono-1-1-6/mono/ChangeLog
===================================================================
--- branches/mono-1-1-6/mono/ChangeLog 2005-03-30 21:02:15 UTC (rev 42389)
+++ branches/mono-1-1-6/mono/ChangeLog 2005-03-30 21:47:50 UTC (rev 42390)
@@ -86,7 +86,7 @@
($(tmpinst)/bin/mono): Simplify.
(mcs-do-compiler-tests,mcs-compileall): Update.
* runtime/mono-wrapper.in: Use wrapper-config.
-
+
* Makefile.am (DIST_SUBDIRS): Sync with $(SUBDIRS).
* runtime/Makefile.am (verify_profiles): Remove.
Modified: branches/mono-1-1-6/mono/configure.in
===================================================================
--- branches/mono-1-1-6/mono/configure.in 2005-03-30 21:02:15 UTC (rev
42389)
+++ branches/mono-1-1-6/mono/configure.in 2005-03-30 21:47:50 UTC (rev
42390)
@@ -6,7 +6,7 @@
m4_ifdef([_A][M_PROG_TAR],[_A][M_SET_OPTION([tar-ustar])])
AM_CONFIG_HEADER(config.h)
-AM_INIT_AUTOMAKE(mono,1.1.5)
+AM_INIT_AUTOMAKE(mono,1.1.6)
AM_MAINTAINER_MODE
AC_PROG_LN_S
@@ -1665,7 +1665,7 @@
echo "prefix=$prefix" > $srcdir/$mcsdir/build/config.make
echo "exec_prefix=$exec_prefix" >> $srcdir/$mcsdir/build/config.make
- echo "libdir=$libdir" >> $srcdir/$mcsdir/build/config.make
+ echo "mono_libdir=$exec_prefix/lib" >> $srcdir/$mcsdir/build/config.make
echo 'MCS_FLAGS = $(PLATFORM_DEBUG_FLAGS)' >>
$srcdir/$mcsdir/build/config.make
)
Modified: branches/mono-1-1-6/mono/mono/metadata/Makefile.am
===================================================================
--- branches/mono-1-1-6/mono/mono/metadata/Makefile.am 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/metadata/Makefile.am 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -10,7 +10,7 @@
AM_CFLAGS = -O
PLATFORM_LIB = ../os/libmonoos.la
else
-assembliesdir = $(libdir)
+assembliesdir = $(exec_prefix)/lib
confdir = $(sysconfdir)
endif
Modified: branches/mono-1-1-6/mono/mono/metadata/console-io.c
===================================================================
--- branches/mono-1-1-6/mono/mono/metadata/console-io.c 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/metadata/console-io.c 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -13,6 +13,8 @@
#include <string.h>
#include <errno.h>
#include <signal.h>
+#include <sys/time.h>
+#include <sys/types.h>
#include <unistd.h>
/* On solaris, curses.h must come before both termios.h and term.h */
#ifdef HAVE_CURSES_H
Modified: branches/mono-1-1-6/mono/mono/metadata/reflection.c
===================================================================
--- branches/mono-1-1-6/mono/mono/metadata/reflection.c 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/metadata/reflection.c 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -6580,9 +6580,10 @@
return NULL;
/*g_print ("got attr %s\n", method->klass->name);*/
-
- params = g_new (void*, mono_method_signature (method)->param_count);
+ /* Allocate using alloca so it gets GC tracking */
+ params = alloca (mono_method_signature (method)->param_count * sizeof
(void*));
+
/* skip prolog */
p += 2;
for (i = 0; i < mono_method_signature (method)->param_count; ++i) {
@@ -6593,7 +6594,6 @@
attr = mono_object_new (mono_domain_get (), method->klass);
mono_runtime_invoke (method, attr, params, NULL);
free_param_data (method->signature, params);
- g_free (params);
num_named = read16 (named);
named += 2;
for (j = 0; j < num_named; j++) {
Modified: branches/mono-1-1-6/mono/mono/mini/exceptions-ppc.c
===================================================================
--- branches/mono-1-1-6/mono/mono/mini/exceptions-ppc.c 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/mini/exceptions-ppc.c 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -199,6 +199,7 @@
ppc_break (code);
g_assert ((code - start) < sizeof(start));
+ mono_arch_flush_icache (start, code - start);
return start;
}
@@ -268,6 +269,7 @@
ppc_blr (code);
g_assert ((code - start) < sizeof(start));
+ mono_arch_flush_icache (start, code - start);
return start;
}
@@ -371,6 +373,7 @@
/* we should never reach this breakpoint */
ppc_break (code);
g_assert ((code - start) < size);
+ mono_arch_flush_icache (start, code - start);
return start;
}
Modified: branches/mono-1-1-6/mono/mono/mini/mini-ppc.c
===================================================================
--- branches/mono-1-1-6/mono/mono/mini/mini-ppc.c 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/mini/mini-ppc.c 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -341,7 +341,7 @@
#define FP_ALSO_IN_REG(s) s
#else
#define ALWAYS_ON_STACK(s)
-#define FP_ALSO_IN_REG(s) s
+#define FP_ALSO_IN_REG(s)
#define ALIGN_DOUBLES
#endif
Modified: branches/mono-1-1-6/mono/mono/mini/mini-x86.c
===================================================================
--- branches/mono-1-1-6/mono/mono/mini/mini-x86.c 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/mini/mini-x86.c 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -4186,12 +4186,14 @@
x86_branch8 (code, X86_CC_NE, 0, 0);
x86_push_imm (code, cfg->domain);
code = emit_call (cfg, code,
MONO_PATCH_INFO_INTERNAL_METHOD, (gpointer)"mono_jit_thread_attach");
+ x86_alu_reg_imm (code, X86_ADD, X86_ESP, 4);
x86_patch (buf, code);
}
else {
g_assert (!cfg->compile_aot);
x86_push_imm (code, cfg->domain);
code = emit_call (cfg, code,
MONO_PATCH_INFO_INTERNAL_METHOD, (gpointer)"mono_jit_thread_attach");
+ x86_alu_reg_imm (code, X86_ADD, X86_ESP, 4);
}
}
Modified: branches/mono-1-1-6/mono/mono/mini/tramp-ppc.c
===================================================================
--- branches/mono-1-1-6/mono/mono/mini/tramp-ppc.c 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/mono/mini/tramp-ppc.c 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -537,6 +537,7 @@
if (notification_address)
*notification_address = buf;
ppc_blr (buf);
+ mono_arch_flush_icache (ptr, buf - ptr);
return ptr;
}
Modified: branches/mono-1-1-6/mono/scripts/Makefile.am
===================================================================
--- branches/mono-1-1-6/mono/scripts/Makefile.am 2005-03-30 21:02:15 UTC
(rev 42389)
+++ branches/mono-1-1-6/mono/scripts/Makefile.am 2005-03-30 21:47:50 UTC
(rev 42390)
@@ -53,8 +53,8 @@
mono_two_instdir = $(shell cygpath -m $(libdir))/mono/2.0
else
plat_bindir = $(bindir)
-mono_one_instdir = $(libdir)/mono/1.0
-mono_two_instdir = $(libdir)/mono/2.0
+mono_one_instdir = $(prefix)/lib/mono/1.0
+mono_two_instdir = $(prefix)/lib/mono/2.0
endif
REWRITE = sed \
_______________________________________________
Mono-patches maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/mono-patches