summaryrefslogtreecommitdiff
path: root/boehm-gc/include/private
Commit message (Collapse)AuthorAgeFilesLines
* * include/private/gcconfig.h: Handle mips64-linux n64 ABI.David Daney2007-08-151-1/+6
| | | | From-SVN: r127506
* re PR boehm-gc/21940 (boehm-gc gctest fails on Solaris 10/x86)Rainer Orth2007-07-022-42/+35
| | | | | | | | | | | | | | | | | | | | | | | 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. From-SVN: r126211
* Commit the change of this file, mentionend in the CL from 2007-05-20.Andreas Tobler2007-05-241-11/+10
| | | | From-SVN: r125039
* gcconfig.h: use LINUX_STACKBOTTOM so it works with Linux 2.6, reactivate ↵Roman Zippel2007-02-051-2/+2
| | | | | | | | | | | | | MPROTECT_VDB 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 From-SVN: r121606
* os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently added ↵Andreas Tobler2007-01-191-2/+16
| | | | | | | | | | | | | | | defines to include/private/gc_priv.h 2007-01-19 Andreas Tobler <a.tobler@schweiz.org> * os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently added defines to include/private/gc_priv.h * darwin_stop_world.c: Removed the above defines. (catch_exception_raise): Added THREAD_FLD in exc_state for POWERPC too. * include/private/gc_priv.h: Moved definitions from darwin_stop_world.c and os_dep.c to here. Fixed THREAD definition fixes for ppc64. From-SVN: r120977
* gcconfig.h: Handle amd64/x86-64 cpu under GNU/kFreeBSD.Petr Salinger2007-01-161-0/+4
| | | | | | | | | | 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
* configure.ac: Replaced HAS_I386_THREAD_STATE_* with HAS_X86_THREAD_STATE32_* ↵Andreas Tobler2007-01-112-10/+68
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* configure.ac: Fix x86 darwin builds.Mike Stump2006-12-081-2/+2
| | | | | | | | | * configure.ac: Fix x86 darwin builds. * darwin_stop_world.c: Likewise. * include/private/gcconfig.h: Likewise. * connfigure: Regenerate. From-SVN: r119670
* os_dep.c: Port to Darwin/i386Sandro Tolaini2006-09-211-1/+24
| | | | | | | | | | 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
* configure.ac: add support for GNU/kFreeBSD, accepted by upstream for gc 6.8.Petr Salinger2006-09-181-6/+35
| | | | | | | | | | | | | | 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
* pthread_stop_world.c (GC_suspend_handler): Redirect to suspension routine if ↵Keith Seitz2006-06-211-0/+1
| | | | | | | | | | | | | | | | 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
* gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version.Alan Modra2006-02-041-1/+1
| | | | | | | * include/private/gc_locks.h (GC_test_and_set <POWERPC>): Don't use broken 64-bit version. From-SVN: r110571
* gcconfig.h: Revert to GC 6.6 version, removing all local changes.Bryce McKinlay2006-01-251-12/+12
| | | | | | | * include/private/gcconfig.h: Revert to GC 6.6 version, removing all local changes. From-SVN: r110222
* Import Boehm GC version 6.6.Bryce McKinlay2006-01-256-96/+149
| | | | From-SVN: r110204
* gc_priv.h: Increase MAX_ROOT_SETS to 1024.Bryce McKinlay2005-11-021-11/+3
| | | | | | | | 2005-11-01 Bryce McKinlay <mckinlay@redhat.com> * include/private/gc_priv.h: Increase MAX_ROOT_SETS to 1024. From-SVN: r106362
* gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'.Kazu Hirata2005-09-151-1/+1
| | | | | | | * include/private/gc_locks.h (GC_test_and_set): Change the constraint of the first operand to '0'. From-SVN: r104329
* re PR boehm-gc/23662 (Binaries generated by arm-linux-gcj segfault on ↵Tom Tromey2005-09-061-1/+1
| | | | | | | | | | execution on arm target) PR libgcj/23662: * include/private/gcconfig.h (LINUX_STACKBOTTOM): Use instead of HEURISTIC1 on ARM. From-SVN: r103946
* * include/private/gcconfig.h (sh-linux): Use LINUX_STACKBOTTOM.SUGIOKA Toshinobu2005-07-171-1/+1
| | | | From-SVN: r102110
* os_dep.c: Add FreeBSD/PowerPC bits.Andreas Tobler2005-06-151-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
* gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux.Andrew Haley2005-05-251-0/+1
| | | | | | | | | 2005-05-25 Andrew Haley <aph@redhat.com> * include/private/gcconfig.h (HBLKSIZE): Define to 4096 on powerpc64-linux. From-SVN: r100145
* os_dep.c, gc_locks.h: Import CRIS port by Simon Posnjak from gc6.4.Hans-Peter Nilsson2005-04-192-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
* gcconfig.h (sparc-linux): Use LINUX_STACKBOTTOM.David S. Miller2005-04-171-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
* * include/private/gcconfig.h (alpha-linux): Use LINUX_STACKBOTTOM.Richard Henderson2005-04-121-1/+1
| | | | From-SVN: r98032
* darwin_stop_world.c: Update for -m64 multilib.Mike Stump2005-03-241-3/+9
| | | | | | | | * darwin_stop_world.c: Update for -m64 multilib. * include/private/gcconfig.h: Likewise. * powerpc_darwin_mach_dep.s: Likewise. From-SVN: r96968
* re PR libgcj/19823 (java fails with non-executable memory)Bryce McKinlay2005-02-161-0/+4
| | | | | | | | | | | | 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
* gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype.Ulrich Weigand2004-10-191-0/+4
| | | | | | | * include/private/gc_priv.h (GC_generic_malloc_words_small_inner): Add prototype. From-SVN: r89283
* Add support for M32RKazuhiro Inaoka2004-10-131-0/+21
| | | | From-SVN: r88976
* backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split ↵Hans Boehm2004-08-281-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
* aix_irix_threads.c: Move _THREADS checks after gc_priv.h include.Hans Boehm2004-08-231-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
* configure.in (GCINCS): Don't use "boehm-cflags".Bryce McKinlay2004-08-146-36/+115
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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
* This commit was generated by cvs2svn to compensate for changes in r85899,Bryce McKinlay2004-08-122-0/+12
| | | | | | which included commits to RCS files with non-trunk default branches. From-SVN: r85900
* gcconfig.h (PREFETCH): Use __builtin_prefetch for gcc >= 3.0.H.J. Lu2004-04-061-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
* gcconfig.h (USE_MMAP): Define for all Linux.Andrew Haley2004-01-201-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
* * include/private/gcconfig.h: Re-install change of 2003-04-16.Richard Earnshaw2003-10-311-3/+8
| | | | From-SVN: r73134
* gcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment.Alan Modra2003-10-181-2/+1
| | | | | | | * include/private/gcconfig.h (ALIGNMENT <powerpc linux>): Remove unsure comment. From-SVN: r72608
* configure.in: Remove NO_GETENV definition for win32.Hans Boehm2003-10-031-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
* Fix arm-elf support.Anthony Green2003-09-211-1/+1
| | | | From-SVN: r71613
* Import GC 6.3alpha1.Jeff Sturm2003-07-288-312/+664
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * 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
* Initial revisionJeff Sturm2003-07-284-0/+192
| | | | From-SVN: r69872
* * include/private/gcconfig.h: Add support for arm-netbsdelf.Richard Earnshaw2003-04-161-4/+9
| | | | From-SVN: r65692
* gcconfig.h (LINUX_STACKBOTTOM): Define for POWERPC.Tom Tromey2003-04-101-3/+1
| | | | | | | | * include/private/gcconfig.h (LINUX_STACKBOTTOM): Define for POWERPC. (STACK_GRAN, HEURISTIC1): Don't define for POWERPC. From-SVN: r65411
* gc_locks.h [IA64]: Include ia64intrin.h.Richard Henderson2003-03-221-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
* gcconfig.h (GC_data_start): declare when needed.Hans Boehm2003-03-042-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
* mark_rts.c (GC_cond_register_dynamic_libraries): add.Hans Boehm2003-03-032-0/+14
| | | | | | | | | | | | | | | | | | | | 2003-03-03 Hans Boehm <Hans.Boehm@hp.com> * mark_rts.c (GC_cond_register_dynamic_libraries): add. (GC_push_roots): explicitly mark free list headers, register dynamic libraries only if !REGISTER_LIBRARIES_EARLY. * alloc.c (GC_stopped_mark): Conditionally call GC_cond_register_dynamic_libraries(). (GC_collect_a_little_inner, GC_try_to_collect_inner): Check GC_dont_gc. * dyn_load.c (GC_register_main_static_data): define. (GC_register_dyn_libraries (Linux /proc, Linux ELF versions)): no longer skip main data. * misc.c (GC_REGISTER_MAIN_STATIC_DATA): define. (GC_init_inner): Make main data registration conditional. * include/private/gc_priv.h (GC_register_main_static_data): declare. * include/private/gcconfig.h (REGISTER_LIBRARIES_EARLY): define for LINUX. From-SVN: r63727
* gcconfig.h: undefine MPROTECT_VDB for MACOSXAndreas Tobler2003-02-111-1/+1
| | | | | | | | 2003-02-11 Andreas Tobler <a.tobler@schweiz.ch> * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX From-SVN: r62705
* * include/private/gcconfig.h (HBLKSIZE): Define for x86-64.Andreas Jaeger2002-10-021-0/+1
| | | | From-SVN: r57728
* gcconfig.h: Don't check for __XSCALE__.Richard Earnshaw2002-09-281-1/+1
| | | | | | | * include/private/gcconfig.h: Don't check for __XSCALE__. Instead check for __arm__ or __thumb__. From-SVN: r57610
* gcconfig: Add machine type S390.Ulrich Weigand2002-09-272-3/+55
| | | | | | | | * include/private/gcconfig: Add machine type S390. Add s390x support. * include/private/gc_locks.h (GC_test_and_set): Implement for s390. (GC_compare_and_exchange): Likewise. From-SVN: r57592
* * include/private/gcconfig.h: Fix NetBSD/mips parameters.Jason Thorpe2002-09-241-17/+8
| | | | From-SVN: r57479
* Remove dead endif so x86-64 compilation works.Bo Thorsen2002-07-191-1/+0
| | | | From-SVN: r55585