-diff -urN jamvm-1.4.4/configure jamvm-1.4.4.new/configure
---- jamvm-1.4.4/configure 2006-11-01 00:07:51.000000000 +0100
-+++ jamvm-1.4.4.new/configure 2006-12-09 21:02:52.000000000 +0100
+diff -ruN jamvm-1.4.4-old/configure jamvm-1.4.4-new/configure
+--- jamvm-1.4.4-old/configure 2006-12-18 15:31:28.000000000 +0100
++++ jamvm-1.4.4-new/configure 2006-12-18 15:31:59.000000000 +0100
@@ -2035,6 +2035,7 @@
arm*-*-linux*) host_cpu=arm host_os=linux ;;
arm*-*-openbsd*) host_cpu=arm host_os=bsd libdl_needed=no ;;
"src/os/darwin/i386/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/darwin/i386/Makefile" ;;
"src/os/darwin/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/darwin/powerpc/Makefile" ;;
"src/os/bsd/powerpc/Makefile" ) CONFIG_FILES="$CONFIG_FILES src/os/bsd/powerpc/Makefile" ;;
-diff -urN jamvm-1.4.4/configure.ac jamvm-1.4.4.new/configure.ac
---- jamvm-1.4.4/configure.ac 2006-11-01 00:06:11.000000000 +0100
-+++ jamvm-1.4.4.new/configure.ac 2006-12-09 21:03:31.000000000 +0100
+diff -ruN jamvm-1.4.4-old/configure.ac jamvm-1.4.4-new/configure.ac
+--- jamvm-1.4.4-old/configure.ac 2006-12-18 15:31:28.000000000 +0100
++++ jamvm-1.4.4-new/configure.ac 2006-12-18 15:31:59.000000000 +0100
@@ -15,6 +15,7 @@
hppa*-*-linux*) host_cpu=parisc host_os=linux ;;
amd64-*-openbsd*) host_os=bsd libdl_needed=no ;;
src/os/darwin/i386/Makefile \
src/os/darwin/powerpc/Makefile \
src/os/bsd/powerpc/Makefile \
-diff -urN jamvm-1.4.4/src/arch/Makefile.am jamvm-1.4.4.new/src/arch/Makefile.am
---- jamvm-1.4.4/src/arch/Makefile.am 2006-10-23 02:35:11.000000000 +0200
-+++ jamvm-1.4.4.new/src/arch/Makefile.am 2006-12-09 21:03:51.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/arch/Makefile.am jamvm-1.4.4-new/src/arch/Makefile.am
+--- jamvm-1.4.4-old/src/arch/Makefile.am 2006-12-18 15:31:28.000000000 +0100
++++ jamvm-1.4.4-new/src/arch/Makefile.am 2006-12-18 15:31:59.000000000 +0100
@@ -1,3 +1,3 @@
# used by automake to generate Makefile.in
-EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h
+EXTRA_DIST = powerpc.h arm.h i386.h x86_64.h parisc.h mips.h
-diff -urN jamvm-1.4.4/src/arch/Makefile.in jamvm-1.4.4.new/src/arch/Makefile.in
---- jamvm-1.4.4/src/arch/Makefile.in 2006-11-03 02:47:53.000000000 +0100
-+++ jamvm-1.4.4.new/src/arch/Makefile.in 2006-12-09 21:04:54.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/arch/Makefile.in jamvm-1.4.4-new/src/arch/Makefile.in
+--- jamvm-1.4.4-old/src/arch/Makefile.in 2006-12-18 15:31:28.000000000 +0100
++++ jamvm-1.4.4-new/src/arch/Makefile.in 2006-12-18 15:31:59.000000000 +0100
@@ -158,7 +158,7 @@
use_zip_no = @use_zip_no@
use_zip_yes = @use_zip_yes@
all: all-am
.SUFFIXES:
-diff -urN jamvm-1.4.4/src/arch/mips.h jamvm-1.4.4.new/src/arch/mips.h
---- jamvm-1.4.4/src/arch/mips.h 1970-01-01 01:00:00.000000000 +0100
-+++ jamvm-1.4.4.new/src/arch/mips.h 2006-12-09 21:05:27.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/arch/mips.h jamvm-1.4.4-new/src/arch/mips.h
+--- jamvm-1.4.4-old/src/arch/mips.h 1970-01-01 01:00:00.000000000 +0100
++++ jamvm-1.4.4-new/src/arch/mips.h 2006-12-18 15:31:59.000000000 +0100
@@ -0,0 +1,69 @@
+/*
+ * Copyright (C) 2003, 2004, 2005 Robert Lougher <rob@lougher.demon.co.uk>.
+#define JMM_LOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
+#define JMM_UNLOCK_MBARRIER() __asm__ __volatile__ ("" ::: "memory")
+
-diff -urN jamvm-1.4.4/src/os/linux/Makefile.am jamvm-1.4.4.new/src/os/linux/Makefile.am
---- jamvm-1.4.4/src/os/linux/Makefile.am 2006-10-23 02:07:10.000000000 +0200
-+++ jamvm-1.4.4.new/src/os/linux/Makefile.am 2006-12-09 21:04:13.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/os/linux/Makefile.am jamvm-1.4.4-new/src/os/linux/Makefile.am
+--- jamvm-1.4.4-old/src/os/linux/Makefile.am 2006-12-18 15:31:28.000000000 +0100
++++ jamvm-1.4.4-new/src/os/linux/Makefile.am 2006-12-18 15:31:59.000000000 +0100
@@ -1,5 +1,5 @@
SUBDIRS = @arch@
-DIST_SUBDIRS = powerpc arm i386 x86_64 parisc
noinst_LTLIBRARIES = libos.la
libos_la_SOURCES = os.c
-diff -urN jamvm-1.4.4/src/os/linux/Makefile.in jamvm-1.4.4.new/src/os/linux/Makefile.in
---- jamvm-1.4.4/src/os/linux/Makefile.in 2006-11-03 02:47:58.000000000 +0100
-+++ jamvm-1.4.4.new/src/os/linux/Makefile.in 2006-12-09 21:04:43.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/os/linux/Makefile.in jamvm-1.4.4-new/src/os/linux/Makefile.in
+--- jamvm-1.4.4-old/src/os/linux/Makefile.in 2006-12-18 15:31:28.000000000 +0100
++++ jamvm-1.4.4-new/src/os/linux/Makefile.in 2006-12-18 15:31:59.000000000 +0100
@@ -181,7 +181,7 @@
use_zip_yes = @use_zip_yes@
with_classpath_install_dir = @with_classpath_install_dir@
noinst_LTLIBRARIES = libos.la
libos_la_SOURCES = os.c
AM_CPPFLAGS = -I$(top_builddir)/src
-diff -urN jamvm-1.4.4/src/os/linux/mips/Makefile.am jamvm-1.4.4.new/src/os/linux/mips/Makefile.am
---- jamvm-1.4.4/src/os/linux/mips/Makefile.am 1970-01-01 01:00:00.000000000 +0100
-+++ jamvm-1.4.4.new/src/os/linux/mips/Makefile.am 2006-12-09 21:05:27.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/os/linux/mips/Makefile.am jamvm-1.4.4-new/src/os/linux/mips/Makefile.am
+--- jamvm-1.4.4-old/src/os/linux/mips/Makefile.am 1970-01-01 01:00:00.000000000 +0100
++++ jamvm-1.4.4-new/src/os/linux/mips/Makefile.am 2006-12-18 15:36:03.000000000 +0100
@@ -0,0 +1,4 @@
-+noinst_LIBRARIES = libnative.a
-+libnative_a_SOURCES = init.c
++noinst_LTLIBRARIES = libnative.la
++libnative_la_SOURCES = init.c
+
+AM_CPPFLAGS = -I$(top_builddir)/src
-diff -urN jamvm-1.4.4/src/os/linux/mips/Makefile.in jamvm-1.4.4.new/src/os/linux/mips/Makefile.in
---- jamvm-1.4.4/src/os/linux/mips/Makefile.in 1970-01-01 01:00:00.000000000 +0100
-+++ jamvm-1.4.4.new/src/os/linux/mips/Makefile.in 2006-12-09 21:05:27.000000000 +0100
-@@ -0,0 +1,391 @@
+diff -ruN jamvm-1.4.4-old/src/os/linux/mips/Makefile.in jamvm-1.4.4-new/src/os/linux/mips/Makefile.in
+--- jamvm-1.4.4-old/src/os/linux/mips/Makefile.in 1970-01-01 01:00:00.000000000 +0100
++++ jamvm-1.4.4-new/src/os/linux/mips/Makefile.in 2006-12-18 15:37:31.000000000 +0100
+@@ -0,0 +1,432 @@
+# Makefile.in generated by automake 1.9.6 from Makefile.am.
+# @configure_input@
+
+am__configure_deps = $(am__aclocal_m4_deps) $(CONFIGURE_DEPENDENCIES) \
+ $(ACLOCAL_M4)
+mkinstalldirs = $(SHELL) $(top_srcdir)/mkinstalldirs
++CONFIG_HEADER = $(top_builddir)/src/config.h
+CONFIG_CLEAN_FILES =
-+LIBRARIES = $(noinst_LIBRARIES)
-+AR = ar
-+ARFLAGS = cru
-+libnative_a_AR = $(AR) $(ARFLAGS)
-+libnative_a_LIBADD =
-+am_libnative_a_OBJECTS = init.$(OBJEXT)
-+libnative_a_OBJECTS = $(am_libnative_a_OBJECTS)
-+DEFAULT_INCLUDES = -I. -I$(srcdir)
++LTLIBRARIES = $(noinst_LTLIBRARIES)
++libnative_la_LIBADD =
++am_libnative_la_OBJECTS = init.lo
++libnative_la_OBJECTS = $(am_libnative_la_OBJECTS)
++DEFAULT_INCLUDES = -I. -I$(srcdir) -I$(top_builddir)/src
+depcomp = $(SHELL) $(top_srcdir)/depcomp
+am__depfiles_maybe = depfiles
+COMPILE = $(CC) $(DEFS) $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) \
+ $(CPPFLAGS) $(AM_CFLAGS) $(CFLAGS)
++LTCOMPILE = $(LIBTOOL) --tag=CC --mode=compile $(CC) $(DEFS) \
++ $(DEFAULT_INCLUDES) $(INCLUDES) $(AM_CPPFLAGS) $(CPPFLAGS) \
++ $(AM_CFLAGS) $(CFLAGS)
+CCLD = $(CC)
-+LINK = $(CCLD) $(AM_CFLAGS) $(CFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
-+SOURCES = $(libnative_a_SOURCES)
-+DIST_SOURCES = $(libnative_a_SOURCES)
++LINK = $(LIBTOOL) --tag=CC --mode=link $(CCLD) $(AM_CFLAGS) $(CFLAGS) \
++ $(AM_LDFLAGS) $(LDFLAGS) -o $@
++SOURCES = $(libnative_la_SOURCES)
++DIST_SOURCES = $(libnative_la_SOURCES)
+ETAGS = etags
+CTAGS = ctags
+DISTFILES = $(DIST_COMMON) $(DIST_SOURCES) $(TEXINFOS) $(EXTRA_DIST)
+AMDEP_FALSE = @AMDEP_FALSE@
+AMDEP_TRUE = @AMDEP_TRUE@
+AMTAR = @AMTAR@
++AR = @AR@
+AUTOCONF = @AUTOCONF@
+AUTOHEADER = @AUTOHEADER@
+AUTOMAKE = @AUTOMAKE@
+CFLAGS = @CFLAGS@
+CPP = @CPP@
+CPPFLAGS = @CPPFLAGS@
++CXX = @CXX@
++CXXCPP = @CXXCPP@
++CXXDEPMODE = @CXXDEPMODE@
++CXXFLAGS = @CXXFLAGS@
+CYGPATH_W = @CYGPATH_W@
+DEFS = @DEFS@
+DEPDIR = @DEPDIR@
++ECHO = @ECHO@
+ECHO_C = @ECHO_C@
+ECHO_N = @ECHO_N@
+ECHO_T = @ECHO_T@
+EGREP = @EGREP@
+EXEEXT = @EXEEXT@
++F77 = @F77@
++FFLAGS = @FFLAGS@
+INSTALL_DATA = @INSTALL_DATA@
+INSTALL_PROGRAM = @INSTALL_PROGRAM@
+INSTALL_SCRIPT = @INSTALL_SCRIPT@
+INSTALL_STRIP_PROGRAM = @INSTALL_STRIP_PROGRAM@
++JAVAC = @JAVAC@
+LDFLAGS = @LDFLAGS@
+LIBOBJS = @LIBOBJS@
+LIBS = @LIBS@
++LIBTOOL = @LIBTOOL@
++LN_S = @LN_S@
+LTLIBOBJS = @LTLIBOBJS@
+MAINT = @MAINT@
+MAINTAINER_MODE_FALSE = @MAINTAINER_MODE_FALSE@
+SHELL = @SHELL@
+STRIP = @STRIP@
+VERSION = @VERSION@
++ac_ct_AR = @ac_ct_AR@
+ac_ct_CC = @ac_ct_CC@
++ac_ct_CXX = @ac_ct_CXX@
++ac_ct_F77 = @ac_ct_F77@
+ac_ct_RANLIB = @ac_ct_RANLIB@
+ac_ct_STRIP = @ac_ct_STRIP@
+am__fastdepCC_FALSE = @am__fastdepCC_FALSE@
+am__fastdepCC_TRUE = @am__fastdepCC_TRUE@
++am__fastdepCXX_FALSE = @am__fastdepCXX_FALSE@
++am__fastdepCXX_TRUE = @am__fastdepCXX_TRUE@
+am__include = @am__include@
+am__leading_dot = @am__leading_dot@
+am__quote = @am__quote@
+use_zip_no = @use_zip_no@
+use_zip_yes = @use_zip_yes@
+with_classpath_install_dir = @with_classpath_install_dir@
-+noinst_LIBRARIES = libnative.a
-+libnative_a_SOURCES = init.c
++noinst_LTLIBRARIES = libnative.la
++libnative_la_SOURCES = init.c
+AM_CPPFLAGS = -I$(top_builddir)/src
+all: all-am
+
+.SUFFIXES:
-+.SUFFIXES: .c .o .obj
++.SUFFIXES: .c .lo .o .obj
+$(srcdir)/Makefile.in: @MAINTAINER_MODE_TRUE@ $(srcdir)/Makefile.am $(am__configure_deps)
+ @for dep in $?; do \
+ case '$(am__configure_deps)' in \
+ exit 1;; \
+ esac; \
+ done; \
-+ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/os/linux/mips/Makefile'; \
++ echo ' cd $(top_srcdir) && $(AUTOMAKE) --gnu src/os/linux/parisc/Makefile'; \
+ cd $(top_srcdir) && \
-+ $(AUTOMAKE) --gnu src/os/linux/mips/Makefile
++ $(AUTOMAKE) --gnu src/os/linux/parisc/Makefile
+.PRECIOUS: Makefile
+Makefile: $(srcdir)/Makefile.in $(top_builddir)/config.status
+ @case '$?' in \
+$(ACLOCAL_M4): @MAINTAINER_MODE_TRUE@ $(am__aclocal_m4_deps)
+ cd $(top_builddir) && $(MAKE) $(AM_MAKEFLAGS) am--refresh
+
-+clean-noinstLIBRARIES:
-+ -test -z "$(noinst_LIBRARIES)" || rm -f $(noinst_LIBRARIES)
-+libnative.a: $(libnative_a_OBJECTS) $(libnative_a_DEPENDENCIES)
-+ -rm -f libnative.a
-+ $(libnative_a_AR) libnative.a $(libnative_a_OBJECTS) $(libnative_a_LIBADD)
-+ $(RANLIB) libnative.a
++clean-noinstLTLIBRARIES:
++ -test -z "$(noinst_LTLIBRARIES)" || rm -f $(noinst_LTLIBRARIES)
++ @list='$(noinst_LTLIBRARIES)'; for p in $$list; do \
++ dir="`echo $$p | sed -e 's|/[^/]*$$||'`"; \
++ test "$$dir" != "$$p" || dir=.; \
++ echo "rm -f \"$${dir}/so_locations\""; \
++ rm -f "$${dir}/so_locations"; \
++ done
++libnative.la: $(libnative_la_OBJECTS) $(libnative_la_DEPENDENCIES)
++ $(LINK) $(libnative_la_LDFLAGS) $(libnative_la_OBJECTS) $(libnative_la_LIBADD) $(LIBS)
+
+mostlyclean-compile:
+ -rm -f *.$(OBJEXT)
+distclean-compile:
+ -rm -f *.tab.c
+
-+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Po@am__quote@
++@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/init.Plo@am__quote@
+
+.c.o:
+@am__fastdepCC_TRUE@ if $(COMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=no @AMDEPBACKSLASH@
+@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
+@am__fastdepCC_FALSE@ $(COMPILE) -c `$(CYGPATH_W) '$<'`
++
++.c.lo:
++@am__fastdepCC_TRUE@ if $(LTCOMPILE) -MT $@ -MD -MP -MF "$(DEPDIR)/$*.Tpo" -c -o $@ $<; \
++@am__fastdepCC_TRUE@ then mv -f "$(DEPDIR)/$*.Tpo" "$(DEPDIR)/$*.Plo"; else rm -f "$(DEPDIR)/$*.Tpo"; exit 1; fi
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ source='$<' object='$@' libtool=yes @AMDEPBACKSLASH@
++@AMDEP_TRUE@@am__fastdepCC_FALSE@ DEPDIR=$(DEPDIR) $(CCDEPMODE) $(depcomp) @AMDEPBACKSLASH@
++@am__fastdepCC_FALSE@ $(LTCOMPILE) -c -o $@ $<
++
++mostlyclean-libtool:
++ -rm -f *.lo
++
++clean-libtool:
++ -rm -rf .libs _libs
++
++distclean-libtool:
++ -rm -f libtool
+uninstall-info-am:
+
+ID: $(HEADERS) $(SOURCES) $(LISP) $(TAGS_FILES)
+ done
+check-am: all-am
+check: check-am
-+all-am: Makefile $(LIBRARIES)
++all-am: Makefile $(LTLIBRARIES)
+installdirs:
+install: install-am
+install-exec: install-exec-am
+ @echo "it deletes files that may require special tools to rebuild."
+clean: clean-am
+
-+clean-am: clean-generic clean-noinstLIBRARIES mostlyclean-am
++clean-am: clean-generic clean-libtool clean-noinstLTLIBRARIES \
++ mostlyclean-am
+
+distclean: distclean-am
+ -rm -rf ./$(DEPDIR)
+ -rm -f Makefile
+distclean-am: clean-am distclean-compile distclean-generic \
-+ distclean-tags
++ distclean-libtool distclean-tags
+
+dvi: dvi-am
+
+
+mostlyclean: mostlyclean-am
+
-+mostlyclean-am: mostlyclean-compile mostlyclean-generic
++mostlyclean-am: mostlyclean-compile mostlyclean-generic \
++ mostlyclean-libtool
+
+pdf: pdf-am
+
+uninstall-am: uninstall-info-am
+
+.PHONY: CTAGS GTAGS all all-am check check-am clean clean-generic \
-+ clean-noinstLIBRARIES ctags distclean distclean-compile \
-+ distclean-generic distclean-tags distdir dvi dvi-am html \
-+ html-am info info-am install install-am install-data \
-+ install-data-am install-exec install-exec-am install-info \
-+ install-info-am install-man install-strip installcheck \
-+ installcheck-am installdirs maintainer-clean \
-+ maintainer-clean-generic mostlyclean mostlyclean-compile \
-+ mostlyclean-generic pdf pdf-am ps ps-am tags uninstall \
-+ uninstall-am uninstall-info-am
++ clean-libtool clean-noinstLTLIBRARIES ctags distclean \
++ distclean-compile distclean-generic distclean-libtool \
++ distclean-tags distdir dvi dvi-am html html-am info info-am \
++ install install-am install-data install-data-am install-exec \
++ install-exec-am install-info install-info-am install-man \
++ install-strip installcheck installcheck-am installdirs \
++ maintainer-clean maintainer-clean-generic mostlyclean \
++ mostlyclean-compile mostlyclean-generic mostlyclean-libtool \
++ pdf pdf-am ps ps-am tags uninstall uninstall-am \
++ uninstall-info-am
+
+# Tell versions [3.59,3.63) of GNU make to not export all variables.
+# Otherwise a system limit (for SysV at least) may be exceeded.
+.NOEXPORT:
-diff -urN jamvm-1.4.4/src/os/linux/mips/init.c jamvm-1.4.4.new/src/os/linux/mips/init.c
---- jamvm-1.4.4/src/os/linux/mips/init.c 1970-01-01 01:00:00.000000000 +0100
-+++ jamvm-1.4.4.new/src/os/linux/mips/init.c 2006-12-09 21:05:27.000000000 +0100
+diff -ruN jamvm-1.4.4-old/src/os/linux/mips/init.c jamvm-1.4.4-new/src/os/linux/mips/init.c
+--- jamvm-1.4.4-old/src/os/linux/mips/init.c 1970-01-01 01:00:00.000000000 +0100
++++ jamvm-1.4.4-new/src/os/linux/mips/init.c 2006-12-18 15:31:59.000000000 +0100
@@ -0,0 +1,23 @@
+/*
+ * Copyright (C) 2003, 2004 Robert Lougher <rob@lougher.demon.co.uk>.