OSDN Git Service

2007-01-17 Andreas Tobler <a.tobler@schweiz.org>
[pf3gnuchains/gcc-fork.git] / boehm-gc / ChangeLog
index 65897b8..68ecb2a 100644 (file)
@@ -1,3 +1,490 @@
+2007-01-17  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * include/gc_config.h.in: Regenerate.
+
+2007-01-16  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       * include/private/gcconfig.h: Handle amd64/x86-64 cpu under
+        GNU/kFreeBSD.
+       * os_dep.c: Likewise.
+
+2007-01-15  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail
+       reference.
+       (catch_exception_raise): Fix typo in the I386 exc_state.
+
+2007-01-11  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * configure.ac: Replaced HAS_I386_THREAD_STATE_* with
+       HAS_X86_THREAD_STATE32_* and HAS_X86_THREAD_STATE64_* respectively.
+       * configure: Regenerated.
+       * include/private/gcconfig.h (DARWIN): Added X86_64 define for Darwin.
+       Added base definitions for the X86_64 Darwin port.
+       * include/private/gc_priv.h: Added definitions for Darwin MACH thread
+       operations. Moved existing THREAD_STATE info from darwin_stop_world.c.
+       * darwin_stop_world.c: Removed THREAD_STATE info. Added
+       HAS_X86_THREAD_STATE64___RAX. And replaced HAS_I386_THREAD_STATE___EAX
+       with HAS_X86_THREAD_STATE32___EAX.
+       (GC_push_all_stacks): Use GC_MACH_THREAD_STATE_COUNT. Add code for
+       X86_64 Darwin.
+       * dyn_load.c (GC_dyld_name_for_hdr): Use GC_MACH_HEADER.
+       (GC_dyld_image_add): Use GC_MACH_HEADER and GC_MACH_SECTION.
+       Distinguish between getsectbynamefromheader_64 and
+       getsectbynamefromheader.
+       (GC_dyld_image_remove): Likewise.
+       * os_dep.c (GC_dirty_init): Use GC_MACH_THREAD_STATE.
+       (catch_exception_raise): Introduce exception information for I386 and
+       X86_64 Darwin. Add X86_64 for exc_state.faultvaddr.
+
+2006-12-08  Mike Stump  <mrs@apple.com>
+
+       * configure.ac: Fix x86 darwin builds.
+       * darwin_stop_world.c: Likewise.
+       * include/private/gcconfig.h: Likewise.
+       * connfigure: Regenerate.
+       
+2006-09-26  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       PR target/29180
+       * darwin_stop_world.c: Make stack_start unsigned long.
+
+2006-09-21  Sandro Tolaini  <tolaini@libero.it>
+
+       * os_dep.c: Port to Darwin/i386
+       * darwin_stop_world.c: Likewise
+       * include/private/gcconfig.h: Likewise
+       
+2006-06-07  Petr Salinger  <Petr.Salinger@seznam.cz>
+
+       * configure.ac: add support for GNU/kFreeBSD, accepted by upstream
+       for gc 6.8.
+       * dyn_load.c: Likewise.
+       * include/gc.h: Likewise.
+       * private/gcconfig.h: Likewise.
+       * configure: Regenerate.
+       * include/gc_config.h.in: Regenerate.
+
+2006-09-14  Tom Tromey  <tromey@redhat.com>
+
+       PR boehm-gc/29068.
+       * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on
+       Solaris.
+
+2006-08-21  Bryce McKinlay  <mckinlay@redhat.com>
+       
+       PR libgcj/13212:
+       * configure.ac: Check for pthread_getattr_np(). Remove
+       GC_PTHREAD_SYM_VERSION detection.
+       * include/gc.h (GC_register_my_thread, GC_unregister_my_thread,
+       GC_get_thread_stack_base): New declarations.
+       * pthread_support.c (GC_register_my_thread, GC_unregister_my_thread,
+       GC_get_thread_stack_base): New functions.
+       (GC_delete_thread): Don't try to free the first_thread.
+       * misc.c (GC_init_inner): Use GC_get_thread_stack_base() if possible.
+       (pthread_create_, constr): Removed.
+       (pthread_create): Don't rename.
+       * include/gc_ext_config.h.in: Rebuilt.
+       * include/gc_pthread_redirects.h (pthread_create): Define 
+       unconditionally.
+       * include/gc_config.h.in: Rebuilt.
+       * configure: Rebuilt.
+
+2006-06-21  Keith Seitz  <keiths@redhat.com>
+
+       * pthread_stop_world.c (GC_suspend_handler): Redirect to suspension
+       routine if signal is received and thread is flagged SUSPENDED.
+       (suspend_self): New function.
+       (GC_suspend_thread): New function.
+       (GC_resume_thread): New function.
+       * include/gc.h (GC_suspend_thread): Declare.
+       (GC_resumet_thread): Declare.
+       * include/private/pthread_support.h (SUSPENDED): New GC_thread
+       flag.
+
+2006-06-20  Ranjit Mathew  <rmathew@gcc.gnu.org>
+       
+       Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.
+       * os_dep.c (GC_wnt): Define.
+       (GC_init_win32): Set GC_wnt.
+       * dyn_load.c (GC_register_dynamic_libraries): Consider MEM_PRIVATE
+       sections also on Windows 9x/ME.
+
+2006-06-02  Geoffrey Keating  <geoffk@apple.com>
+
+       * configure.ac: Define HAS_PPC_THREAD_STATE_R0,
+       HAS_PPC_THREAD_STATE___R0, HAS_PPC_THREAD_STATE64_R0,
+       HAS_PPC_THREAD_STATE64___R0, HAS_I386_THREAD_STATE_EAX,
+       HAS_I386_THREAD_STATE___EAX.
+       * configure: Regenerate.
+       * include/gc_config.h.in: Regenerate.
+       * darwin_stop_world.c (PPC_RED_ZONE_SIZE): Use standard Darwin
+       macro names to determine value.
+       (THREAD_STATE): New.
+       (THREAD_FLD): New.
+       (GC_push_all_stacks): Use THREAD_STATE and THREAD_FLD in both versions.
+
+2006-05-24  Carlos O'Donell  <carlos@codesourcery.com>
+
+       * Makefile.am: Add install-html target. 
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * include/Makefile.in: Regenerate.
+
+2006-03-07  Andrew Haley  <aph@redhat.com>
+
+       * dyn_load.c (GC_has_static_roots): Declare.
+       (GC_register_dynlib_callback): Call GC_has_static_roots.
+
+2006-04-11  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * darwin_stop_world.c (GC_push_all_stacks, GC_stop_world,
+       GC_start_world): Call vm_deallocate to free act_list. Fix from
+       Bruce Mitchener.
+
+2006-03-24  Andreas Tobler  <a.tobler@schweiz.ch>
+       John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.
+       Warn about POSIX threads not being supported for *-*-hpux10*.
+       * configure: Regenerate.
+
+2006-02-09  Tom Tromey  <tromey@redhat.com>
+
+       * pthread_support.c: Conditionally include dlfcn.h.
+
+2006-02-06  Jakub Jelinek  <jakub@redhat.com>
+           Anthony Green  <green@redhat.com>
+           Tom Tromey  <tromey@redhat.com>
+
+       * include/gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.
+       * include/gc_config.h.in: Rebuilt.
+       * include/gc_pthread_redirects.h (pthread_create): Conditionally
+       define.
+       * pthread_support.c (pthread_create_): New global.
+       (constr): New function.
+       (pthread_create): Conditionally renamed.
+       * configure: Rebuilt.
+       * configure.ac (GC_PTHREAD_SYM_VERSION): Define.
+
+2006-02-04  Alan Modra  <amodra@bigpond.net.au>
+
+       * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't
+       use broken 64-bit version.
+
+2006-01-25  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * darwin_stop_world.c: Change inline asm instruction to ld as ldz
+       is wrong.
+
+       * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.
+       * Makefile.in: Regenerate.
+
+2006-01-25  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * include/private/gcconfig.h: Revert to GC 6.6 version, removing
+       all local changes.
+
+2006-01-24  Bryce McKinlay  <mckinlay@redhat.com>
+
+       Import Boehm GC version 6.6.
+
+2006-01-24  David Ayers  <d.ayers@inode.at>
+
+       PR libobjc/13946
+       * include/gc.h: Fix prototype declarations for bootstrap.
+
+2005-11-01  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024.
+
+2005-09-15  Kazu Hirata  <kazu@codesourcery.com>
+
+       * include/private/gc_locks.h (GC_test_and_set): Change the
+       constraint of the first operand to '0'.
+
+2005-09-06  Tom Tromey  <tromey@redhat.com>
+
+       PR libgcj/23662:
+       * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of
+       HEURISTIC1 on ARM.
+
+2005-07-17  SUGIOKA Toshinobu  <sugioka@itonet.co.jp>
+
+       * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.
+
+2005-06-15  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * os_dep.c: Add FreeBSD/PowerPC bits.
+       (GC_SysVGetDataStart): Likewise.
+       * include/private/gcconfig.h: Likewise.
+
+2005-05-25  Andrew Haley  <aph@redhat.com>
+
+       * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on
+       powerpc64-linux.
+
+2005-05-09  Mike Stump  <mrs@apple.com>
+
+       * configure: Regenerate.
+
+2005-04-19  Hans-Peter Nilsson  <hp@axis.com>
+
+       * os_dep.c, include/private/gc_locks.h: Import CRIS port by
+       Simon Posnjak from gc6.4.
+       * include/private/gcconfig.h: Ditto.  Add M32R note from gc6.4.
+
+2005-04-17  David S. Miller  <davem@davemloft.net>
+
+       * include/private/gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.
+       * os_dep.c (GC_linux_stack_base): Check for bug present in some
+       Sparc glibc variants where __libc_stack_end is erroneously set
+       to "1".  Fallback to procfs code in that case.
+
+2005-04-12  Mike Stump  <mrs@apple.com>
+
+       * configure: Regenerate.
+
+2005-04-12  Richard Henderson  <rth@redhat.com>
+
+       * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.
+
+2005-03-23  Mike Stump  <mrs@apple.com>
+
+       * darwin_stop_world.c: Update for -m64 multilib.
+       * include/private/gcconfig.h: Likewise.
+       * powerpc_darwin_mach_dep.s: Likewise.
+
+2005-03-01  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.in, include/Makefile.in: Regenerate.
+
+2005-02-26  Richard Earnshaw  <rearnsha@arm.com>
+
+       * dyn_load.c: On NetBSD, include machine/elf_machdep.h and define
+       ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1).
+
+2005-02-15  Bryce McKinlay  <mckinlay@redhat.com>
+
+       PR libgcj/19823
+       * configure.host: Set gc_use_mmap on *-linux*.
+       * configure.ac: Define USE_MMAP if gc_use_mmap is set.
+       * include/private/gc_priv.h: Include gc_config.h.
+       * configure, include/gc_config.h.in: Rebuilt.
+
+2005-02-07  Hans Boehm  <Hans.Boehm@hp.com>
+
+       * allchblk.c (GC_allochblk_nth): Dont overlook available space if
+         GC disabled, correctly convert GC_finalizer_mem_freed to byte,
+         total_size to words.
+       * dyn_load.c (win32 GC_register_dynamic_libraries): Consider only
+         MEM_IMAGE regions.
+       * mach_dep.c (GC_with_callee_saves_pushed): separate into new function,
+         and indent appropriately.
+       * mark_rts.c (GC_approx_sp): Access stack.
+       * pthread_stop_world.c: (GC_suspend_handler): Explicitly push
+         callee-saves registers when appropriate.
+         (GC_stop_world): Handle EINTR from sem_wait (sync with Mono GC).
+
+2005-01-01  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * configure.ac (AC_CONFIG_HEADERS): Build both include/gc_config.h 
+       and include/gc_ext_config.h.
+       * include/gc_ext_config.h: New file. Define only THREAD_LOCAL_ALLOC.
+       * include/gc.h: Undef PACKAGE_* before including gc_config.h.
+
+2004-12-13  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * configure: Regenerate.
+
+2004-11-29  Bryce McKinlay  <mckinlay@redhat.com>
+
+       PR libgcj/18699
+       Revert patches of 2004-11-26 and 2004-11-27.
+
+2004-11-29  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * configure: Regenerate for libtool change.
+
+2004-11-27  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC.
+
+2004-11-26  Bryce McKinlay  <mckinlay@redhat.com>
+
+       Fix "PACKAGE_NAME redefined" errors.
+       * configure.ac (AC_CONFIG_HEADERS): Build both include/config.h 
+       and include/gc_config.h.
+       * configure: Regenerated.
+       * include/gc_config.h.in: No longer auto-generated. Define only the
+       macros needed by libjava.
+       * include/config.h.in: Generated by autoheader.
+       * include/gc.h: Include config.h, not gc_config.h.
+
+2004-11-25  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * configure: Regenerate for libtool reversion.
+
+2004-11-24  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * configure: Regenerate for libtool change.
+
+2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       * configure.ac (machdep): Use sparc_mach_dep.lo on
+       sparc64-sun-solaris2.* too.
+       (Solaris gcc optimization fix): Disable on sparc*-sun-solaris2.*.
+       * configure: Regenerate.
+
+2004-11-22  Eric Botcazou  <ebotcazou@libertysurf.fr>
+
+       PR target/18444
+       * configure.ac (threading): Accept 'posix95'.
+       * configure: Regenerate.
+
+2004-11-04  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * Makefile.am: Define ACLOCAL_AMFLAGS.
+       * configure.ac: Remove redundant sinclude.
+       * acinclude.m4: Delete file.
+       * aclocal.m4: Regenerate.
+       * Makefile.in, include/Makefile.in: Regenerate.
+       * configure: Regenerate.
+
+2004-10-19  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * include/private/gc_priv.h (GC_generic_malloc_words_small_inner):
+       Add prototype.
+
+2004-10-13  Kazuhiro Inaoka <inaoka.kazuhiro@renesas.com>
+
+       * include/private/gcconfig.h: Add m32r-linux target.
+
+2004-09-27  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * configure.ac: Update all AC_DEFINEs to newer style.
+       * configure: Regenerate.
+       * include/gc_config.h.in: Regenerate.
+
+2004-08-27  Hans Boehm  <Hans.Boehm@hp.com>
+
+       * backgraph.c, gc_priv.h (GC_traverse_back_graph,
+       GC_print_back_graph_stats): split GC_traverse_back_graph.
+       * backgraph.c: Dynamically grow in_progress_space.
+       * finalize.c (GC_notify_or_invoke_finalizers): also call
+       GC_print_back_graph_stats.
+       * alloc.c, finalize.c, gc_priv.h (GC_generate_random_backtrace_no_gc,
+       GC_print_back_height): Move delarations to header file.
+       * configure.ac: rename --enable-full-debug to --enable-gc-debug.
+       * configure: Regenerate.
+       
+2004-08-23  Hans Boehm  <Hans.Boehm@hp.com>
+
+       * aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.
+       * backgraph.c, include/private/gc_pmark.h: Always include gc.h.
+
+2004-08-23  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * win32_threads.c: Move GC_WIN32_THREADS check after gc_priv.h include.
+       Reported by Danny Smith.
+
+2004-08-21  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       * misc.c (GC_init): Replace lhs cast with rhs cast.
+
+2004-08-16  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * specific.c: Check GC_LINUX_THREADS before including 
+       private/specific.h. From Richard Earnshaw.
+
+2004-08-16  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * aclocal.m4: Remove obsolete construct for old automake.
+       * acinclude.m4: Regenerate with aclocal 1.9.1.
+       * configure.ac:  Remove duplicate AC_WITH calls.  Replace
+       AC_CANONICAL_SYSTEM with AC_CANONICAL_HOST, AC_CANONICAL_TARGET.
+       Replace _GCC_TOPLEV_NONCANONICAL calls with ACX_NONCANONICAL_TARGET.
+       Remove now-redundant subst of target_noncanonical.  Remove
+       now-gratuitous m4 quoting around $.  Replace AM_PROG_LIBTOOL with
+       AC_PROG_LIBTOOL and remove second, redundant AC_PROG_LIBTOOL.
+       Use slightly more modern form of AC_INIT.
+       * configure: Rebuild with autoconf 2.59.
+       * Makefile.in, include/Makefile.in: Rebuild with automake 1.9.1.
+
+2004-08-16  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * solaris_threads.c: Remove ifdef around #include "private/gc_priv.h"
+       since they're not known at this time.
+       * solaris_pthreads.c: Likewise.
+
+2004-08-15  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       PR target/14931
+       * powerpc_darwin_mach_dep.s (_GC_push_regs): Change to new stub style.
+
+2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
+
+       * configure.ac (gc_cflags): Add -Iinclude.
+       (AC_CONFIG_HEADERS): New. Configure gc_config.h header.
+       Don't write DEFS to boehm-cflags file.
+       * configure: Rebuilt.
+       * gcj_mlc.c: Check #ifdef GC_GCJ_SUPPORT after including headers.
+       * specific.c: Check #ifdef GC_LINUX_THREADS after including headers.
+       * include/gc_config_macros.h: Remove backward-compatibility 
+       redefinitions of GC_ names.
+       * include/gc.h: Include <gc_config.h>.
+
+2004-08-13  Bryce McKinlay  <mckinlay@redhat.com>
+
+       Import Boehm GC version 6.3.
+
+2004-08-12  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * include/Makefile.in: Regenerate
+
+2004-07-06  Andrew Pinski  <apinski@apple.com>
+
+       * os-dep.c (GC_task_self): Declare as static
+       and remove the second declaration.
+
+2004-06-20  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * Makefile.am: Add rule for .S files to fix bootstrap on
+       solaris and alpha.
+       * Makefile.in: Regenerate.
+
+2004-06-16  Paolo Bonzini  <bonzini@gnu.org>
+
+       * boehm-gc/configure.ac: New name of configure.in.
+       Remove useless multilib stuff.  Change uses of
+       INCLUDES and CXXINCLUDES to AM_CPPFLAGS.
+       * boehm-gc/configure.in: New name of configure.in.
+       * boehm-gc/Makefile.am: Update for automake 1.8.5.
+       * boehm-gc/acinclude.m4: Include ../config/acx.m4.
+       * boehm-gc/aclocal.m4: Regenerate.
+       * boehm-gc/configure: Regenerate.
+       * boehm-gc/Makefile.in: Regenerate.
+
+2004-06-15  Paolo Bonzini  <bonzini@gnu.org>
+
+       * .cvsignore: New file.
+
+2004-04-25  Andreas Jaeger  <aj@suse.de>
+
+        * mark.c (GC_mark_from): Use pointer as prefetch argument.
+
+2004-04-06  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * include/private/gcconfig.h (PREFETCH): Use __builtin_prefetch
+       for gcc >= 3.0.
+       (PREFETCH_FOR_WRITE): Likewise.
+
+2004-03-10  Kelley Cook  <kcook@gcc.gnu.org>
+
+       * configure.ac: Bump AC_PREREQ to 2.59.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+
 2004-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
 
        * ltconfig, ltmain.sh: Remove unused files.