Commit Graph

26 Commits

Author SHA1 Message Date
Bryce McKinlay e301621d19 For boehm-gc:
* configure.in: Rename THREADLIB to THREADLIBS.
	* Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This
	ensures that we link the correct version of the linuxthreads semaphore
	functions.
	* Makefile.in: Rebuilt.
	* configure: Rebuilt.

	* linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the
	list of signals which are not blocked during suspend in the NO_SIGNALS
	case.

For libjava:
	* Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that
	the correct versions of various linuxthreads functions get linked.
	* Makefile.in: Rebuilt.
	* java/lang/natThread.cc (finalize_native): New static function. Call
	_Jv_ThreadDestroyData.
	(initialize_native): Register finalizer for "data".
	* include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype.
	(_Jv_ThreadDestroyData): New prototype.
	* include/win32-threads.h: Ditto.
	* include/no-threads.h: Ditto.
	* posix-threads.cc (_Jv_ThreadInitData): Implement new prototype.
	(_Jv_ThreadDestroyData): New function. Free native thread "data" and
	move mutex and condition variable destroy code from:
	(really_start): ...here.
	(_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED.
	* win32-threads.cc (_Jv_ThreadInitData): Implement new prototype.
	(_Jv_ThreadDestroyData): Implemented.
	* nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t".
	(_Jv_AllocArray): Ditto.

From-SVN: r38557
2000-12-30 12:18:39 +00:00
Alexandre Petit-Bianco f2beb7ef55 Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
2000-12-11  Alexandre Petit-Bianco  <apbianco@cygnus.com>

        * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS.
        * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and
        set accordingly.
        * Makefile.in: Rebuilt.
        * configure: Likewise.

(http://sources.redhat.com/ml/java-patches/2000-q4/msg00237.html)

From-SVN: r38208
2000-12-12 12:52:54 -08:00
Bryce McKinlay 0476f09843 configure.in: Define GC_GCJ_SUPPORT.
2000-09-30  Bryce McKinlay  <bryce@albatross.co.nz>

	* configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in
	cross-compile configuration only.
	* Makefile.am: Build gcj_mlc.c.
	* configure, Makefile.in: Rebuilt.

From-SVN: r36678
2000-09-30 10:54:21 +01:00
Alexandre Oliva 5f5272039d ltconfig, [...]: Updated from libtool multi-language branch, to work around Solaris' /bin/sh bug.
* ltconfig, ltmain.sh, libtool.m4: Updated from libtool
multi-language branch, to work around Solaris' /bin/sh bug.  Rebuilt
all affected `configure' scripts.

From-SVN: r36673
2000-09-30 06:11:54 +00:00
Alexandre Oliva 2f7bf5b7eb acinclude.m4: Include libtool macros from the top level.
* acinclude.m4: Include libtool macros from the top level.
* aclocal.m4, configure: Rebuilt.

From-SVN: r36287
2000-09-10 07:43:14 +00:00
Alexandre Oliva c030bee9a8 configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
* configure.in (THREADS): Don't --enable-threads on IRIX <= 5.*.
* configure: Rebuilt.

From-SVN: r35218
2000-07-24 04:20:09 +00:00
Jakub Jelinek 70635f1e04 <<<<<<< ChangeLog
2000-04-26  Jakub Jelinek  <jakub@redhat.com>

	* gcconfig.h (SPARC): Define ALIGNMENT to 8 for 64bit SPARC.
	(SPARC/LINUX): Use GC_SysVGetDataStart instead of LINUX_DATA_START
	- sparc glibc does not provide it.
	(SAVE_CALL_CHAIN, ASM_CLEAR_CODE): Define on sparc*-linux*.
	Make STACKBOTTOM depend on the wordsize.
	* os_dep.c (GC_SysVGetDataStart): Compile in on sparc*-linux*.
	(struct frame): Declare on sparc*-linux*.
	(GC_save_callers): Bias the frame pointers if needed (sparc64).
	* mach_dep.c (GC_save_regs_in_stack): Optimize on sparc32.
	Implement on sparc64.
	(GC_clear_stack_inner): Implement on sparc64.
	* gc_priv.h (GC_test_and_set): Implement for sparc.
	* linux_threads.c (GC_suspend_handler, GC_push_all_stacks): Use

From-SVN: r33452
2000-04-27 00:43:33 +00:00
Bryce McKinlay 93002327db Imported version version 5.0alpha6.
* acinclude.m4: Bump version to 5.0a6.
	* configure.in: Don't use alpha_mach_dep.s.
	* include/private/config.h, irix_threads.c gc_watcom.asm: Delete
	obsolete files.

From-SVN: r33251
2000-04-19 11:10:01 +01:00
Tom Tromey edcf698d87 aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: Changed version to 5.0a4.
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_LDFLAGS): Changed version to 1:1:0.

From-SVN: r30893
1999-12-13 20:15:51 +00:00
Tom Tromey 81976f93fe configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Removed qt threads case.
	* dyn_load.c: Don't mention QUICK_THREADS.
	* os_dep.c: Don't mention QUICK_THREADS.
	* misc.c: Don't mention QUICK_THREADS.
	* gcconfig.h: Don't mention QUICK_THREADS.
	* gc_priv.h: Removed QUICK_THREADS code.
	* quick_threads.c: Removed.

From-SVN: r30394
1999-11-04 17:25:07 +00:00
Tom Tromey 89de952f8f configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Don't create boehm-config.h.
	* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_SOURCES): Reference gcconfig.h, not
	config.h.
	($(all_objs)): Depend on gcconfig.h.
	* gc_priv.h: Reference GCCONFIG_H, not CONFIG_H.
	* gcconfig.h: Define GCCONFIG_H, not CONFIG_H.
	* config.h: Removed.

From-SVN: r30358
1999-11-03 01:11:03 +00:00
Tom Tromey 20bbd3cd53 Merged GC 5.0alpha4 with local changes, plus:
* Makefile.in: Rebuilt.
	* Makefile.am (gctest_LDADD): Added THREADLIB.
	(TESTS): New macro.
	* configure: Rebuilt.
	* configure.in (INCLUDES): New subst.

From-SVN: r30332
1999-11-01 23:15:51 +00:00
Tom Tromey 54ce745286 aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
	* acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide

From-SVN: r29698
1999-09-28 20:14:11 +00:00
Rainer Orth 61e922d260 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (toolexeclibdir): Add $(MULTISUBDIR) even for native
	builds.

	* configure: Rebuilt.
	* configure.in: Properly align --help output, fix capitalization
	and punctuation.
	* acinclude.m4: Likewise.

From-SVN: r28638
1999-08-10 05:28:31 +00:00
Tom Tromey 45fa5f9f14 Removed extra ';;'
From-SVN: r28516
1999-08-04 20:57:53 +00:00
Tom Tromey d42058b1a7 * configure.in: Added missing `;;'. From Anthony Green.
From-SVN: r28510
1999-08-04 20:25:54 +00:00
Rainer Orth 276836f0fd configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.
Mon Aug  2 23:09:41 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4.

From-SVN: r28503
1999-08-04 19:51:34 +00:00
Tom Tromey 6cf31ce442 * aclocal.m4, configure: Rebuilt for new libtool.
From-SVN: r28436
1999-08-03 03:09:12 +00:00
Tom Tromey b48ed5683a Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (toolexeclibdir): Define as libdir when
	appropriate.
	* configure: Rebuilt.
	* configure.in (USE_LIBDIR): New conditional.

From-SVN: r27667
1999-06-21 13:03:47 +00:00
Tom Tromey 115dabb8f3 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Recognize all forms of alpha.

From-SVN: r27660
1999-06-21 11:14:41 +00:00
Gilles Zunino 14caa62fcb configure.in: Switch from irix threads to posix threads Defined IRIX_THREADS.
1999-05-05  Gilles Zunino  <Gilles.Zunino@hei.fr>
	* configure.in: Switch from irix threads to posix threads
	Defined IRIX_THREADS. Put mips_sgi_mach_dep.lo into machdep
	for mips architecture.
	* configure: Regenerate.

From-SVN: r26779
1999-05-05 11:46:18 +00:00
Tom Tromey 66deb2be59 libtoolized GC library. See ChangeLog for details.
Also a couple bug fixes:
	* dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as
	`weak'.
	* misc.c (GC_init_inner): If QUICK_THREADS defined, compute
	GC_stackbottom.

From-SVN: r26650
1999-04-26 14:15:05 +00:00
Tom Tromey 613f2fe6e6 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Don't use sparc_mach_dep.o for Solaris.  Reverts
	incorrect patch of 199-04-09.

From-SVN: r26450
1999-04-14 11:24:02 +00:00
Tom Tromey 649d3f8fbe configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Added support for alpha.
	From David Pettersson <dapet@mai.liu.se>.

From-SVN: r26449
1999-04-14 11:21:24 +00:00
Tom Tromey eba0e61dc2 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and
	solaris-threads.h.

From-SVN: r26407
1999-04-13 14:28:15 +00:00
Tom Tromey 1530be84fc Cygnus/libgcj changes to Boehm GC.
From-SVN: r26257
1999-04-07 08:01:42 +00:00