2000-04-26 Jakub Jelinek * 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 GC_save_regs_in_stack on sparc. 2000-04-23 Tom Tromey * gcconfig.h (DYNAMIC_LOADING): Define for PPC Linux. 2000-04-19 Bryce McKinlay 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. * Makefile.am, Makefile.in: irix_threads.c is now hpux_irix_threads.c. * Makefile.orig: Updated from gc distribution Makefile. 2000-03-26 Anthony Green * misc.c (GC_enable): Always define GC_enable and GC_disable. 2000-02-14 Tom Tromey * gc.h (dlopen): Define as GC_dlopen on Linux. (GC_dlopen): Declare on Linux. * dyn_load.c (GC_dlopen): Define for Linux. Fri Jan 28 17:13:20 2000 Anthony Green * gcconfig.h (DATASTART): Add missing extern declaration for data_start on powerpc. 1999-12-22 Bryce McKinlay * linux_threads.c: Don't block SIGINT, SIGQUIT, SIGTERM in the NO_SIGNALS case. 1999-12-19 Jeff Sturm * gcconfig.h: Define DATASTART for Alpha Linux. 1999-12-19 Anthony Green * gcconfig.h: Use libgcj hack for Alpha Linux. Undefine MPROTEXT_VDB (from Jeff Sturm). * os_dep.c: Remove Alpha Linux hacks. * misc.c: Ditto. 1999-12-13 Tom Tromey * 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. 1999-12-12 Anthony Green * 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. 1999-11-04 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (libgcjgc_la_SOURCES): Removed quick_threads.c. * misc.c (GC_init_inner): Don't call GC_init_linuxppc(). (GC_thr_init): Don't declare. * 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. 1999-11-03 Tom Tromey * gcconfig.h: Merged in local changes from old config.h. 1999-11-02 Bryce McKinlay * gcconfig.h: Don't define MPROTECT_VDB on Linux/i386. 1999-11-02 Tom Tromey * quick_threads.c: Include gcconfig.h, not boehm-config.h. * 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. 1999-11-01 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (gctest_LDADD): Added THREADLIB. (TESTS): New macro. * configure: Rebuilt. * configure.in (INCLUDES): New subst. 1999-09-29 Steve Chamberlain * config.h: Added picoJava target. * mach_dep.h (GC_push_regs): New code for picoJava. 1999-09-28 Tom Tromey * aclocal.m4, configure: Rebuilt. * acinclude.m4 (LIB_AC_PROG_CC, LIB_AC_PROG_CXX): Provide appropriate AC_PROG_ symbol. Tue Aug 10 00:08:29 1999 Rainer Orth * gc_priv.h: IRIX thread changes from include/private/gc_priv.h. Mon Aug 9 18:33:38 1999 Rainer Orth * 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. 1999-08-04 Tom Tromey * configure.in: Added missing `;;'. From Anthony Green. Mon Aug 2 23:09:41 1999 Rainer Orth * configure.in (machdep): Use mips_ultrix_mach_dep.s on Ultrix V4. 1999-08-03 Tom Tromey * gc_priv.h (GC_test_and_set): Implementation for Linux PPC from Franz Sirl . 1999-08-02 Tom Tromey * aclocal.m4, configure: Rebuilt for new libtool. 1999-07-31 Alexandre Oliva * mips_sgi_mach_dep.s: Enable PIC option. 1999-07-19 Tom Tromey * config.h (MPROTECT_VDB): Don't define on Linux. 1999-07-19 Alexandre Oliva * Makefile.am (.s.lo): Avoid `#line' directives. * Makefile.in: Rebuilt. 1999-07-19 Alexandre Oliva * Makefile.am (*-recursive, *-am, *-multi): Automake does not generate *-recursive for this Makefile, use *-am instead. * Makefile.in: Rebuilt. 1999-06-30 Alexandre Oliva * Makefile.am (.s.lo): Renamed from `.s.o'. * Makefile.in: Rebuilt. 1999-06-21 Tom Tromey 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. * Makefile.in: Rebuilt. * Makefile.am (libgcjgc_la_LDFLAGS): Use -version-info, not -release. * Makefile.in: Rebuilt. * Makefile.am (toolexeclibdir): Define as libdir when appropriate. * configure: Rebuilt. * configure.in (USE_LIBDIR): New conditional. * configure: Rebuilt. * configure.in: Recognize all forms of alpha. 1999-06-17 Anthony Green * mach_dep.c (GC_push_regs): FreeBSD-elf support (from Carlo Dapor ). 1999-05-05 Gilles Zunino * 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. 1999-04-30 Tom Tromey * linux_threads.c: Don't reference __pthread_initial_thread_bos. 1999-04-26 Tom Tromey * dyn_load.c (GC_FirstDLOpenedLinkMap): Declare _DYNAMIC as `weak'. 1999-04-23 Tom Tromey * Makefile.in, configure: Rebuilt. * Makefile.am (EXTRA_LIBRARIES): Mention libgcjgc.la. (libgcjgc_la_SOURCES): Renamed. (libgcjgc_la_LIBADD): Likewise. (libgcjgc_la_DEPENDENCIES): Likewise. (EXTRA_libgcjgc_la_SOURCES): Likewise. (gctest_LDADD): Use libgcjgc.la. (all_objs): Mention libgcj_la_OBJECTS. (EXTRA_LTLIBRARIES): Renamed. (toollib_LTLIBRARIES): Likewise. (libgcjgc_la_LDFLAGS): New macro (toolexecdir): Renamed. (toolexeclibdir): Likewise. (toolexeclib_LTLIBRARIES): Likewise. (LTCOMPILE): Renamed; added libtool invocation. (LINK): Added libtool invocation. (.s.o): use LTCOMPILE. * configure.in: Call AM_PROG_LIBTOOL. (target_all): Set to libgcjgc.la. Mention `.lo' forms of object files. 1999-04-21 Tom Tromey * misc.c (GC_init_inner): If QUICK_THREADS defined, compute GC_stackbottom. * os_dep.c: glibc 2.1 requires asm/sigcontext.h, not sigcontext.h. From Matthias Klose . 1999-04-16 Tom Tromey * config.h (__start): Declare as `int' in alpha/OSF1 case. From David Pettersson 1999-04-14 Tom Tromey * configure: Rebuilt. * configure.in: Don't use sparc_mach_dep.o for Solaris. Reverts incorrect patch of 199-04-09. * configure: Rebuilt. * configure.in: Added support for alpha. From David Pettersson . 1999-04-13 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (libgcjgc_a_SOURCES): Added solaris-threads.c and solaris-threads.h. 1999-04-09 Tom Tromey * configure: Rebuilt. * configure.in: Use sparc_mach_dep.s when building on Solaris. 1999-02-23 Tom Tromey * configure: Rebuilt. * configure.in: For Linux, define _REENTRANT. For Solaris, define SOLARIS_THREADS and _SOLARIS_PTHREADS. 1999-02-18 Tom Tromey * quick_threads.c (GC_push_all_stacks): Change order of arguments to GC_push_all_stacks depending on STACK_GROWS_DOWN define. Check for case where LO is NULL. 1999-02-10 Tom Tromey * aclocal.m4, configure, Makefile.in: Rebuilt. * acinclude.m4: Updated to be used with automake 1.4. * configure.in: Renamed libgc to libgcjgc. Updated to be used with automake 1.4. * Makefile.am (EXTRA_LIBRARIES): Renamed libgc to libgcjgc. (libgcjgc_a_SOURCES): Likewise. (libgcjgc_a_LIBADD): Likewise. (libgcjgc_a_DEPENDENCIES): Likewise. (EXTRA_libgcjgc_a_SOURCES): Likewise. (gctest_LDADD): Likewise. (all_objs): Likewise. 1999-01-08 Tom Tromey * configure: Rebuilt. * configure.in: Define LINUX_THREADS if using POSIX threads on Linux. * gc_priv.h (GC_test_and_set): Put return type into definition. 1998-11-24 Andrew Haley * Makefile.am: add support for eCos. In particular, add C++ support for compiling the file ecos.cc. * ecos.cc: new file. * acinclude.m4: add C++ support. * aclocal.m4: likewise * config.h: add eCos support. * configure: likewise * configure.in: likewise * misc.c (GC_write): add eCos support. * os_dep.c (tiny_sbrk): add eCos support. Thu Dec 10 18:24:34 1998 Warren Levy * misc.c (GC_init_inner): Moved STACKBASE code to os_dep.c. * os_dep.c (GC_get_stack_base): Moved STACKBASE code from misc.c. 1998-11-23 Tom Tromey * configure.host (boehm_gc_cflags): Don't add `-O2'. 1998-11-20 Andrew Haley * Makefile.am, Makefile.in, configure.host: tx39 build option "-G 0" added. 1998-11-17 Tom Tromey * configure: Rebuilt. * configure.in: Switch on host, not target. 1998-11-16 Tom Tromey * gc_priv.h (GC_debug_object_start): Declare. * mark.c (GC_mark_from_mark_stack): Call GC_debug_object_start. * gc.h (GC_debug_register_finalizer_no_order, GC_register_finalizer_no_order): Declare. (GC_REGISTER_FINALIZER_NO_ORDER): New macro. * dbg_mlc.c (GC_debug_register_finalizer_no_order): New function. (GC_debug_generic_malloc): Likewise. (GC_debug_object_start): new function. 1998-11-11 Tom Tromey * configure: Rebuilt. * configure.in: Recognize --enable-java-gc, not --enable-gc. Tue Nov 3 18:01:12 1998 Tom Tromey * dyn_load.c: Handle QUICK_THREADS case. 1998-10-21 Tom Tromey * configure: Rebuilt. * configure.in: Put cpp defines here, not in config.h. Recognize --enable-threads. Set INCLUDES. Create boehm-cflags file. Don't define PACKAGE or VERSION. * config.h (SILENT, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION): Don't define. * os_dep.c (GC_default_push_other_roots): Define when QUICK_THREADS defined. * misc.c: Added QUICK_THREADS case. * gc_priv.h: Added QUICK_THREADS case to define LOCK and UNLOCK. * config.h (THREADS): Define if QUICK_THREADS defined. * Makefile.in: Rebuilt. * Makefile.am (libgc_a_SOURCES): Added linux_threads.c, quick_threads.c. * quick_threads.c: New file. 1998-10-20 Tom Tromey * aclocal.m4, configure: Rebuilt. * acinclude.m4: Don't subst machine_dir or sys_dir. * configure.host: Removed unused code. Sun Oct 11 08:18:02 1998 Anthony Green * configure: Rebuilt. * configure.in: Fix typo in previous patch. Sun Oct 11 08:06:11 1998 Anthony Green * Makefile.in, aclocal.m4, configure: Rebuilt. * Makefile.am, acinclude.m4, configure.in: Add multilib support. * configure.host: Created. Tue Sep 1 10:58:15 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (lib_LIBRARIES): Use target_all. (EXTRA_LIBRARIES): New macro. * configure: Rebuilt. * configure.in: Recognize --enable-gc. Thu Aug 13 10:52:45 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (COMPILE): Define. (LINK): Likewise. (.s.o): Use MY_CFLAGS. * configure: Rebuilt. * configure.in (MY_CFLAGS): Define and subst. Wed Aug 12 11:41:43 1998 Tom Tromey * configure: Rebuilt. * configure.in: Added --with-cross-host argument. Use $with_cross_host to determine when cross-compiling. * config.h (SMALL_CONFIG): Don't define. * configure: Rebuilt. * configure.in: Define SMALL_CONFIG when cross-compiling. Tue Aug 11 11:41:25 1998 Tom Tromey * solaris_pthreads.c, misc.c, gc_priv.h, config.h, alloc.c, allchblk.c: Merged with 4.13a2 while preserving local changes. * Makefile.orig: Updated from Makefile in 4.13a2. * configure: Rebuilt. * configure.in: Updated version number to 4.13a2. On Solaris, don't build with -O when using gcc. Merged in version 4.13alpha2: * config.h (USE_MMAP): Re-enable on Solaris. * solaris_pthreads.c: Removed RCS Id line. * alpha_mach_dep.s: Removed RCS Id line. Wed Jul 22 15:38:12 1998 Tom Tromey * config.h (USE_MMAP): Don't define for Solaris. Wed Jun 10 12:51:41 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (libgc_a_SOURCES): Removed setjmp_t.c. * Makefile.in: Rebuilt. * Makefile.am (libgc_a_SOURCES): Removed add_gc_prefix.c. Thu May 14 15:32:58 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am ($(all_objs)): Depend on config.h. * config.h: [MIPS] If DATASTART_IS_ETEXT defined then define DATASTART as &_etext. * misc.c (GC_init_inner): If STACKBASE defined, then use it. * configure: Rebuilt. * configure.in: Define STACKBASE and DATASTART_IS_ETEXT for the tx39. Tue May 12 13:15:45 1998 Tom Tromey * alloc.c: Don't call GET_TIME if NO_CLOCK defined. (GC_maybe_gc): Likewise. * os_dep.c: If NO_SIGSET defined, then have empty GC_disable_signals and GC_enable_signals. * configure: Rebuilt. * configure.in: Added --with-target-subdir option. If cross-compiling, define NO_SIGSET and NO_CLOCK. Wed May 6 16:40:28 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (.s.o): Directly use CC -x assembler-with-cpp. (AS): Removed. * aclocal.m4, configure: Rebuilt. * acinclude.m4: New file. * configure.in: Don't run AM_EXEEXT. Use LIB_AC_PROG_CC. Thu Apr 30 14:51:12 1998 Tom Tromey * configure: Rebuilt. * configure.in: Link boehm-config.h to config.h. * Makefile.in: Rebuilt. * Makefile.am (INCLUDES): Removed. * config.h (SILENT, SMALL_CONFIG, NO_SIGNALS, NO_DEBUGGING, JAVA_FINALIZATION): Define Wed Apr 29 11:03:14 1998 Tom Tromey * Many files: Use GC_bool, not bool. * gc_priv.h: Define GC_bool, not bool. * misc.c (GC_dont_gc): Define as int. (GC_quiet): Likewise. * gc_priv.h (GC_never_stop_func): Declare as returning bool. * alloc.c (GC_dont_expand): Define as int. * gc_priv.h: For gcc, define bool as char. Tue Apr 28 22:44:16 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (check_PROGRAMS): New macro. (gctest_SOURCES): Likewise. (gctest_LDADD): Likewise. Mon Apr 27 23:53:24 1998 Tom Tromey * Makefile.in: Rebuilt. * Makefile.am (libgc_a_SOURCES): Added dyn_load.c. * configure: Rebuilt. * configure.in: Define SUNOS53_SHARED_LIB on Solaris 2.3. Wed Apr 15 11:40:56 1998 Tom Tromey * Makefile.am, Makefile.in, configure.in, configure, aclocal.m4: New files. * Makefile.orig: Renamed from Makefile.