Commit Graph

380 Commits

Author SHA1 Message Date
Adam Megacz
b1d246853d gc.h: (GC_CreateThread) This function is now exposed on all Win32 platforms.
2002-02-06  Adam Megacz <adam@xwt.org>

        * boehm-gc/include/gc.h: (GC_CreateThread) This function is
        now exposed on all Win32 platforms.
        * boehm-gc/win32_threads.c: (GC_CreateThread) This now
        compiles on Win32; it invokes CreateThread() if GC is built
        as a DLL; otherwise it registers the thread.
        * boehm-gc/misc.c (GC_init): Initialize GC_allocate_ml in case
        libgcjgc was not built as a DLL.

From-SVN: r49563
2002-02-07 03:56:40 +00:00
Adam Megacz
7e57448e82 2002-02-01 Adam Megacz <adam@xwt.org>
* boehm-gc on win32 now automatically detects if it is being built
	as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html

From-SVN: r49426
2002-02-02 04:23:13 +00:00
Bryce McKinlay
5867245e31 This commit was generated by cvs2svn to compensate for changes in r49361,
which included commits to RCS files with non-trunk default branches.

From-SVN: r49362
2002-01-31 02:48:54 +00:00
Bryce McKinlay
c2206235fb Initial revision
From-SVN: r49359
2002-01-31 02:48:44 +00:00
David Edelsohn
6cb3421f1f gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
* include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.
	* include/private/gcconfig.h (RS6000): Add 64-bit AIX support.
	Define USE_GENERIC_PUSH_REGS.  Use AIX _data and _end symbols for
	DATASTART and DATAEND roots.
	* rs6000_mach_dep.s: Add function descriptor and traceback table.

From-SVN: r49218
2002-01-25 13:06:24 -05:00
Jeff Sturm
a5b2a65b97 dyn_load.c: Define ElfW (if needed) for all targets, not just GNU/Linux.
* dyn_load.c: Define ElfW (if needed) for all targets,
	not just GNU/Linux.
	(GC_FirstDLOpenedLinkMap): Use it.
	(GC_register_dynamic_libraries_dl): Use it.
	* include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS
	for sparcv9.

