aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc/include
AgeCommit message (Collapse)AuthorFilesLines
2006-06-21pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if ↵Keith Seitz2-0/+11
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-03Index: gcc/ChangeLogGeoffrey Keating1-1/+19
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'Donell1-2/+2
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 Haley1-0/+9
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-02-07gc_ext_config.h.in: Added GC_PTHREAD_SYM_VERSION.Jakub Jelinek3-0/+7
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 Modra1-1/+1
* include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version. From-SVN: r110571
2006-01-25gcconfig.h: Revert to GC 6.6 version, removing all local changes.Bryce McKinlay1-12/+12
* include/private/gcconfig.h: Revert to GC 6.6 version, removing all local changes. From-SVN: r110222
2006-01-25Import Boehm GC version 6.6.Bryce McKinlay11-106/+188
From-SVN: r110204
2006-01-24re PR libobjc/13946 (ObjC configured --with-objc-gc needs external Boehm gc)David Ayers1-2/+2
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 McKinlay1-11/+3
2005-11-01 Bryce McKinlay <mckinlay@redhat.com> * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. From-SVN: r106362
2005-09-15gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'.Kazu Hirata1-1/+1
* 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 Tromey1-1/+1
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 Toshinobu1-1/+1
From-SVN: r102110
2005-06-15os_dep.c: Add FreeBSD/PowerPC bits.Andreas Tobler1-0/+20
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 Haley1-0/+1
2005-05-25 Andrew Haley <aph@redhat.com> * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux. From-SVN: r100145
2005-04-19os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.Hans-Peter Nilsson2-1/+46
* 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. Miller1-3/+1
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-12* include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.Richard Henderson1-1/+1
From-SVN: r98032
2005-03-24darwin_stop_world.c: Update for -m64 multilib.Mike Stump1-3/+9
* 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 Cook1-9/+20
2005-03-01 Kelley Cook <kcook@gcc.gnu.org> * Makefile.in, include/Makefile.in: Regenerate. From-SVN: r95762
2005-02-16re PR libgcj/19823 (java fails with non-executable memory)Bryce McKinlay2-0/+7
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-01-02boehm-gc.h: Include gc_ext_config.h, not gc_config.h.Bryce McKinlay2-0/+27
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-11-30re PR libgcj/18699 (SIGSEGV in GC_local_gcj_malloc)Bryce McKinlay3-157/+150
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-27gc_config.h.in: Add comment.Bryce McKinlay1-2/+6
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 McKinlay3-150/+153
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-05Makefile.am: Define ACLOCAL_AMFLAGS.Kelley Cook1-4/+3
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. From-SVN: r90103
2004-10-19gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.Ulrich Weigand1-0/+4
* include/private/gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype. From-SVN: r89283
2004-10-13Add support for M32RKazuhiro Inaoka1-0/+21
From-SVN: r88976
2004-09-27configure.ac: Update all AC_DEFINEs to newer style.Kelley Cook1-0/+118
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. From-SVN: r88206
2004-08-28backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split ↵Hans Boehm1-0/+7
GC_traverse_back_graph. * 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. From-SVN: r86685
2004-08-23aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.Hans Boehm1-0/+2
* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include. * backgraph.c, include/private/gc_pmark.h: Always include gc.h. From-SVN: r86442
2004-08-16aclocal.m4: Remove obsolete construct for old automake.Nathanael Nerode1-11/+30
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. From-SVN: r86071
2004-08-14configure.in (GCINCS): Don't use "boehm-cflags".Bryce McKinlay16-139/+292
libjava: 2004-08-13 Bryce McKinlay <mckinlay@redhat.com> * configure.in (GCINCS): Don't use "boehm-cflags". Instead, -I boehm-gc's include dirs. * configure: Rebuilt. * include/boehm-gc.h: Include gc_config.h. boehm-gc: 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. From-SVN: r85972
2004-08-12This commit was generated by cvs2svn to compensate for changes in r85899,Bryce McKinlay4-6/+33
which included commits to RCS files with non-trunk default branches. From-SVN: r85900
2004-08-12Makefile.in: RegenerateKelley Cook1-137/+275
2004-08-12 Kelley Cook <kcook@gcc.gnu.org> * include/Makefile.in: Regenerate From-SVN: r85870
2004-04-06gcconfig.h (PREFETCH): Use __builtin_prefetch for gcc >= 3.0.H.J. Lu1-4/+4
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. From-SVN: r80459
2004-02-27configure.in: Add CCAS, CCASFLAGS for future automakes.Nathanael Nerode1-0/+2
* configure.in: Add CCAS, CCASFLAGS for future automakes. * configure, Makefile.in, include/Makefile.in: Regenerate. From-SVN: r78540
2004-02-23configure.in: Use NCN_TARGET_NONCANONICAL and friends.Nathanael Nerode1-3/+8
* configure.in: Use NCN_TARGET_NONCANONICAL and friends. * configure: Regenerate. * Makefile.am: Use target_noncanonical variable from configure. * Makefile.in: Regenerate. * include/Makefile.in: Regenerate. From-SVN: r78317
2004-01-20gcconfig.h (USE_MMAP): Define for all Linux.Andrew Haley1-1/+2
2004-01-20 Andrew Haley <aph@redhat.com> * include/private/gcconfig.h (USE_MMAP): Define for all Linux. * configure.in: Comment change. From-SVN: r76210
2003-10-31* include/private/gcconfig.h: Re-install change of 2003-04-16.Richard Earnshaw1-3/+8
From-SVN: r73134
2003-10-18gcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment.Alan Modra1-2/+1
* include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment. From-SVN: r72608
2003-10-03configure.in: Remove NO_GETENV definition for win32.Hans Boehm1-1/+13
* configure.in: Remove NO_GETENV definition for win32. * mach_dep.c (GC_generic_push_regs): Prevent tail call optimization. * misc.c (GC_init_inner): Call GC_thr_init for win32. (GC_set_warn_proc): Add assertion. * win32_threads.c: Import 6.3alpha2 version. * include/private/gc_priv.h: Add support for EMPTY_GETENV_RESULTS. From-SVN: r72074
2003-09-21Fix arm-elf support.Anthony Green1-1/+1
From-SVN: r71613
2003-07-31gc.h (GC_CreateThread): Declare with WINAPI attribute.Danny Smith1-1/+1
* include/gc.h (GC_CreateThread): Declare with WINAPI attribute. * win32_threads.c (GC_CreateThread): Make definitions consistent with declaration. Cast &thread_table[i].handle to PHANDLE in call to DuplicateHandle (thread_start): Declare as static. From-SVN: r69990
2003-07-28Import GC 6.3alpha1.Jeff Sturm16-463/+896
* BCC_MAKEFILE: Merge with GC 6.3alpha1 release. * ChangeLog: Likewise. * Makefile.am: Likewise. * Makefile.direct: Likewise. * Makefile.dj: Likewise. * allchblk.c: Likewise. * alloc.c: Likewise. * backgraph.c: Likewise. * configure.host: Likewise. * configure.in: Likewise. * dbg_mlc.c: Likewise. * dyn_load.c: Likewise. * finalize.c: Likewise. * gc_cpp.cc: Likewise. * gc_dlopen.c: Likewise. * gcj_mlc.c: Likewise. * if_mach.c: Likewise. * mach_dep.c: Likewise. * malloc.c: Likewise. * mallocx.c: Likewise. * mark.c: Likewise. * mark_rts.c: Likewise. * misc.c: Likewise. * os_dep.c: Likewise. * ptr_chck.c: Likewise. * reclaim.c: Likewise. * solaris_pthreads.c: Likewise. * solaris_threads.c: Likewise. * sparc_mach_dep.S: Likewise. * threadlibs.c: Likewise. * typd_mlc.c: Likewise. * version.h: Likewise. * win32_threads.c: Likewise. * Mac_files/MacOS_Test_config.h: Likewise. * Mac_files/MacOS_config.h: Likewise. * cord/cordbscs.c: Likewise. * cord/cordprnt.c: Likewise. * cord/de_win.c: Likewise. * doc/README: Likewise. * doc/README.MacOSX: Likewise. * doc/README.changes: Likewise. * doc/README.environment: Likewise. * doc/README.ews4800: Likewise. * doc/README.linux: Likewise. * doc/README.macros: Likewise. * doc/README.win32: Likewise. * doc/debugging.html: Likewise. * doc/gcdescr.html: Likewise. * doc/tree.html: Likewise. * include/Makefile.in: Likewise. * include/gc.h: Likewise. * include/gc_cpp.h: Likewise. * include/gc_local_alloc.h: Likewise. * include/gc_mark.h: Likewise. * include/gc_pthread_redirects.h: Likewise. * include/gc_typed.h: Likewise. * include/new_gc_alloc.h: Likewise. * include/private/dbg_mlc.h: Likewise. * include/private/gc_hdrs.h: Likewise. * include/private/gc_locks.h: Likewise. * include/private/gc_pmark.h: Likewise. * include/private/gc_priv.h: Likewise. * include/private/gcconfig.h: Likewise. * include/private/solaris_threads.h: Likewise. * include/private/specific.h: Likewise. * tests/test.c: Likewise. * tests/test_cpp.cc: Likewise. * configure: Rebuild. * Makefile.in: Rebuild. * mips_sgi_mach_dep.s: Add. * alpha_mach_dep.s: Remove. * irix_threads.c: Remove. * linux_threads.c: Remove. * mips_sgi_mach_dep.S: Remove. * missing: Remove. * powerpc_macosx_mach_dep.s: Remove. * doc/Makefile.am: Remove. * doc/Makefile.in: Remove. From-SVN: r69880
2003-07-28Initial revisionJeff Sturm6-0/+571
From-SVN: r69872
2003-04-16* include/private/gcconfig.h: Add support for arm-netbsdelf.Richard Earnshaw1-4/+9
From-SVN: r65692
2003-04-10gcconfig.h (LINUX_STACKBOTTOM): Define for POWERPC.Tom Tromey1-3/+1
* include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for POWERPC. (STACK_GRAN, HEURISTIC1): Don't define for POWERPC. From-SVN: r65411
2003-03-22gc_locks.h [IA64]: Include ia64intrin.h.Richard Henderson1-14/+7
* include/private/gc_locks.h [IA64]: Include ia64intrin.h. (GC_test_and_set): Use __sync_lock_test_and_set. (GC_clear): Use volatile assignment. (GC_compare_and_exchange): Use __sync_bool_compare_and_swap. (GC_memory_write_barrier): Use __sync_synchronize. From-SVN: r64736
2003-03-04gcconfig.h (GC_data_start): declare when needed.Hans Boehm2-4/+8
2003-03-04 Hans Boehm <Hans.Boehm@hp.com> * include/private/gcconfig.h (GC_data_start): declare when needed. * include/private/gc_priv.h: Include gcconfig.h after ptr_t declaration. * dyn_load.c (GC_register_dynamic_libraries_dl_iterate_phdr, GC_register_dynlib_callback): Register main data for static executable if dl_iterate_phdr() didn't. * misc.c (GC_init_inner): Call GC_init_linux_data_start() even if we don't expect to register main static data. From-SVN: r63809