summaryrefslogtreecommitdiff
path: root/boehm-gc
Commit message (Collapse)AuthorAgeFilesLines
* 2002-02-01 Adam Megacz <adam@xwt.org>megacz2002-02-022-1/+6
| | | | | | | | * boehm-gc on win32 now automatically detects if it is being built as a DLL; see http://gcc.gnu.org/ml/java/2001-12/msg00240.html git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49426 138bc75d-0d04-0410-961f-82ee72b054a4
* This commit was generated by cvs2svn to compensate for changes in r49361,bryce2002-01-313-352/+555
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49362 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionbryce2002-01-313-0/+589
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49359 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/gc.h (GC_INIT): Add DATASTART and DATAEND roots on AIX.dje2002-01-254-6/+32
| | | | | | | | | | * include/private/gcconfig.h (RS6000): Add 64-bit AIX support. Define USE_GENERIC_PUSH_REGS. Use AIX _data and _end symbols for DATASTART and DATAEND roots. * rs6000_mach_dep.s: Add function descriptor and traceback table. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@49218 138bc75d-0d04-0410-961f-82ee72b054a4
* * dyn_load.c: Define ElfW (if needed) for all targets,jsturm2001-12-173-19/+29
| | | | | | | | | | | not just GNU/Linux. (GC_FirstDLOpenedLinkMap): Use it. (GC_register_dynamic_libraries_dl): Use it. * include/private/gcconfig.h: Define CPP_WORDSZ, ELF_CLASS for sparcv9. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48086 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-12-16 Craig Rodrigues <rodrigc@gcc.gnu.org>rodrigc2001-12-163-2/+10
| | | | | | | | | PR other/3725 * configure.in: Add AC_SUBST(target_alias). * configure: Regenerated. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@48063 138bc75d-0d04-0410-961f-82ee72b054a4
* * linux_threads.c (WRAP_FUNC(pthread_join)): Remove specialljrittle2001-11-264-18/+16
| | | | | | | | | case for GC_FREEBSD_THREADS. * configure.in (*-*-freebsd*): Clarify warning. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47347 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/private/solaris_threads.h: Update to use GC_SOLARIS_THREADS.ljrittle2001-10-232-2/+7
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46451 138bc75d-0d04-0410-961f-82ee72b054a4
* * linux_threads.c (GC_init_parallel): Do not declare as a staticbryce2001-10-234-6/+16
| | | | | | | | | constructor. * include/gc.h (GC_init): Declare here. Add description. * include/private/gc_priv.h (GC_init): Remove declaration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46420 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/gc_pthread_redirects.h: Generalize test to use GC_PTHREADS.ljrittle2001-10-175-5/+30
| | | | | | | | | | | | | | * linux_threads.c (WRAP_FUNC(pthread_join)): Conditionalized on GC_FREEBSD_THREADS, handle strange interaction between system pthread implementation and boehm-gc signal-handler architecture. * tests/test.c (main): Conditionalized on GC_FREEBSD_THREADS, set stack. * include/private/gcconfig.h (configuration keyed off FREEBSD): Define SIG_SUSPEND, SIG_THR_RESTART. Do not define MPROTECT_VDB when GC_FREEBSD_THREADS is defined. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46307 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (test.o): Find tests/test.c in $(srcdir).ljrittle2001-10-173-3/+8
| | | | | | | * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46304 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am, acinclude.m4, configure.in: Imported GC 6.1 Alpha 1bryce2001-10-1639-356/+669
| | | | | | | and merged local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46283 138bc75d-0d04-0410-961f-82ee72b054a4
* This commit was generated by cvs2svn to compensate for changes in r46260,bryce2001-10-151-7/+21
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46261 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionbryce2001-10-151-0/+12
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@46258 138bc75d-0d04-0410-961f-82ee72b054a4
* * solaris_threads.c (MAX_ORIG_STACK_SIZE) [I386]: Provide specialro2001-09-265-3/+39
| | | | | | | | | | | | | | | Solaris 2/Intel definition. * configure.in (i?86-*-solaris2.[89]*): Define SOLARIS25_PROC_VDB_BUG_FIXED. * include/private/gcconfig.h [I386 && SUNOS5]: Use it. * configure: Regenerate. * include/private/gcconfig.h [I386 && SUNOS5] (DATASTART): Use _etext. (DATAEND): Define using _end. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45825 138bc75d-0d04-0410-961f-82ee72b054a4
* * include/Makefile.am: New file. It defines include_HEADERS.bothner2001-09-127-167/+452
| | | | | | | | * Makefile.am (SUBDIRS): New macro, set to include. * configure.in (AC_OUTPUT): Add include/Makefile. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45555 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure: Rebuilt.tromey2001-08-203-91/+82
| | | | | | | * configure.in: Always ask gcc for threads package. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@45052 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am, acinclude.m4, configure.in: Imported GC 6.0 andtromey2001-08-1842-707/+1274
| | | | | | | merged local changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44994 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisiontromey2001-08-1715-0/+11927
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44969 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-08-02 David Billinghurst <David.Billinghurst>tromey2001-08-023-3/+15
| | | | | | | | | * configure: Rebuilt. * configure.in: POSIX threads on cygwin does not link with -lpthreads. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@44574 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR bootstrap/3281:tromey2001-07-035-74/+104
| | | | | | | | * aclocal.m4, configure, Makefile.in: Rebuilt. * acinclude.m4: Set mkinstalldirs for in-tree build. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43738 138bc75d-0d04-0410-961f-82ee72b054a4
* * alpha_mach_dep.s: Mark call-saved FP registers.rth2001-06-265-146/+156
| | | | | | | | | * include/private/gcconfig.h (ALPHA): Remove USE_GENERIC_PUSH_REGS. * configure.in (alpha*): Re-enable alpha_mach_dep.s * configure: Rebuild. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43593 138bc75d-0d04-0410-961f-82ee72b054a4
* * aclocal.m4, configure: Rebuilt.tromey2001-06-134-3/+8
| | | | | | | * acinclude.m4: Find configure.host in srcdir. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43324 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_EXEEXT): Work around in case it expands toaoliva2001-06-093-34/+43
| | | | | | | | | nothing, as in autoconf 2.50. * acinclude.m4: Likewise. * aclocal.m4, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43107 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in (AC_EXEEXT): Work around in case it expands toaoliva2001-06-094-10/+28
| | | | | | | | nothing, as in autoconf 2.50. * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43103 138bc75d-0d04-0410-961f-82ee72b054a4
* For PR bootstrap/3075:tromey2001-06-087-199/+225
| | | | | | | | | | | | | * configure, aclocal.m4, Makefile.in: Rebuilt. * configure.in: Don't call AC_CONFIG_AUX_DIR or AC_CANONICAL_SYSTEM. * acinclude.m4 (BOEHM_CONFIGURE): Call AC_CONFIG_AUX_DIR and AC_CANONICAL_SYSTEM here. * Makefile.am (CONFIG_STATUS_DEPENDENCIES): Use srcdir, not boehm_gc_basedir. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@43033 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am: Override gctest_OBJECTS so tests/test.c can be built.bryce2001-05-244-17/+31
| | | | | | | | | (libgcjgc_la_SOURCES): Remove typo. * tests/test.c: Fix struct names and includes for GC_GCJ_SUPPORT case. * Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42524 138bc75d-0d04-0410-961f-82ee72b054a4
* Imported version version 6.0alpha7.bryce2001-05-2196-14763/+5688
| | | | | | | | | | | | | | | | | | * README, README.Mac, README.OS2, README.QUICK, README.alpha, README.amiga, README.debugging, README.dj, README.hp, README.linux, README.rs6000, README.sgi, README.solaris2, README.uts, README.win32, SCoptions.amiga, backptr.h, barrett_diagram, dbg_mlc.h, gc.h, gc.man, gc_alloc.h, gc_cpp.h, gc_hdrs.h, gc_mark.h, gc_priv.h, gc_private.h, gc_typed.h, gcconfig.h, hpux_irix_threads.c, makefile.depend, nursery.c, solaris_threads.h, test.c, test_cpp.cc, weakpointer.h, cord/README, cord/SCOPTIONS.amiga, cord/SMakefile.amiga, cord/cord.h, cord/ec.h, cord/gc.h, cord/private/cord_pos.h, include/backptr.h, include/gc_copy_descr.h, include/gc_nursery.h: Remove obsolete/moved files. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42379 138bc75d-0d04-0410-961f-82ee72b054a4
* This commit was generated by cvs2svn to compensate for changes in r42373,bryce2001-05-2111-1130/+1852
| | | | | | | which included commits to RCS files with non-trunk default branches. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42374 138bc75d-0d04-0410-961f-82ee72b054a4
* Initial revisionbryce2001-05-2141-0/+7939
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42370 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.host: Build with -fexceptions.tromey2001-05-203-1/+14
| | | | | | | * linux_threads.c: Remember which thread stopped world for git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42362 138bc75d-0d04-0410-961f-82ee72b054a4
* * ltconfig, ltmain.sh, libtool.m4, ltcf-c.sh, ltcf-cxx.sh,aoliva2001-05-201-75/+90
| | | | | | | | ltcf-gcj.sh: Upgraded to libtool 1.4a 1.641.2.254. Rebuilt a number of subdir/configure scripts to use the new libtool.m4. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@42351 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Add support for --enable-threads=posix on FreeBSD.ljrittle2001-05-043-87/+97
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41845 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-05-01 Jeffrey Oldham <oldham@codesourcery.com>oldham2001-05-012-3/+8
| | | | | | | | * gc_priv.h (UNLOCK): Change type of GC_noop1 argument. (GC_noop1): Change declaration to take one argument. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41738 138bc75d-0d04-0410-961f-82ee72b054a4
* * configure.in: Obtain THREADS with `gcc -v'.aoliva2001-04-263-216/+169
| | | | | | | * configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41571 138bc75d-0d04-0410-961f-82ee72b054a4
* * misc.c: Back out buggy changes to stack clearing code.bothner2001-04-072-16/+13
| | | | | | | | Reduce CLEAR_SIZE to 1/4 of original value to reduce time spent clearing memory. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41172 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-04-04 Hans Boehm <hans_boehm@hp.com>tromey2001-04-0510-28/+133
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * finalize.c: - Accomodate finalization requests for static objects. (Will be required by hash synchronization. May be needed in some configurations now.) * gc_priv.h: - Define MIN_WORDS. All allocation requests are rounded up to at least this size. Removes a subtle assumption that Java objects have a 2 word header. * gcconfig.h: - Adjust Linux/IA64 configuration for non-ancient kernels. (Necessary fix for IA64.) * linux_threads.c: - Fix syntax error in currently unused code. Will be needed for Linux/PA-RISC. * malloc.c: - Handle MIN_WORDS. * misc.c: - Handle MIN_WORDS. - Change stack cleaning code to typically clear about one tenth the memory it used to in the threads configuration. Occasionally still clear more. (This is really a fix for a long-standing and fairly significant performance bug with threads.) * os_dep.c: - Fix the code for finding the beginning of the data segment under Linux. I believe this is necessary for some IA64 Linux distributions. It will also helo other platforms, though those may additionally require a gcconfig.h adjustment. (This basically works around the absence of a data_start or __data_start definition in glibc.) * test.c: - Handle rounding due to MIN_WORDS. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@41102 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.am (gctest_LDFLAGS): Use -shared-libgcc.tromey2001-03-223-2/+6
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40756 138bc75d-0d04-0410-961f-82ee72b054a4
* 2001-01-23 Rod Stewart <stewart@lab43.org>tromey2001-03-211-2/+2
| | | | | | | * gcconfig.h: Check for `__arm__', not `arm'. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40698 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-03-213-3/+7
| | | | | | | * Makefile.am (gctest_LDFLAGS): new macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40697 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.in: Rebuilt.tromey2001-03-173-4/+18
| | | | | | | * Makefile.am (TESTS_ENVIRONMENT): New macro. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@40568 138bc75d-0d04-0410-961f-82ee72b054a4
* For boehm-gc:bryce2000-12-306-22/+89
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | * configure.in: Rename THREADLIB to THREADLIBS. * Makefile.am (LINK): Add $(THREADLIBS) to libtool command line. This ensures that we link the correct version of the linuxthreads semaphore functions. * Makefile.in: Rebuilt. * configure: Rebuilt. * linux_thread.c (GC_thr_init, GC_suspend_handler): Add SIGABRT to the list of signals which are not blocked during suspend in the NO_SIGNALS case. For libjava: * Makefile.am (libgcj_la_LIBADD): Add $(THREADLIBS). This ensures that the correct versions of various linuxthreads functions get linked. * Makefile.in: Rebuilt. * java/lang/natThread.cc (finalize_native): New static function. Call _Jv_ThreadDestroyData. (initialize_native): Register finalizer for "data". * include/posix-threads.h (_Jv_ThreadInitData): New simpler prototype. (_Jv_ThreadDestroyData): New prototype. * include/win32-threads.h: Ditto. * include/no-threads.h: Ditto. * posix-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): New function. Free native thread "data" and move mutex and condition variable destroy code from: (really_start): ...here. (_Jv_ThreadStart): Set PTHREAD_CREATE_DETACHED. * win32-threads.cc (_Jv_ThreadInitData): Implement new prototype. (_Jv_ThreadDestroyData): Implemented. * nogc.cc (_Jv_AllocObject): Use "void *" not "ptr_t". (_Jv_AllocArray): Ditto. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38557 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-23 Hans Boehm <Hans_Boehm@hp.com>bryce2000-12-232-1/+4
| | | | | | | * gcj_mlc.c (GC_gcj_malloc): Don't release allocation lock twice. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38476 138bc75d-0d04-0410-961f-82ee72b054a4
* * Makefile.dist: Renamed from Makefile.orig.bryce2000-12-152-0/+4
| | | | git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38276 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-12-11 Alexandre Petit-Bianco <apbianco@cygnus.com>apbianco2000-12-125-57/+66
| | | | | | | | | | | | | * Makefile.am (gctest_LDADD): Added EXTRA_TEST_LIBS. * configure.in (EXTRA_TEST_LIBS): Check for `dlopen' in -ldl and set accordingly. * Makefile.in: Rebuilt. * configure: Likewise. (http://sources.redhat.com/ml/java-patches/2000-q4/msg00237.html) git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38208 138bc75d-0d04-0410-961f-82ee72b054a4
* * gcconfig.h: Add new case for powerpc EABI.geoffk2000-12-102-0/+20
| | | | | | | [PPC]: Handle embedded OS for powerpc simulator. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38179 138bc75d-0d04-0410-961f-82ee72b054a4
* 2000-09-30 Bryce McKinlay <bryce@albatross.co.nz>bryce2000-09-305-19/+40
| | | | | | | | | | * configure.in: Define GC_GCJ_SUPPORT. Define NO_DEBUGGING in cross-compile configuration only. * Makefile.am: Build gcj_mlc.c. * configure, Makefile.in: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36678 138bc75d-0d04-0410-961f-82ee72b054a4
* * ltconfig, ltmain.sh, libtool.m4: Updated from libtoolaoliva2000-09-301-34/+35
| | | | | | | | multi-language branch, to work around Solaris' /bin/sh bug. Rebuilt all affected `configure' scripts. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36673 138bc75d-0d04-0410-961f-82ee72b054a4
* * acinclude.m4: Include libtool macros from the top level.aoliva2000-09-104-527/+652
| | | | | | | * aclocal.m4, configure: Rebuilt. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36287 138bc75d-0d04-0410-961f-82ee72b054a4
* Fix for PR libgcj/230:green2000-09-043-7/+7
| | | | | | | | | * mark.c (GC_mark_from_mark_stack): Remove call to GC_debug_object_start. * gc_priv.h (GC_debug_object_start): Remove prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36145 138bc75d-0d04-0410-961f-82ee72b054a4