From-SVN: r48086
2001-12-17 03:24:50 +00:00
Craig Rodrigues
f28c857fc3 re PR other/3725 (changed to configure.in's for autoconf 2.50)
2001-12-16  Craig Rodrigues  <rodrigc@gcc.gnu.org>

        PR other/3725
        * configure.in: Add AC_SUBST(target_alias).
        * configure: Regenerated.

From-SVN: r48063
2001-12-16 07:12:04 +00:00
Loren J. Rittle
2b2ec3fbff linux_threads.c (WRAP_FUNC(pthread_join)): Remove special case for GC_FREEBSD_THREADS.
* linux_threads.c (WRAP_FUNC(pthread_join)): Remove special
	case for GC_FREEBSD_THREADS.
	* configure.in (*-*-freebsd*): Clarify warning.
	* configure: Rebuilt.

From-SVN: r47347
2001-11-26 17:40:34 +00:00
Loren J. Rittle
dc8a02024d solaris_threads.h: Update to use GC_SOLARIS_THREADS.
* include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.

Co-Authored-By: Andreas Tobler <toa@pop.agri.ch>

From-SVN: r46451
2001-10-23 23:21:39 +00:00
Bryce McKinlay
aeb76991de linux_threads.c (GC_init_parallel): Do not declare as a static constructor.
* linux_threads.c (GC_init_parallel): Do not declare as a static
	constructor.
	* include/gc.h (GC_init): Declare here. Add description.
	* include/private/gc_priv.h (GC_init): Remove declaration.

From-SVN: r46420
2001-10-23 01:28:56 +01:00
Loren J. Rittle
f6d882d975 gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
* include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.
	* linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on
	GC_FREEBSD_THREADS, handle strange interaction between system
	pthread implementation and boehm-gc signal-handler architecture.
	* tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS,
	set stack.
	* include/private/gcconfig.h (configuration keyed off FREEBSD):
	Define SIG_SUSPEND, SIG_THR_RESTART.  Do not define
	MPROTECT_VDB when GC_FREEBSD_THREADS is defined.

From-SVN: r46307
2001-10-17 04:55:30 +00:00
Loren J. Rittle
33129152a0 Makefile.am (test.o): Find tests/test.c in $(srcdir).
* Makefile.am (test.o): Find tests/test.c in $(srcdir).
	* Makefile.in: Rebuilt.

From-SVN: r46304
2001-10-17 04:17:09 +00:00
Bryce McKinlay
4c7726b172 Makefile.am, [...]: Imported GC 6.1 Alpha 1 and merged local changes.
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1
	and merged local changes.

From-SVN: r46283
2001-10-16 10:01:40 +01:00
Bryce McKinlay
dd87cbbf65 This commit was generated by cvs2svn to compensate for changes in r46260,
which included commits to RCS files with non-trunk default branches.

From-SVN: r46261
2001-10-15 05:58:04 +01:00
Bryce McKinlay
8a1dcd96e7 Initial revision
From-SVN: r46258
2001-10-15 05:57:59 +01:00
Rainer Orth
9c383523a3 solaris_threads.c (MAX_ORIG_STACK_SIZE): Provide special Solaris 2/Intel definition.
* solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide special
	Solaris 2/Intel definition.

	* configure.in (i?86-*-solaris2.[89]*): Define
	SOLARIS25_PROC_VDB_BUG_FIXED.
	* include/private/gcconfig.h [I386 && SUNOS5]: Use it.
	* configure: Regenerate.

	* include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext.
	(DATAEND): Define using _end.

From-SVN: r45825
2001-09-26 13:22:03 +00:00
Per Bothner
1a8a749c24 Makefile.am: New file.
* include/Makefile.am:  New file.  It defines include_HEADERS.
	* Makefile.am (SUBDIRS):  New macro, set to include.
	* configure.in (AC_OUTPUT):  Add include/Makefile.

From-SVN: r45555
2001-09-11 18:57:03 -07:00
Tom Tromey
0ff95153a1 configure: Rebuilt.
* configure: Rebuilt.
	* configure.in: Always ask gcc for threads package.

From-SVN: r45052
2001-08-20 16:40:46 +00:00
Tom Tromey
5a2586cf8f Makefile.am, [...]: Imported GC 6.0 and merged local changes.
* Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 and
	merged local changes.

From-SVN: r44994
2001-08-18 01:04:43 +00:00
Tom Tromey
61f38a77a0 Initial revision
From-SVN: r44969
2001-08-17 18:39:15 +00:00
David Billinghurst
a2d6e91582 configure.in: POSIX threads on cygwin does not link with -lpthreads.
2001-08-02  David Billinghurst <David.Billinghurst>

	* configure: Rebuilt.
	* configure.in:  POSIX threads on cygwin does not link with
	-lpthreads.

From-SVN: r44574
2001-08-02 16:53:38 +00:00
Tom Tromey
57b74bf98f re PR bootstrap/3281 (Installation failure (mkinstalldirs))
Fix for PR bootstrap/3281:
	* aclocal.m4, configure, Makefile.in: Rebuilt.
	* acinclude.m4: Set mkinstalldirs for in-tree build.

From-SVN: r43738
2001-07-03 22:30:01 +00:00
Richard Henderson
f6823cb5cd alpha_mach_dep.s: Mark call-saved FP registers.
* alpha_mach_dep.s: Mark call-saved FP registers.
	* include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS.
	* configure.in (alpha*): Re-enable alpha_mach_dep.s
	* configure: Rebuild.

From-SVN: r43593
2001-06-26 15:21:26 -07:00
Tom Tromey
c3b488478b aclocal.m4, configure: Rebuilt.
* aclocal.m4, configure: Rebuilt.
	* acinclude.m4: Find configure.host in srcdir.

From-SVN: r43324
2001-06-13 16:38:39 +00:00
Alexandre Oliva
4a849291bc configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* acinclude.m4: Likewise.
* aclocal.m4, configure: Rebuilt.

From-SVN: r43107
2001-06-09 21:29:08 +00:00
Alexandre Oliva
01ef8751ce configure.in (AC_EXEEXT): Work around in case it expands to nothing, as in autoconf 2.50.
* configure.in (AC_EXEEXT): Work around in case it expands to
nothing, as in autoconf 2.50.
* configure: Rebuilt.

From-SVN: r43103
2001-06-09 20:31:13 +00:00
Tom Tromey
a5440f9ebf For PR bootstrap/3075:
* configure, aclocal.m4, Makefile.in: Rebuilt.
	* configure.in: Don't call AC_CONFIG_AUX_DIR or
	AC_CANONICAL_SYSTEM.
	* acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and
	AC_CANONICAL_SYSTEM here.
	* Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not
	boehm_gc_basedir.

From-SVN: r43033
2001-06-08 17:59:57 +00:00
Bryce McKinlay
8948cb3972 Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
* Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.
	(libgcjgc_la_SOURCES): Remove typo.
	* tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case.
	* Makefile.in: Rebuilt.

From-SVN: r42524
2001-05-24 08:28:39 +01:00
Bryce McKinlay
9110a741e3 Imported version version 6.0alpha7.
* README, README.Mac, README.OS2, README.QUICK, README.alpha,
	README.amiga, README.debugging, README.dj, README.hp, README.linux,
	README.rs6000, README.sgi, README.solaris2, README.uts,
	README.win32, SCoptions.amiga, backptr.h, barrett_diagram,
	dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h,
	gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h,
	hpux_irix_threads.c, makefile.depend, nursery.c,
	solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README,
	cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h,
	cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h,
	include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved
	files.

From-SVN: r42379
2001-05-21 09:35:14 +01:00
Bryce McKinlay
abdbd4a8ec This commit was generated by cvs2svn to compensate for changes in r42373,
which included commits to RCS files with non-trunk default branches.

From-SVN: r42374
2001-05-21 07:39:25 +01:00
Bryce McKinlay
f54d42879f Initial revision
From-SVN: r42370
2001-05-21 07:39:23 +01:00
Hans Boehm
18d6fb9765 configure.host: Build with -fexceptions.
* configure.host: Build with -fexceptions.
	* linux_threads.c: Remember which thread stopped world for

From-SVN: r42362
2001-05-20 22:36:34 +00:00
Alexandre Oliva
334564454e ltconfig, [...]: Upgraded to libtool 1.4a 1.641.2.254.
* ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,
ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254.  Rebuilt a number
of subdir/configure scripts to use the new libtool.m4.

From-SVN: r42351
2001-05-20 18:55:59 +00:00
Loren J. Rittle
62aa6b06ab configure.in: Add support for --enable-threads=posix on FreeBSD.
* configure.in: Add support for --enable-threads=posix on FreeBSD.
        * configure: Rebuilt.

From-SVN: r41845
2001-05-04 20:19:36 +00:00
Jeffrey Oldham
aa32d8f61e gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
2001-05-01  Jeffrey Oldham  <oldham@codesourcery.com>

	* gc_priv.h (UNLOCK): Change type of GC_noop1 argument.
	(GC_noop1): Change declaration to take one argument.

From-SVN: r41738
2001-05-01 21:44:02 +00:00
Alexandre Oliva
2d65a52ece configure.in: Obtain THREADS with `gcc -v'.
* configure.in: Obtain THREADS with `gcc -v'.
* configure: Rebuilt.

From-SVN: r41571
2001-04-26 04:29:57 +00:00
Hans Boehm
c8cd06a813 misc.c: Back out buggy changes to stack clearing code.
* misc.c: Back out buggy changes to stack clearing code.
	Reduce CLEAR_SIZE to 1/4 of original value to reduce time
	spent clearing memory.

From-SVN: r41172
2001-04-06 17:11:43 -07:00
Hans Boehm
41029b884a finalize.c: - Accomodate finalization requests for static objects.
2001-04-04  Hans Boehm  <hans_boehm@hp.com>

	* finalize.c:
	- Accomodate finalization requests for static objects.
	  (Will be required by hash synchronization.  May be needed
	  in some configurations now.)

	* gc_priv.h:
	- Define MIN_WORDS.  All allocation requests are rounded
	  up to at least this size.  Removes a subtle assumption that
	  Java objects have a 2 word header.

	* gcconfig.h:
	- Adjust Linux/IA64 configuration for non-ancient kernels.
	  (Necessary fix for IA64.)

	* linux_threads.c:
	- Fix syntax error in currently unused code.  Will be needed
	  for Linux/PA-RISC.

	* malloc.c:
	- Handle MIN_WORDS.

	* misc.c:
	- Handle MIN_WORDS.
	- Change stack cleaning code to typically clear about one tenth
	  the memory it used to in the threads configuration.  Occasionally
	  still clear more.  (This is really a fix for a long-standing
	  and fairly significant performance bug with threads.)

	* os_dep.c:
	- Fix the code for finding the beginning of the data segment under
	  Linux.  I believe this is necessary for some IA64 Linux
	  distributions.  It will also helo other platforms, though those
	  may additionally require a gcconfig.h adjustment.  (This basically
	  works around the absence of a data_start or __data_start
	  definition in glibc.)

	* test.c:
	- Handle rounding due to MIN_WORDS.

From-SVN: r41102
2001-04-05 00:14:18 +00:00
Tom Tromey
ee402fc993 * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.
From-SVN: r40756
2001-03-22 19:03:01 +00:00
Rod Stewart
9346c5a7d8 gcconfig.h: Check for __arm__', not arm'.
2001-01-23  Rod Stewart <stewart@lab43.org>

	* gcconfig.h: Check for `__arm__', not `arm'.

From-SVN: r40698
2001-03-21 18:38:16 +00:00
Tom Tromey
3632fe93f1 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (gctest_LDFLAGS): new macro.

From-SVN: r40697
2001-03-21 18:35:41 +00:00
Tom Tromey
de5e27beba Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (TESTS_ENVIRONMENT): New macro.

From-SVN: r40568
2001-03-17 01:01:29 +00:00
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
Hans Boehm
ca5fc74676 gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.
2000-12-23  Hans Boehm  <Hans_Boehm@hp.com>

	* gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice.

From-SVN: r38476
2000-12-23 02:23:27 +00:00
Bryce McKinlay
315d4c2711 * Makefile.dist: Renamed from Makefile.orig.
From-SVN: r38276
2000-12-15 08:13:12 +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
Geoffrey Keating
c9e02e5dc3 gcconfig.h: Add new case for powerpc EABI.
* gcconfig.h: Add new case for powerpc EABI.
	[PPC]: Handle embedded OS for powerpc simulator.

From-SVN: r38179
2000-12-10 22:57:37 +00: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
Anthony Green
9d40a6660e re GNATS libgcj/230 (Function GC_debug_object_start does not exist)
Fix for PR libgcj/230:
        * mark.c (GC_mark_from_mark_stack): Remove call to
        GC_debug_object_start.
        * gc_priv.h (GC_debug_object_start): Remove prototype.

From-SVN: r36145
2000-09-04 21:46:26 +00:00
Alexandre Oliva
7fedceab9e * gcconfig.h [OSF1] (_end): Declare as `int'.
From-SVN: r35749
2000-08-16 18:17:59 +00:00
Tom Tromey
5f51a7528f gc_priv.h (GC_generic_malloc_inner): Prototype.
* gc_priv.h (GC_generic_malloc_inner): Prototype.
	(GC_generic_malloc): Likewise.
	(GC_add_to_black_list_normal): Likewise.
	(GC_find_header): Likewise.
	(GC_ADD_TO_BLACK_LIST_NORMAL): Cast bits argument to word.
	* gc_mark.h (GC_find_start): Prototype.
	(GC_signal_mark_stack_overflow): Likewise.

From-SVN: r35431
2000-08-02 19:46:07 +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
Alexandre Oliva
14400a5922 * dyn_load.c (GC_scratch_last_end_ptr): Don't declare a #define.
From-SVN: r35217
2000-07-24 04:06:16 +00:00
Bryce McKinlay
aec5061ba2 Imported version 5.1.
2000-06-20  Bryce McKinlay  <bryce@albatross.co.nz>

	Imported version 5.1.
	* acinclude.m4: Push version to 5.1.

From-SVN: r34610
2000-06-20 02:04:58 +01:00
Bryce McKinlay
2caa2a6997 This commit was generated by cvs2svn to compensate for changes in r34605,
which included commits to RCS files with non-trunk default branches.

From-SVN: r34606
2000-06-20 00:42:00 +01:00
Andrew Haley
437fa02616 os_dep.c (read): Pass two dummy args to syscall().
2000-06-19  Andrew Haley  <aph@cygnus.com>

        * os_dep.c (read): Pass two dummy args to syscall().

From-SVN: r34598
2000-06-19 18:46:45 +00:00
Bryce McKinlay
402823c45e Imported 5.0 release version.
2000-05-11  Bryce McKinlay  <bryce@albatross.co.nz>

        Imported 5.0 release version.
        * acinclude.m4: Increment version to 5.0.

From-SVN: r33832
2000-05-10 22:59:16 +01:00
Bryce McKinlay
9444af72b4 Imported version 5.0alpha7.
2000-05-07  Bryce McKinlay  <bryce@albatross.co.nz>

	Imported version 5.0alpha7.
        * acinclude.m4: Update version to 5.0a7.

From-SVN: r33750
2000-05-07 01:43:49 +01:00
Bryce McKinlay
179977c13a This commit was generated by cvs2svn to compensate for changes in r33746,
which included commits to RCS files with non-trunk default branches.

From-SVN: r33747
2000-05-07 00:59:01 +01:00
Tom Tromey
72a107fe0a Fixed ChangeLog merge snafu
From-SVN: r33453
2000-04-27 00:45:13 +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
Tom Tromey
a3fbf5c383 * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux.
From-SVN: r33367
2000-04-24 04:57:20 +00:00
Bryce McKinlay
ef8b01f3d9 Makefile.am, [...]: irix_threads.c is now hpux_irix_threads.c.
* Makefile.am, Makefile.in: irix_threads.c is now
        hpux_irix_threads.c.
        * Makefile.orig: Updated from gc distribution Makefile.

From-SVN: r33255
2000-04-19 13:47:53 +01: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
Bryce McKinlay
56293c2be2 This commit was generated by cvs2svn to compensate for changes in r33244,
which included commits to RCS files with non-trunk default branches.

From-SVN: r33245
2000-04-19 03:29:16 +01:00
Bryce McKinlay
0eebf9e5c7 Initial revision
From-SVN: r33241
2000-04-19 03:29:14 +01:00
Anthony Green
89afab9c44 misc.c (GC_enable): Always define GC_enable and GC_disable.
2000-03-26  Anthony Green  <green@redhat.com>

	* misc.c (GC_enable): Always define GC_enable and GC_disable.

From-SVN: r32867
2000-04-02 15:36:43 +00:00
Tom Tromey
9339399091 gc.h (dlopen): Define as GC_dlopen on Linux.
* gc.h (dlopen): Define as GC_dlopen on Linux.
	(GC_dlopen): Declare on Linux.
	* dyn_load.c (GC_dlopen): Define for Linux.

From-SVN: r31970
2000-02-14 21:53:27 +00:00
Anthony Green
72af8e4e63 gcconfig.h (DATASTART): Add missing extern declaration for data_start on powerpc.
* gcconfig.h (DATASTART): Add missing extern declaration
	for data_start on powerpc.

From-SVN: r31677
2000-01-29 01:17:03 +00:00
Bryce McKinlay
54f76845c5 linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case.
1999-12-22  Bryce McKinlay  <bryce@albatross.co.nz>

        * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the
        NO_SIGNALS case.

From-SVN: r31083
1999-12-24 01:08:34 +00:00
Anthony Green
d352598f80 Alpha Linux changes.
From-SVN: r31030
1999-12-20 05:55:34 +00:00
Anthony Green
abd995697d gcconfig.h: Use libgcj hack for Alpha Linux.
* gcconfig.h: Use libgcj hack for Alpha Linux.
       Undefine MPROTEXT_VDB (from Jeff Sturm).
       * os_dep.c: Remove Alpha Linux hacks.
       * misc.c: Ditto.

From-SVN: r31028
1999-12-20 02:34:52 +00: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
Anthony Green
2441e02658 Oops. Date was wrong.
From-SVN: r30876
1999-12-12 18:56:25 +00:00
Anthony Green
d0017c11ff gcconfig.h (DATASTART): Define as (&data_start) for PowerPC Linux.
* gcconfig.h (DATASTART): Define as (&data_start) for PowerPC
        Linux.
        (DYNAMIC_LOADING): Define for PowerPC Linux.
        * os_dep.c: Remove some special cases for PowerPC Linux.
        * misc.c (GC_init_inner): Don't call GC_init_linux_data_start
        for PowerPC Linux.

From-SVN: r30873
1999-12-12 18:06:08 +00:00
Tom Tromey
3442c71cfc Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c.

From-SVN: r30396
1999-11-04 19:39:50 +00:00
Tom Tromey
a57e0ef582 misc.c (GC_init_inner): Don't call GC_init_linuxppc().
* misc.c (GC_init_inner): Don't call GC_init_linuxppc().
	(GC_thr_init): Don't declare.

From-SVN: r30395
1999-11-04 18:53:24 +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
d83e44be33 * gcconfig.h: Merged in local changes from old config.h.
From-SVN: r30376
1999-11-03 17:26:59 +00:00
Bryce McKinlay
765de7ea98 gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.
1999-11-02  Bryce McKinlay  <bryce@albatross.co.nz>

        * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386.

From-SVN: r30364
1999-11-03 03:04:52 +00:00
Tom Tromey
a3feaa92e0 * quick_threads.c: Include gcconfig.h, not boehm-config.h.
From-SVN: r30360
1999-11-03 01:26:31 +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
85f29b3bb5 This commit was generated by cvs2svn to compensate for changes in r30327,
which included commits to RCS files with non-trunk default branches.

From-SVN: r30328
1999-11-01 20:48:52 +00:00
Tom Tromey
fd6a6309db Initial revision
From-SVN: r30324
1999-11-01 20:48:50 +00:00
Steve Chamberlain
23915d8b70 I am committing the following changes to enable the picojava port.
I am committing the following changes to enable the picojava port.  I
will also forward them to Boehm.

From-SVN: r29767
1999-10-02 15:50:57 +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
47359a8efa gc_priv.h: Merged IRIX thread changes from include/private/gc_priv.h.
Tue Aug 10 00:08:29 1999  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>

	* gc_priv.h: Merged IRIX thread changes from
	include/private/gc_priv.h.

From-SVN: r28740
1999-08-17 22:46:02 +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
fa94e3a95d gc_priv.h (GC_test_and_set): Implementation for Linux PPC from Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.
* gc_priv.h (GC_test_and_set): Implementation for Linux PPC from
	Franz Sirl <Franz.Sirl-kernel@lauterbach.com>.

From-SVN: r28480
1999-08-04 03:26:15 +00:00
Tom Tromey
6cf31ce442 * aclocal.m4, configure: Rebuilt for new libtool.
From-SVN: r28436
1999-08-03 03:09:12 +00:00
Alexandre Oliva
71c7a006e5 mips_sgi_mach_dep.s: Enable PIC option.
1999-07-31  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* mips_sgi_mach_dep.s: Enable PIC option.

From-SVN: r28363
1999-07-31 23:50:05 +00:00
Tom Tromey
5163d20e29 * config.h (MPROTECT_VDB): Don't define on Linux.
From-SVN: r28179
1999-07-19 19:27:56 +00:00
Alexandre Oliva
14eee79459 Makefile.am (.s.lo): Avoid `#line' directives.
1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* Makefile.am (.s.lo): Avoid `#line' directives.
	* Makefile.in: Rebuilt.

From-SVN: r28175
1999-07-19 19:17:22 +00:00
Alexandre Oliva
44ebe2d0ac Makefile.am (*-recursive, [...]): Automake does not generate *-recursive for this Makefile, use *-am instead.
1999-07-19  Alexandre Oliva  <oliva@dcc.unicamp.br>

	* Makefile.am (*-recursive, *-am, *-multi): Automake does not
	generate *-recursive for this Makefile, use *-am instead.
	* Makefile.in: Rebuilt.

From-SVN: r28173
1999-07-19 19:11:54 +00:00
Tom Tromey
70f7276781 Initial revision
From-SVN: r27855
1999-06-30 20:04:37 +00:00
Tom Tromey
56ba54b4c0 This commit was generated by cvs2svn to compensate for changes in r27853,
which included commits to RCS files with non-trunk default branches.

From-SVN: r27854
1999-06-30 13:05:33 +00:00
Alexandre Oliva
2fa39a0ec6 Makefile.am (.s.lo): Renamed from `.s.o'.
1999-06-30  Alexandre Oliva  <oliva@dcc.unicamp.br>
	* Makefile.am (.s.lo): Renamed from `.s.o'.
	* Makefile.in: Rebuilt.

From-SVN: r27850
1999-06-30 12:25:07 +00:00
Tom Tromey
139386ba56 Alpha patch from Jeff Sturm:
* os_dep.c (GC_init_linuxalpha): New function.
	* misc.c: Initialize for alpha linux.
	* gc_priv.h (GC_test_and_set): Define for alpha.
	* config.h: Don't assume __data_start on alpha.

From-SVN: r27670
1999-06-21 15:39:02 +00:00
Tom Tromey
f687c79ec7 Makefile.in: Rebuilt.
* Makefile.in: Rebuilt.
	* Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not
	-release.

From-SVN: r27668
1999-06-21 14:57:44 +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
Anthony Green
37b454bd0b mach_dep.c (GC_push_regs): FreeBSD-elf support (from Carlo Dapor <carlo@vis.ethz.ch>).
* mach_dep.c (GC_push_regs): FreeBSD-elf support (from
	Carlo Dapor <carlo@vis.ethz.ch>).

From-SVN: r27580
1999-06-17 23:22:51 +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
b694131f21 * linux_threads.c: Don't reference __pthread_initial_thread_bos.
From-SVN: r26711
1999-04-30 16:00:28 +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
11bbe619e3 os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h.
* os_dep.c: glibc 2.1 requires asm/sigcontext.h, not
	sigcontext.h.  From Matthias Klose <doko@itso.de>.

From-SVN: r26574
1999-04-21 09:42:28 +00:00
Tom Tromey
5e651bf243 config.h (__start): Declare as `int' in alpha/OSF1 case.
* config.h (__start): Declare as `int' in alpha/OSF1 case.  From
	David Pettersson <dapet@mai.liu.se>

From-SVN: r26490
1999-04-16 09:56:29 +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
Tom Tromey
537cff9c87 Initial revision
From-SVN: r26256
1999-04-07 08:01:41 +00:00
Tom Tromey
090aab5650 Initial revision
From-SVN: r26255
1999-04-07 08:01:40 +00:00
Tom Tromey
2f5f7a08c8 Initial revision
From-SVN: r26254
1999-04-07 08:01:39 +00:00
Tom Tromey
18a4bc4eab Initial revision
From-SVN: r26253
1999-04-07 08:01:38 +00:00
Tom Tromey
d048a803cf Initial revision
From-SVN: r26252
1999-04-07 08:01:37 +00:00
Tom Tromey
fdcddcb1df Initial revision
From-SVN: r26251
1999-04-07 08:01:36 +00:00
Tom Tromey
21a6f56df7 Initial revision
From-SVN: r26250
1999-04-07 08:01:35 +00:00
Tom Tromey
b6009c6ed6 Initial revision
From-SVN: r26249
1999-04-07 08:01:34 +00:00
Tom Tromey
2dc1801226 Initial revision
From-SVN: r26248
1999-04-07 08:01:32 +00:00
Tom Tromey
5660904616 Initial revision
From-SVN: r26247
1999-04-07 08:01:31 +00:00
Tom Tromey
73ffefd017 Initial revision
From-SVN: r26246
1999-04-07 08:01:30 +00:00
Tom Tromey
c46bb2fd3d Initial revision
From-SVN: r26245
1999-04-07 08:01:29 +00:00
Tom Tromey
6ad7c37da5 Initial revision
From-SVN: r26244
1999-04-07 08:01:27 +00:00