aboutsummaryrefslogtreecommitdiff
path: root/boehm-gc
AgeCommit message (Collapse)AuthorFilesLines
2003-04-28configure.in: define GC_DLL under mingw if --enable-sharedMohan Embar4-104/+115
2003-04-28 Mohan Embar <gnustuff@thisiscool.com> * configure.in: define GC_DLL under mingw if --enable-shared * configure: rebuilt * win32_threads.c: add #ifdef GC_DLL around DllMain From-SVN: r66183
2003-04-16* include/private/gcconfig.h: Add support for arm-netbsdelf.Richard Earnshaw2-4/+13
From-SVN: r65692
2003-04-11libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*.Alexandre Oliva1-10/+29
* libtool.m4 (lt_cv_deplibs_check_method): Use pass_all on mips*. * */configure: Rebuilt. From-SVN: r65459
2003-04-10gcconfig.h (LINUX_STACKBOTTOM): Define for POWERPC.Tom Tromey2-3/+7
* 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 Henderson2-14/+15
* 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-12configure.in: Avoid trailing /.Andreas Schwab3-30/+24
2003-03-10 Andreas Schwab <schwab@suse.de> boehm-gc: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libf2c: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libffi: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libjava: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. libobjc: * aclocal.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * configure: Rebuilt. libstdc++-v3: * acinclude.m4 (GLIBCPP_EXPORT_INSTALL_INFO): Avoid trailing /. in glibcpp_toolexeclibdir. * aclocal.m4, configure: Rebuilt. zlib: * configure.in: Avoid trailing /. in toolexeclibdir. * configure: Rebuilt. From-SVN: r64267
2003-03-04gcconfig.h (GC_data_start): declare when needed.Hans Boehm5-8/+30
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
2003-03-03mark_rts.c (GC_cond_register_dynamic_libraries): add.Hans Boehm7-23/+118
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
2003-02-20configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status.Alexandre Oliva3-15/+37
* configure.in: Propagate ORIGINAL_LD_FOR_MULTILIBS to config.status. * configure: Rebuilt. From-SVN: r63159
2003-02-11gcconfig.h: undefine MPROTECT_VDB for MACOSXAndreas Tobler2-1/+5
2003-02-11 Andreas Tobler <a.tobler@schweiz.ch> * include/private/gcconfig.h: undefine MPROTECT_VDB for MACOSX From-SVN: r62705
2003-01-28configure.in (toolexecdir, [...]): Set and AC_SUBST.Alexandre Oliva5-117/+176
* configure.in (toolexecdir, toolexeclibdir): Set and AC_SUBST. Remove USE_LIBDIR conditional. * Makefile.am (toolexecdir, toolexeclibdir): Don't override. * Makefile.in, configure: Rebuilt. From-SVN: r61926
2002-12-31For PR libgcj/8933:Tom Tromey4-40/+75
* include/Makefile.in: Rebuilt. * include/Makefile.am (noinst_HEADERS): Renamed from include_HEADERS. From-SVN: r60702
2002-11-20ltconfig (osf[345]): Append $major to soname_spec.Rainer Orth3-3/+9
* ltconfig (osf[345]): Append $major to soname_spec. Reflect this in library_names_spec. * ltmain.sh (osf): Prefix $major with . for use as extension. boehm-gc: * ltconfig (osf[345]): Append $major to soname_spec. Reflect this in library_names_spec. * ltmain.sh (osf): Prefix $major with . for use as extension. From-SVN: r59306
2002-10-02* include/private/gcconfig.h (HBLKSIZE): Define for x86-64.Andreas Jaeger2-21/+25
From-SVN: r57728
2002-09-28gcconfig.h: Don't check for __XSCALE__.Richard Earnshaw2-1/+6
* include/private/gcconfig.h: Don't check for __XSCALE__. Instead check for __arm__ or __thumb__. From-SVN: r57610
2002-09-27gcconfig: Add machine type S390.Ulrich Weigand3-3/+61
* 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
2002-09-25Fixed misformatted ChangeLog entryAdam Megacz1-1/+1
From-SVN: r57505
2002-09-24* include/private/gcconfig.h: Fix NetBSD/mips parameters.Jason Thorpe2-17/+12
From-SVN: r57479
2002-09-242002-08-23 Adam Megacz <adam@xwt.org>Adam Megacz2-3/+4
* Removed extraneous ABORT() From-SVN: r57460
2002-09-23Makefile.am (all-multi): Fix multilib parallel build.Kaveh R. Ghazi3-2/+6
boehm-gc: * Makefile.am (all-multi): Fix multilib parallel build. libf2c: * Makefile.in (all): Fix multilib parallel build. libffi: * Makefile.am (all-multi): Fix multilib parallel build. libiberty: * Makefile.in (all): Fix multilib parallel build. libjava: * Makefile.am (all-multi): Fix multilib parallel build. libobjc: * Makefile.in (all): Fix multilib parallel build. libstdc++-v3: * Makefile.am (all-multi): Fix multilib parallel build. zlib: * Makefile.am (all-multi): Fix multilib parallel build. From-SVN: r57423
2002-08-14configure, configure: Rebuilt.Alexandre Oliva1-82/+115
* boehm-gc/configure, libf2c/configure: Rebuilt. * libffi/configure, libiberty/configure: Ditto. * libjava/configure, libobjc/configure: Ditto. * libstdc++-v3/configure, zlib/configure: Ditto. Merged from binutils: 2002-01-27 Daniel Jacobowitz <drow@mvista.com> From Steve Ellcey <sje@cup.hp.com>: * libtool.m4 (HPUX_IA64_MODE): Set to 32 or 64 based on ABI. (lt_cv_deplibs_check_method, lt_cv_file_magic_cmd, lt_cv_file_magic_test_file): Set to appropriate values for HP-UX IA64. * ltcf-c.sh (archive_cmds, hardcode_*): Ditto. * ltconfig (shlibpath_*, dynamic_linker, library_names_spec, soname_spec, sys_lib_search_path_spec): Ditto. From-SVN: r56270
2002-07-19Remove dead endif so x86-64 compilation works.Bo Thorsen1-1/+0
From-SVN: r55585
2002-07-19gcconfig.h: Add x86-64 definitions.Bo Thorsen5-16/+69
2002-07-18 Bo Thorsen <bo@suse.de> * include/private/gcconfig.h: Add x86-64 definitions. * os_dep.c: Add x86-64 support. * configure.in: Likewise. * configure: Regenerate. Approved by Hans Boehm. From-SVN: r55584
2002-07-18mach_dep.c (GC_push_regs): Remove the unused Linux/mips code.H.J. Lu2-17/+4
2002-07-18 H.J. Lu <hjl@gnu.org> * mach_dep.c (GC_push_regs): Remove the unused Linux/mips code. From-SVN: r55566
2002-07-18configure.in (machdep): Don't add mips_sgi_mach_dep.lo for Linux/mips.H.J. Lu3-84/+82
2002-07-18 H.J. Lu (hjl@gnu.org) * configure.in (machdep): Don't add mips_sgi_mach_dep.lo for Linux/mips. From-SVN: r55565
2002-06-29* win32_threads.c (GC_push_all_stacks): Tolerate bad sp.Hans Boehm2-2/+14
From-SVN: r55104
2002-06-10gc_locks.h (GC_test_and_set): Support Linux/mips.H.J. Lu3-6/+21
* include/private/gc_locks.h (GC_test_and_set): Support Linux/mips. (GC_TEST_AND_SET_DEFINED): Likewise. * include/private/gcconfig.h (DYNAMIC_LOADING): Defined for Linux/mips. (DATAEND): Likewise. (LINUX_STACKBOTTOM): Likewise. (STACKBOTTOM): Removed for Linux/mips. From-SVN: r54444
2002-05-19irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC.Mark Mitchell4-7/+22
* irix_threads.cc (GC_pthread_detach): Do not use REAL_FUNC. (GC_pthread_create): Fix typo. (GC_TRY_LOCK): Likewise. * include/private/gc_locks.h (GC_test_and_set): Only take one one argument. (LOCK): Adjust appropriately. * include/private/gc_priv.h (SIG_SUSPEND): Use SIGRTMIN if _SIGRTMIN is unavailable. From-SVN: r53636
2002-05-16Makefile.in: Allow for PWDCMD to override hardcoded pwd.Rainer Orth4-5/+11
* Makefile.in: Allow for PWDCMD to override hardcoded pwd. * config-ml.in: Likewise. * configure: Likewise. * configure.in: Likewise. boehm-gc: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Regenerate. * configure: Regenerate. config: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. contrib: * test_installed: Allow for PWDCMD to override hardcoded pwd. * test_summary: Likewise. gcc: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * fixinc/check.tpl: Likewise. * fixinc/fixinc.dgux: Likewise. * fixinc/fixinc.svr4: Likewise. * fixinc/fixinc.winnt: Likewise. * fixinc/fixincl.sh: Likewise. * fixproto: Likewise. * configure: Regenerate. gcc/ada: * Makefile.adalib: Allow for PWDCMD to override hardcoded pwd. * Makefile.in: Likewise. gcc/f: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/java: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. gcc/po: * exgettext: Allow for PWDCMD to override hardcoded pwd. gcc/treelang: * Make-lang.in: Allow for PWDCMD to override hardcoded pwd. libf2c: * Makefile.in: Allow for PWDCMD to override hardcoded pwd. * aclocal.m4: Likewise. * configure: Regenerate. libjava: * acinclude.m4: Allow for PWDCMD to override hardcoded pwd. * configure.in: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. libobjc: * aclocal.m4: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. libstdc++-v3: * Makefile.am: Allow for PWDCMD to override hardcoded pwd. * acinclude.m4: Likewise. * docs/html/Makefile: Likewise. * aclocal.m4: Regenerate. * configure: Regenerate. * Makefile.in: Regenerate. zlib: * configure.in: Allow for PWDCMD to override hardcoded pwd. * configure: Regenerate. * ChangeLog: Move entries to ChangeLog.gcj. From-SVN: r53523
2002-05-08configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and ↵Alexandre Oliva3-74/+105
set LD to it when configuring multilibs. * configure.in (ORIGINAL_LD_FOR_MULTILIBS): Preserve LD at script entry, and set LD to it when configuring multilibs. * configure: Rebuilt. From-SVN: r53278
2002-04-23Makefile.am (toolexeclib_LTLIBRARIES): Remove.Jeff Sturm3-112/+40
* Makefile.am (toolexeclib_LTLIBRARIES): Remove. (noinst_LTLIBRARIES): Add libgcjgc.la. * Makefile.in: Rebuild. From-SVN: r52651
2002-04-21[multiple changes]David S. Miller2-4/+14
2002-04-22 David S. Miller <davem@redhat.com> * include/private/gcconfig.h: Hard-code STACKBOTTOM on 64-bit SPARC Linux, the __libc_stack_end technique does not work in this case. 2002-04-22 Jeff Sturm <jsturm@one-point.com> * gcconfig.h: Enable DYNAMIC_LOADING for all sparc-solaris ABIs. From-SVN: r52601
2002-04-17gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux.Hans Boehm2-2/+6
* include/private/gcconfig.h: Use LINUX_STACKBOTTOM for SPARC Linux. From-SVN: r52440
2002-04-09gcconfig.h (DATAEND): Update comment example to match reality.Loren J. Rittle2-2/+7
* include/private/gcconfig.h (DATAEND): Update comment example to match reality. From-SVN: r52098
2002-04-09* include/private/gcconfig.h (DATAEND): Clarify comment.Loren J. Rittle2-0/+7
From-SVN: r52054
2002-04-09gc_priv.h (WARN macro): Add "GC warning:" prefix.Hans Boehm6-12/+68
* include/private/gc_priv.h (WARN macro): Add "GC warning:" prefix. (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): declare. * allchblk.c (GC_allchblk_nth): Change text and support reduced frequency for blacklist warning message. * misc.c (GC_large_alloc_warn_interval, GC_large_alloc_warn_suppressed): define. (GC_init_inner): Check GC_NO_BLACKLIST_WARNING and GC_LARGE_ALLOC_WARN_INTERVAL environment variables. * doc/README.environment (GC_NO_BLACKLIST_WARNING): Deprecate. (GC_LARGE_ALLOC_WARN_INTERVAL): Add documentation. * dyn_load.c (_DYNAMIC): Move declaration to file scope. From-SVN: r52053
2002-04-04gcconfig.h: Add support for an unmapped memory hole between the end of the ↵Loren J. Rittle2-0/+14
initialized data... * include/private/gcconfig.h: Add support for an unmapped memory hole between the end of the initialized data segment and the start of the BSS on FreeBSD/i386. From-SVN: r51867
2002-03-31gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386.Bryce McKinlay2-0/+20
2002-03-30 Krister Walfridsson <cato@df.lth.se> * include/private/gcconfig.h: define DYNAMIC_LOADING for ELF NetBSD/i386. From-SVN: r51616
2002-03-29linux_threads.c (return_free_lists): Clear fl[i] unconditionally.Hans Boehm5-19/+78
* linux_threads.c (return_free_lists): Clear fl[i] unconditionally. (GC_local_gcj_malloc): Add assertion. (start_mark_threads): Fix abort message. * mark.c (GC_mark_from): Generalize assertion. * reclaim.c (GC_clear_fl_links): New function. (GC_start_reclaim): Must clear some freelist links. * include/private/specific.h, specific.c: Add assertions. Safer definition for INVALID_QTID, quick_thread_id. Fix/add comments. Rearrange tse fields. From-SVN: r51582
2002-03-27os_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end.Richard Henderson2-8/+13
* os_dep.c (GC_init_linux_data_start): Fix references to __data_start and _end. From-SVN: r51467
2002-03-25gcconfig.h: Change all likely references to linker script synthesized ↵Loren J. Rittle2-141/+149
symbols to use this... * include/private/gcconfig.h: Change all likely references to linker script synthesized symbols to use this idiom: extern int etext[]; etext From-SVN: r51352
2002-03-25* linux_threads.c (GC_get_nprocs): Close file descriptor.Jeff Sturm2-0/+12
From-SVN: r51321
2002-03-22gcconfig.h: Add unified test for FreeBSD.Loren J. Rittle3-9/+40
* include/private/gcconfig.h: Add unified test for FreeBSD. Support FreeBSD/alpha. * os_dep.c: Do not include <machine/trap.h> unless available. (GC_freebsd_stack_base): Fix types. From-SVN: r51159
2002-03-17Makefile.am: Make target library a convenience library.Bryce McKinlay3-33/+126
zlib: * Makefile.am: Make target library a convenience library. * Makefile.in: Rebuilt. libffi: * Makefile.am: libfficonvenience -> libffi_convenience. * Makefile.in: Rebuilt. boehm-gc: * Makefile.am: Make a convenience library. * Makefile.in: Rebuilt. libjava: Build a single libgcj.so, without separate gc and zlib libraries. * configure.in: Use convenience libraries for boehm-gc and zlib. Set SYS_ZLIBS if system zlib is used. * configure: Rebuilt. * Makefile.am: Use boehm-gc and zlib convenience libraries. * Makefile.in: Rebuilt. * libtool-version: Increment .so version number. From-SVN: r50900
2002-03-15Address mingw32 issues.Anthony Green4-6/+19
From-SVN: r50816
2002-03-12dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls.Adam Megacz6-23/+38
2002-03-12 Adam Megacz <adam@xwt.org> * dyn_load.c: Renamed GC_win32s to GC_no_win32_dlls. * misc.c: Renamed GC_is_win32s() to GC_no_win32_dlls * os_dep.c: Renamed GC_win32s to GC_no_win32_dlls and statically initialized it to TRUE if compiling with GCC. * win32_threads.c (thread_start): We no longer use SEH if compiling with GCC. * mark.c (GC_mark_some): We no longer use SEH if compiling with GCC. From-SVN: r50671
2002-03-10Hashtable synchronization for PowerPC.Bryce McKinlay2-0/+11
libjava: Hashtable synchronization for PowerPC. * configure.in: Define SLOW_PTHREAD_SELF if configure.host set slow_pthread_self. Set up symlink for sysdeps directory. * configure: Rebuild. * configure.host: Document more shell variables. Set sysdeps_dir for most platforms. Set slow_pthread_self for i686. Set enable_hash_synchronization_default and slow_pthread_self for PowerPC. * posix-threads.cc (_Jv_ThreadSelf_out_of_line): Use release_set so that memory barrier is emitted where required. * prims.cc: 64-bit align static primitive class instances. * include/posix-threads.h (_Jv_ThreadSelf for SLOW_PTHREAD_SELF): Add read_barrier() to enforce ordering of reads. * sysdep/powerpc/locks.h: New file. Implementation of synchronization primitives for PowerPC. * sysdep/i386/locks.h: New file. Synchronization primitives for i386 moved from natObject.cc. * sysdep/alpha/locks.h: Likewise. * sysdep/ia64/locks.h: Likewise. * sysdep/generic/locks.h: Likewise. * java/lang/natObject.cc: Move thread synchronization primitives to system-dependent headers. gcc/java: * decl.c (java_init_decl_processing): Make sure class_type_node alignment is not less than 64 bits if hash synchronization isenabled. boehm-gc: * include/gc_priv.h: Define ALIGN_DOUBLE on 32 bit targets if GCJ support is enabled, for hash synchronization. From-SVN: r50523
2002-02-25Makefile.am: Added win32_threads.c to sources list.Adam Megacz4-60/+20
2002-02-24 Adam Megacz <adam@xwt.org> * Makefile.am: Added win32_threads.c to sources list. * win32_threads.c: Added two */'s which I had neglected. From-SVN: r50016
2002-02-20Makefile.am: Re-add SUBDIRS parameter which was lost in merge.Bryce McKinlay3-23/+109
* Makefile.am: Re-add SUBDIRS parameter which was lost in merge. * Makefile.in: Rebuilt. From-SVN: r49895
2002-02-15Import bugfix.Mike Stump1-1/+1
From-SVN: r49779