aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
AgeCommit message (Collapse)AuthorFilesLines
2007-01-17gc_config.h.in: Regenerate.Andreas Tobler2-6/+16
2007-01-17 Andreas Tobler <a.tobler@schweiz.org> * include/gc_config.h.in: Regenerate. From-SVN: r120853
2007-01-16gcconfig.h: Handle amd64/x86-64 cpu under GNU/kFreeBSD.Petr Salinger3-2/+12
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. From-SVN: r120831
2007-01-15os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Adjust mail reference.Andreas Tobler2-2/+8
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. From-SVN: r120801
2007-01-11configure.ac: Replaced HAS_I386_THREAD_STATE_* with HAS_X86_THREAD_STATE32_* ↵Andreas Tobler8-120/+452
and... 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. From-SVN: r120684
2006-12-08configure.ac: Fix x86 darwin builds.Mike Stump5-14/+37
* configure.ac: Fix x86 darwin builds. * darwin_stop_world.c: Likewise. * include/private/gcconfig.h: Likewise. * connfigure: Regenerate. From-SVN: r119670
2006-09-26re PR boehm-gc/29180 (boehm-gc/darwin_stop_world.c not 64-bit clean)Jack Howarth2-1/+6
2006-09-26 Jack Howarth <howarth@bromo.med.uc.edu> PR target/29180 * darwin_stop_world.c: Make stack_start unsigned long. From-SVN: r117232
2006-09-21os_dep.c: Port to Darwin/i386Sandro Tolaini4-2/+55
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 From-SVN: r117126
2006-09-18configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8.Petr Salinger7-9/+88
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. From-SVN: r117033
2006-09-14re PR boehm-gc/29068 (Bootstrap fails building libjava on SPARC/Solaris)Tom Tromey2-1/+7
libjava PR boehm-gc/29068: * boehm.cc (_Jv_GCAttachThread): Disable on Solaris. (_Jv_GCDetachThread): Likewise. boehm-gc PR boehm-gc/29068. * misc.c (GC_init_inner): Don't use GC_get_thread_stack_base on Solaris. From-SVN: r116948
2006-08-21re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread ↵Bryce McKinlay9-83/+276
with garbage collector) boehm-gc 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. libjava * java/lang/natThread.cc (_Jv_AttachCurrentThread): Attach thread to GC. (_Jv_DetachCurrentThread): Detach thread from GC. * include/boehm-gc.h (_Jv_GCAttachThread, _Jv_GCDetachThread): Declare. * boehm.cc (_Jv_GCAttachThread): New function. (_Jv_GCDetachThread): Likewise. From-SVN: r116313
2006-06-21pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if ↵Keith Seitz4-6/+82
signal is received and thread is flagged... * 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. From-SVN: r114869
2006-06-20Backport Windows 9x/ME VirtualQuery() fix from GC 6.7.Ranjit Mathew3-2/+21
* 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. From-SVN: r114818
2006-06-03Index: gcc/ChangeLogGeoffrey Keating5-98/+866
2006-06-02 Geoffrey Keating <geoffk@apple.com> * config/rs6000/host-darwin.c (sigaltstack): Protect prototype with HAVE_DECL_SIGALTSTACK. (MC_FLD): New. (segv_handler): Use MC_FLD. * configure.ac: Check for a sigaltstack declaration. Compute HAS_MCONTEXT_T_UNDERSCORES on Darwin. * configure: Regenerate. * config.in: Regenerate. Index: boehm-gc/ChangeLog 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. From-SVN: r114339
2006-05-24Makefile.am: Add install-html target.Carlos O'Donell5-324/+158
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. From-SVN: r114055
2006-04-24dyn_load.c (GC_has_static_roots): Declare.Andrew Haley3-1/+31
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. From-SVN: r113223
2006-04-11darwin_stop_world.c (GC_push_all_stacks, [...]): Call vm_deallocate to free ↵Bryce McKinlay2-0/+9
act_list. * 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. From-SVN: r112867
2006-03-24configure.ac (THREADS): Add REENTRANT for *-*-hpux11*.Andreas Tobler3-5/+27
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. Co-Authored-By: John David Anglin <dave.anglin@nrc-cnrc.gc.ca> From-SVN: r112355
2006-02-10* pthread_support.c: Conditionally include dlfcn.h.Tom Tromey2-0/+8
From-SVN: r110832
2006-02-07gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.Jakub Jelinek7-2/+97
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. Co-Authored-By: Anthony Green <green@redhat.com> Co-Authored-By: Tom Tromey <tromey@redhat.com> From-SVN: r110682
2006-02-04gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version.Alan Modra2-1/+6
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version. From-SVN: r110571
2006-01-25darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong.Andreas Tobler2-1/+4
2006-01-25 Andreas Tobler <a.tobler@schweiz.ch> * darwin_stop_world.c: Change inline asm instruction to ld as ldz is wrong. From-SVN: r110224
2006-01-25Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources.Andreas Tobler3-8/+23
2006-01-25 Andreas Tobler <a.tobler@schweiz.ch> * Makefile.am (asm_libgcjgc_sources): Rename to asm_libgcjgc_sources. * Makefile.in: Regenerate. From-SVN: r110223
2006-01-25gcconfig.h: Revert to GC 6.6 version, removing all local changes.Bryce McKinlay2-12/+17
* include/private/gcconfig.h: Revert to GC 6.6 version, removing all local changes. From-SVN: r110222
2006-01-25Remove svn:executable property.Bryce McKinlay1-0/+0
From-SVN: r110205
2006-01-25Import Boehm GC version 6.6.Bryce McKinlay48-1098/+847
From-SVN: r110204
2006-01-24re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc)David Ayers2-2/+7
2006-01-24 David Ayers <d.ayers@inode.at> PR libobjc/13946 * include/gc.h: Fix prototype declarations for bootstrap. From-SVN: r110183
2005-11-02gc_priv.h: Increase MAX_ROOT_SETS to 1024.Bryce McKinlay2-11/+7
2005-11-01 Bryce McKinlay <mckinlay@redhat.com> * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. From-SVN: r106362
2005-10-31.cvsignore are not needed for subversion, remove them.Andreas Jaeger1-1/+0
From-SVN: r106279
2005-09-15gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'.Kazu Hirata2-1/+6
* include/private/gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'. From-SVN: r104329
2005-09-06re PR boehm-gc/23662 (Binaries generated by arm-linux-gcj segfault on ↵Tom Tromey2-1/+7
execution on arm target) PR libgcj/23662: * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of HEURISTIC1 on ARM. From-SVN: r103946
2005-07-17* include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.SUGIOKA Toshinobu2-1/+5
From-SVN: r102110
2005-06-15os_dep.c: Add FreeBSD/PowerPC bits.Andreas Tobler3-2/+28
2005-06-15 Andreas Tobler <a.tobler@schweiz.ch> * os_dep.c: Add FreeBSD/PowerPC bits. (GC_SysVGetDataStart): Likewise. * include/private/gcconfig.h: Likewise. From-SVN: r100997
2005-05-25gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux.Andrew Haley2-0/+6
2005-05-25 Andrew Haley <aph@redhat.com> * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux. From-SVN: r100145
2005-05-10* configure: Regenerate.Mike Stump2-1/+5
From-SVN: r99498
2005-04-19os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.Hans-Peter Nilsson4-2/+57
* 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. From-SVN: r98414
2005-04-17gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.David S. Miller3-3/+17
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. From-SVN: r98303
2005-04-13* configure: Regenerate.Mike Stump2-1/+66
From-SVN: r98065
2005-04-12* include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.Richard Henderson2-1/+5
From-SVN: r98032
2005-03-24darwin_stop_world.c: Update for -m64 multilib.Mike Stump4-13/+37
* darwin_stop_world.c: Update for -m64 multilib. * include/private/gcconfig.h: Likewise. * powerpc_darwin_mach_dep.s: Likewise. From-SVN: r96968
2005-03-01Makefile.in, [...]: Regenerate.Kelley Cook3-11/+27
2005-03-01 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in, include/Makefile.in: Regenerate. From-SVN: r95762
2005-02-26dyn_load.c: On NetBSD...Richard Earnshaw2-0/+10
* dyn_load.c: On NetBSD, include machine/elf_machdep.h and define ELFSIZE in terms of ARCH_ELFSIZE (back-ported from gc7.0alpha1). From-SVN: r95582
2005-02-16re PR libgcj/19823 (java fails with non-executable memory)Bryce McKinlay6-0/+36
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. From-SVN: r95094
2005-02-09allchblk.c (GC_allochblk_nth): Dont overlook available space if GC disabled...Hans Boehm6-61/+125
* 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). From-SVN: r94776
2005-01-02boehm-gc.h: Include gc_ext_config.h, not gc_config.h.Bryce McKinlay5-2/+37
2005-01-01 Bryce McKinlay <mckinlay@redhat.com> * include/boehm-gc.h: Include gc_ext_config.h, not gc_config.h. 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. From-SVN: r92801
2004-12-13configure: Regenerate.Kelley Cook2-9/+6
2004-12-13 Kelley Cook <kcook@gcc.gnu.org> * configure: Regenerate. From-SVN: r92087
2004-11-30re PR libgcj/18699 (SIGSEGV in GC_local_gcj_malloc)Bryce McKinlay6-162/+166
2004-11-29 Bryce McKinlay <mckinlay@redhat.com> PR libgcj/18699 Revert patches of 2004-11-26 and 2004-11-27. From-SVN: r91505
2004-11-29libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS ↵Kelley Cook2-9/+6
libtool to always pass_all. 2004-11-29 Kelley Cook <kcook@gcc.gnu.org> * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Re-import linux-gnu case from CVS libtool to always pass_all. * libjava/configure, libffi/configure, libjava/configure, libobjc/configure, boehm-gc/configure: Regenerated. From-SVN: r91495
2004-11-27gc_config.h.in: Add comment.Bryce McKinlay2-2/+10
2004-11-27 Bryce McKinlay <mckinlay@redhat.com> * include/gc_config.h.in: Add comment. Define only THREAD_LOCAL_ALLOC. From-SVN: r91387
2004-11-26Fix "PACKAGE_NAME redefined" errors.Bryce McKinlay6-152/+167
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. From-SVN: r91330
2004-11-25libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change.Kelley Cook2-2/+13
2004-11-24 Kelley Cook <kcook@gcc.gnu.org> * libtool.m4 (AC_DEPLIBS_CHECK_METHOD): Revert previous change. * boehm-gc/configure: Regenerate. * libffi/configure: Regenerate. * libgfortran/configure: Regenerate. * libjava/configure: Regenerate. * libobjc/configure: Regenerate. * libstdc++-v3/configure: Regenerate. * zlib/configure: Regenerate. From-SVN: r91293