diff -aruN shujit-0.3.1a/ChangeLog shujit/ChangeLog --- shujit-0.3.1a/ChangeLog Mon Jul 5 21:25:36 1999 +++ shujit/ChangeLog Sun Jul 11 17:50:45 1999 @@ -1,5 +1,26 @@ $Id$ +[19990711] + +sigcontext 構造体の名前を `struct sigcontext' で統一。 +`struct sigcontext_struct' は使わない。 +(compiler.h, configure.in) + +0.3.1b リリース。 + +[19990709] + +#include の前に、 +#define sigcontext_struct sigcontext と書いた。 +(compiler.h) +glibc 2.X では を直接ではなく + を include することで上記の置き換え +(sigcontext_struct -> sigcontext) がなされる。 +しかし libc5 は を持たないため、 +shuJIT のソースでは #include と書きたい。 + +0.3.1a リリース。 + [19990705] ELF の FreeBSD (>= 3.0) に対応した。 diff -aruN shujit-0.3.1a/compiler.h shujit/compiler.h --- shujit-0.3.1a/compiler.h Fri Jul 9 20:06:00 1999 +++ shujit/compiler.h Sun Jul 11 17:40:17 1999 @@ -141,6 +141,7 @@ #if defined(EXC_BY_SIGNAL) || defined(GET_SIGCONTEXT) +# define SIGCONTEXT struct sigcontext # if defined(linux) # define sigcontext_struct sigcontext /* to permute if asm/sigcontext.h defines sigcontext_struct */ diff -aruN shujit-0.3.1a/config.h.in shujit/config.h.in --- shujit-0.3.1a/config.h.in Fri Jul 9 20:06:53 1999 +++ shujit/config.h.in Sun Jul 11 17:39:38 1999 @@ -9,9 +9,6 @@ /* defined if the libc is glibc2 (libc6) */ #undef GLIBC2 -/* type of signal context */ -#undef SIGCONTEXT - /* type of an argument of monitor{Enter,Exit}{,2} */ #undef MONITOR_T diff -aruN shujit-0.3.1a/configure shujit/configure --- shujit-0.3.1a/configure Fri Jul 9 20:07:16 1999 +++ shujit/configure Sun Jul 11 17:37:48 1999 @@ -1660,35 +1660,8 @@ fi -cat > conftest.$ac_ext < -EOF -if (eval "$ac_cpp conftest.$ac_ext") 2>&5 | - egrep "sigcontext_struct" >/dev/null 2>&1; then - rm -rf conftest* - ac_sigcontext_struct=yes -else - rm -rf conftest* - ac_sigcontext_struct=no -fi -rm -f conftest* - -if test "$ac_sigcontext_struct" = "yes"; then - cat >> confdefs.h <<\EOF -#define SIGCONTEXT struct sigcontext_struct -EOF - -else - cat >> confdefs.h <<\EOF -#define SIGCONTEXT struct sigcontext -EOF - -fi - echo $ac_n "checking type of an argument of monitorEnter()""... $ac_c" 1>&6 -echo "configure:1692: checking type of an argument of monitorEnter()" >&5 +echo "configure:1665: checking type of an argument of monitorEnter()" >&5 ac_monitor_t=`$ac_grep monitorEnter $ac_jincdir/monitor.h | $ac_sed 's/(/ /' | $ac_sed "s/.* \(.*\));.*/\1/"` echo "$ac_t""$ac_monitor_t" 1>&6 cat >> confdefs.h <