Revision: da4bc69e4e70
Author: Muneyuki Noguchi <[email protected]>
Date: Sun Mar 25 03:51:24 2012
Log: Apply changes from 0.2.0 to 0.2.3
* COPYING
* configure.ac
* gcroots.c
* include/gcroots.h
* include/private/gcconfig.h
* include/private/gcroots_priv.h
* mach_dep.c
- Apply changes from 0.2.0 to 0.2.3
because changes were lost when the repository was migrated.
http://code.google.com/p/uim/source/detail?r=da4bc69e4e70&repo=libgcroots
Modified:
/COPYING
/configure.ac
/gcroots.c
/include/gcroots.h
/include/private/gcconfig.h
/include/private/gcroots_priv.h
/mach_dep.c
=======================================
--- /COPYING Fri Jan 5 18:46:36 2007
+++ /COPYING Sun Mar 25 03:51:24 2012
@@ -2,7 +2,7 @@
Copyright (c) 1991-1995 by Xerox Corporation. All rights reserved.
Copyright (c) 1996-1999 by Silicon Graphics. All rights reserved.
Copyright (c) 1999-2001 by Hewlett-Packard. All rights reserved.
-Copyright (c) 2006-2007 YAMAMOTO Kengo All rights reserved.
+Copyright (c) 2006-2008 YAMAMOTO Kengo All rights reserved.
THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
OR IMPLIED. ANY USE IS AT YOUR OWN RISK.
=======================================
--- /configure.ac Wed Jul 18 00:53:03 2007
+++ /configure.ac Sun Mar 25 03:51:24 2012
@@ -21,7 +21,7 @@
dnl AC_INIT(gc,7.0,[email protected])
dnl ## version must conform to [0-9]+[.][0-9]+(alpha[0-9]+)?
dnl AC_CONFIG_SRCDIR(gcj_mlc.c)
-AC_INIT([gcroots], [0.2.0], [[email protected]], [libgcroots])
+AC_INIT([gcroots], [0.2.3], [[email protected]], [libgcroots])
AC_CONFIG_SRCDIR(include/private/gcroots_priv.h)
AC_CANONICAL_TARGET
AC_PREREQ(2.60b)
@@ -376,7 +376,13 @@
AC_SUBST(INCLUDES)
AC_SUBST(CXXINCLUDES)
-AX_FUNC_GETCONTEXT
+# Since glibc has a stub implementation of getcontext(3),
AX_FUNC_GETCONTEXT
+# does not work as expected on such environments. But on such
environtments,
+# AC_CHECK_FUNCS() can detect whether the platform has working
+# getcontext(3). See [sigscheme-ja 17] by NIIBE Yutaka for further details.
+# -- YamaKen 2008-04-21
+# AX_FUNC_GETCONTEXT
+AC_CHECK_FUNCS([getcontext])
# Configuration of shared libraries
#
=======================================
--- /gcroots.c Tue Jul 17 22:12:38 2007
+++ /gcroots.c Sun Mar 25 03:51:24 2012
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2007 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
+ * Copyright (c) 2006-2008 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
* All rights reserved.
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
=======================================
--- /include/gcroots.h Tue Jul 17 22:12:38 2007
+++ /include/gcroots.h Sun Mar 25 03:51:24 2012
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2007 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
+ * Copyright (c) 2006-2008 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
* All rights reserved.
*
* THIS MATERIAL IS PROVIDED AS IS, WITH ABSOLUTELY NO WARRANTY EXPRESSED
@@ -23,7 +23,7 @@
#define GCROOTS_VERSION_MAJOR (0)
#define GCROOTS_VERSION_MINOR (2)
-#define GCROOTS_VERSION_PATCHLEVEL (0)
+#define GCROOTS_VERSION_PATCHLEVEL (3)
#define GCROOTS_API_REVISION (1)
#define GCROOTS_VERSION_REQUIRE(major, minor,
patchlevel) \
=======================================
--- /include/private/gcconfig.h Wed Jul 18 00:53:03 2007
+++ /include/private/gcconfig.h Sun Mar 25 03:51:24 2012
@@ -83,6 +83,10 @@
# define SPARC
# define mach_type_known
# endif
+# if defined(OPENBSD) && defined(__powerpc__)
+# define POWERPC
+# define mach_type_known
+# endif
# if defined(NETBSD) && (defined(m68k) || defined(__m68k__))
# define M68K
# define mach_type_known
@@ -318,6 +322,10 @@
# define OPENBSD
# define mach_type_known
# endif
+# if defined(__OpenBSD__) && defined(__x86_64__)
+# define X86_64
+# define mach_type_known
+# endif
# if defined(FREEBSD) && (defined(i386) || defined(__i386__))
# define I386
# define mach_type_known
=======================================
--- /include/private/gcroots_priv.h Fri Jan 5 21:39:51 2007
+++ /include/private/gcroots_priv.h Sun Mar 25 03:51:24 2012
@@ -1,5 +1,5 @@
/*
- * Copyright (c) 2006-2007 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
+ * Copyright (c) 2006-2008 YAMAMOTO Kengo <yamaken AT bp.iij4u.or.jp>
*
* All rights reserved.
*
=======================================
--- /mach_dep.c Wed Jul 18 19:09:56 2007
+++ /mach_dep.c Sun Mar 25 03:51:24 2012
@@ -160,7 +160,7 @@
# undef HAVE_PUSH_REGS
#endif
-#if !defined(HAVE_PUSH_REGS) && defined(UNIX_LIKE) && HAVE_GETCONTEXT
+#if !defined(HAVE_PUSH_REGS) && defined(UNIX_LIKE) && HAVE_GETCONTEXT
&& !defined(DARWIN)
# include <ucontext.h>
#endif