OSDN Git Service

* configure.ac (*-*-solaris2.8*): Only usr alternate thread
[pf3gnuchains/gcc-fork.git] / boehm-gc / ChangeLog
index 68ecb2a..d9cda96 100644 (file)
@@ -1,3 +1,373 @@
+2010-06-15  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (*-*-solaris2.8*): Only usr alternate thread
+       library on Solaris 8.
+       (*-*-solaris2*): Use regular thread library otherwise.
+       * configure: Regenerate.
+
+2010-05-13  Uros Bizjak  <ubizjak@gmail.com>
+
+       * tests/leak_test.c (main): Declare as int.  Return 0.
+       * tests/thread_leak_test.c (main): Ditto.
+       * tests/trace_test.c (main): Ditto.
+
+2010-05-06  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR target/42811
+       * tests/staticrootstest.c: New test source file.
+       * tests/staticrootslib.c: New test library source file.
+       * Makefile.am (test_ldadd): New variable.
+       (gctest_LDADD): Use it.
+       (TESTS): Add leaktest, middletest and staticrootstest.
+       (check_PROGRAMS): Likewise.
+       (leaktest_SOURCES): New libtool variable definition.
+       (leaktest_LDADD): Likewise.
+       (leaktest_LDFLAGS): Likewise.
+       (leaktest_LINK): Likewise.
+       (middletest_SOURCES): Likewise.
+       (middletest_LDADD): Likewise.
+       (middletest_LDFLAGS): Likewise.
+       (middletest_LINK): Likewise.
+       (staticrootstest_SOURCES): Likewise.
+       (staticrootstest_LDADD): Likewise.
+       (staticrootstest_LDFLAGS): Likewise.
+       (staticrootstest_LINK): Likewise.
+       (check_LTLIBRARIES): Likewise.
+       (libstaticrootslib_la_SOURCES): Likewise.
+       (libstaticrootslib_la_LIBADD): Likewise.
+       (libstaticrootslib_la_LDFLAGS): Likewise.
+       (libstaticrootslib_la_DEPENDENCIES): Likewise.
+       * Makefile.in: Regenerate.
+
+2010-04-02  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * include/Makefile.in: Regenerate.
+
+2010-03-21  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       PR target/42811 (prerequisite)
+       * include/private/gc_priv.h (struct roots) [CYGWIN32]: Don't
+       declare r_next member on Cygwin as on other windows hosts.
+       (LOG_RT_SIZE) [CYGWIN32]: Don't define likewise.
+       (RT_SIZE) [CYGWIN32]: Likewise.
+       (struct _GC_arrays) [CYGWIN32]: Do declare _heap_bases[] member
+       likewise.
+       (GC_heap_bases) [CYGWIN32]: Do define likewise.
+       (struct _SYSTEM_INFO) [CYGWIN32]: Do forward-declare likewise.
+       (GC_sysinfo) [CYGWIN32]: Do declare extern likewise.
+       (GC_n_heap_bases) [CYGWIN32]: Likewise.
+       (GC_is_tmp_root) [CYGWIN32]: Do prototype likewise.
+       * include/private/gcconfig.h (GC_win32_get_mem) [CYGWIN32]: Likewise.
+       (GET_MEM) [CYGWIN32]: Do define likewise.
+       * boehm-gc/ptr_chck.c (GC_is_visible) [CYGWIN32]: Do handle dynamic
+       registration likewise.
+       * boehm-gc/os_dep.c (GC_setpagesize) [CYGWIN32]: Do define likewise.
+       (GC_no_win32_dlls) [CYGWIN32]: Define as constant false, unlike
+       other windows hosts.
+       (GC_sysinfo) [CYGWIN32]: Define as on other windows hosts.
+       (GC_n_heap_bases) [CYGWIN32]: Likewise.
+       (GLOBAL_ALLOC_TEST) [CYGWIN32]: Likewise.
+       (GC_win32_get_mem) [CYGWIN32]: Likewise, but wrapping GC_unix_get_mem
+       rather than GlobalAlloc/VirtualAlloc.
+       (GC_win32_free_heap) [CYGWIN32]: Likewise, but wrapping free instead
+       of GlobalFree (even though the function body is optimised away).
+       * boehm-gc/mark_rts.c (add_roots_to_index) [CYGWIN32]: Define as on
+       other windows hosts.
+       (GC_add_roots_inner) [CYGWIN32]: Avoid overlapping or adjacent
+       intervals likewise.
+       (GC_clear_roots) [CYGWIN32]: Clear GC_root_index[] likewise.
+       (GC_rebuild_root_index) [CYGWIN32]: Define as on other windows hosts.
+       (GC_remove_tmp_roots) [CYGWIN32]: Call it likewise.
+       (GC_remove_roots) [CYGWIN32]: Don't define, as on other windows hosts.
+       (GC_is_tmp_root) [CYGWIN32]: Define, as on other windows hosts.
+       (GC_cond_register_dynamic_libraries) [CYGWIN32]: Handle temporary
+       roots and dynamic registration likewise.
+       * boehm-gc/dyn_load.c (GC_has_static_roots) [CYGWIN32]: Define as on
+       other windows hosts.
+       (GC_register_has_static_roots_callback) [CYGWIN32]: Likewise.
+       (GC_cond_add_roots) [CYGWIN32]: Likewise.
+       (GC_register_main_static_data) [CYGWIN32]: Define to always return
+       false, as on MSWINCE
+       (HAVE_REGISTER_MAIN_STATIC_DATA) [CYGWIN32]: Define as on other
+       windows hosts.
+       (GC_warn_fb) [CYGWIN32]: Likewise.
+       (GC_disallow_ignore_fb) [CYGWIN32]: Likewise.
+       (GC_ignore_fb_mb) [CYGWIN32]: Likewise.
+       (GC_ignore_fb) [CYGWIN32]: Likewise.
+       (is_frame_buffer) [CYGWIN32]: Likewise.
+       (GC_dump_meminfo) [CYGWIN32]: Likewise.
+       (GC_wnt) [CYGWIN32]: Define to constant true.
+       (GC_register_dynamic_libraries) [CYGWIN32]: Define as on other
+       windows hosts.
+
+2009-12-09  Matthias Klose  <doko@ubuntu.com> 
+
+       * include/private/gc_locks.h: For __ARM_EABI__ define
+       GC_test_and_set  GC_clear to use the atomic builtins.
+
+2009-12-05  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * include/Makefile.in: Regenerate.
+
+2009-11-30  Ben Elliston  <bje@au.ibm.com>
+
+       * mark_rts.c (GC_approx_sp): Use __builtin_frame_address when
+       compiling with GCC rather than taking the address of a local
+       variable.
+
+2009-11-30  Ben Elliston  <bje@au.ibm.com>
+
+       * os_dep.c: Use the POSIX signal API in preference to the BSD API.
+       Generate a compilation error if neither the POSIX nor BSD APIs can
+       be detected.
+
+2009-09-11  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (libgcjgc_la_LINK, gctest_LINK): New.
+       (gctest_LDADD): Depend on libgcjgc.la instead of ./libgcjgc.la,
+       so that library dependency resolution works with portable make.
+       * Makefile.in: Regenerate.
+
+2009-09-08  Alexandre Oliva  <aoliva@redhat.com>
+
+       * configure: Rebuilt with modified libtool.m4.
+
+2009-09-03  Loren J. Rittle  <ljrittle@acm.org>
+
+       * dyn_load.c (HAVE_DL_ITERATE_PHDR): Break definition from use.
+       Define for FreeBSD 7.0+.
+
+2009-08-24  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (AC_PREREQ): Bump to 2.64.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (install-html, install-pdf): Remove.
+       * Makefile.in: Regenerate.
+
+       * Makefile.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * include/Makefile.in: Regenerate.
+       * include/gc_config.h.in: Regenerate.
+
+2009-08-22  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.am (LTCOMPILE, LTLINK): Add $(AM_LIBTOOLFLAGS)
+       and $(LIBTOOLFLAGS).
+       * Makefile.in: Regenerate.
+
+2009-07-30  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure.ac (_AC_ARG_VAR_PRECIOUS): Use m4_rename_force.
+
+2009-07-17  Michael Meissner  <meissner@linux.vnet.ibm.com>
+
+       PR boehm-gc/40785
+       * include/private/gc_locks.h (GC_test_and_set): If GCC 4.4, use
+       the __sync_lock_test_and _set and __sync_lock_release builtins on
+       the powerpc.  If not GCC 4.4, fix up the constraints so that it
+       builds without error.
+       (GC_clear): Ditto.
+
+2009-07-17  Kai Tietz  <kai.tietz@onevision.com>
+
+       * configure.ac: Add rule for mingw targets to add -DGC_BUILD=1 to
+       cflags.
+       * configure: Regenerated.
+
+2009-05-17  Dave Korn  <dave.korn.cygwin@gmail.com>
+
+       * win32_threads.c (GC_get_thread_stack_base):  Implement for Cygwin.
+
+2009-03-01  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2009-02-09  Mark Mitchell  <mark@codesourcery.com>
+
+       * Makefile.am (LTLDFLAGS): New variable.
+       (LINK): Use it.
+       * Makefile.in: Regenerated.
+
+2008-12-18  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * configure: Regenerate.
+
+2008-09-26  Peter O'Gorman  <pogma@thewrittenword.com>
+            Steve Ellcey  <sje@cup.hp.com>
+
+       * configure: Regenerate for new libtool.
+       * Makefile.in: Ditto.
+       * include/Makefile.in: Ditto.
+       * aclocal.m4: Ditto.
+
+2008-07-18  Matthias Klose  <doko@ubuntu.com> 
+       * configure.ac (AC_CONFIG_FILES): Add threads.mk. 
+       * threads.mk.in: New. 
+       * Makefile.in, configure: Regenerate. 
+
+2008-06-17  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * include/Makefile.in: Regenerate.
+       * include/gc_config.h.in: Regenerate.
+
+2008-04-18  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR bootstrap/35457
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+
+2008-03-16  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * aclocal.m4: Regenerate.
+       * configure: Likewise.
+       * Makefile.in: Likewise.
+       * include/Makefile.in: Likewise.
+
+2007-02-19  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * dyn_load.c (GC_dyld_image_add): Remove ifdef clause and use the macro
+       GC_GETSECTBYNAME instead.
+       * include/private/gc_priv.h: Define GC_GETSECTBYNAME according to the
+       architecture (Darwin).
+
+2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * include/private/gcconfig.h (HBLKSIZE): Define for MIPS.
+
+2008-01-24  David Edelsohn  <edelsohn@gnu.org>
+
+       * configure: Regenerate.
+
+2007-10-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR boehm-gc/33442
+       * pthread_support.c (GC_PTR GC_get_thread_stack_base): If stack grows
+       up, return stack_addr instead of stack_addr - stack_size.
+
+2007-08-14  David Daney  <ddaney@avtrex.com>
+
+       * include/private/gcconfig.h: Handle mips64-linux n64 ABI.
+
+2007-07-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * aclocal.m4: Regenerated.
+
+2007-07-02  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       PR boehm-gc/21940
+       PR boehm-gc/21942
+       * configure.ac (GC_SOLARIS_THREADS): Don't define on *-*-solaris*.
+       Use alternate thread library in /usr/lib/lwp.
+       * configure: Regenerate.
+       * dyn_load.c: Use GC_SOLARIS_PTHREADS.
+       * include/gc_config_macros.h (GC_SOLARIS_THREADS): Don't define.
+       * include/private/gcconfig.h: Handle 64-bit Solaris 2/x86.
+       (GC_SOLARIS_THREADS): Don't define.
+       * include/private/solaris_threads.h: Remove.
+       * pthread_support.c (GC_thr_init) [GC_SOLARIS_PTHREADS]: Determine
+       GC_nprocs via sysconf().
+       * Makefile.am (libgcjgc_la_SOURCES): Remove solaris_pthreads.c and
+       solaris_threads.c.
+       (gctest_LDADD): Use THREADLIBS instead of THREADDLLIBS.
+       * Makefile.in: Regenerate.       
+       * solaris_pthreads.c: Remove.
+       * solaris_threads.c: Remove.
+
+2007-06-22  Jakub Jelinek  <jakub@redhat.com>
+
+       * pthread_support.c (GC_get_thread_stack_base): Handle
+       pthread_getattr_np failures.
+
+2007-06-02  Paolo Bonzini  <bonzini@gnu.org>
+
+       * configure: Regenerate.
+
+2007-05-23  Steve Ellcey  <sje@cup.hp.com>
+
+       * Makefile.in: Regenerate.
+       * configure: Regenerate.
+       * aclocal.m4: Regenerate.
+       * include/Makefile.in: Regenerate.
+
+2007-05-20  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
+       * configure: Regenerate.
+       * Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
+       * Makefile.in: Regenerate.
+       * include/Makefile.in: Regenerate.
+       * include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
+       targets. Remove comments. Prepare ppc64 support for Darwin.
+
+2007-04-23  Keith Seitz  <keiths@redhat.com>
+
+       * include/gc.h (GC_is_thread_suspended): Declare.
+       * pthread_stop_world.c (GC_is_thread_suspended): New function.
+
+2007-04-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.ac (NO_EXECUTE_PERMISSION): Set by default.
+       * configure: Rebuilt.
+
+2007-03-07  Alexandre Oliva  <aoliva@redhat.com>
+
+       * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
+       (GC_register_finalizer_unreachable): Declare.
+       (GC_debug_register_finalizer_unreachable): Declare.
+       * finalize.c (GC_unreachable_finalize_mark_proc): New.
+       (GC_register_finalizer_unreachable): New.
+       (GC_finalize): Handle it.
+       * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
+       (GC_debug_register_finalizer_no_order): Fix whitespace.
+
+2007-03-01  Brooks Moses  <brooks.moses@codesourcery.com>
+
+       * Makefile.am: Add dummy install-pdf target.
+       * Makefile.in: Regenerate
+
+2007-02-05  Roman Zippel <zippel@linux-m68k.org>
+
+       * boehm-gc/include/private/gcconfig.h: use LINUX_STACKBOTTOM so
+       it works with Linux 2.6, reactivate MPROTECT_VDB
+       * boehm-gc/pthread_stop_world.c: save all register
+       on signal entry
+
+2007-01-24  Andreas Tobler  <a.tobler@schweiz.org>
+
+       * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently
+       added defines to include/private/gc_priv.h
+       (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too.
+       * darwin_stop_world.c: Removed the above defines.
+       * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c
+       and os_dep.c to here. Fixed THREAD definition fixes for ppc64.
+
+2007-01-17  David Daney  <ddaney@avtrex.com>
+
+       * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while
+       cross-compiling.
+       * configure: Regenerated.
+       * include/gc_config.h.in: Regenerated.
+
+2007-01-17  Mike Stump  <mrs@apple.com>
+
+       * os_dep.c: Fix i686-apple-darwin9 builds.
+
+2007-01-16  Jack Howarth  <howarth@bromo.med.uc.edu>
+
+       * aclocal.m4: Regenerate to use multi.m4.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+
 2007-01-17  Andreas Tobler  <a.tobler@schweiz.org>
 
        * include/gc_config.h.in: Regenerate.