Skip to content
Snippets Groups Projects
  1. May 24, 2007
    • sje's avatar
      * ltmain.sh: Update from ToT Libtool. · 542f9784
      sje authored
              * libtool.m4: Update from ToT Libtool.
              * ltsugar.m4: New. Update from ToT Libtool.
              * ltversion.m4: New. Update from ToT Libtool.
              * ltoptions.m4: New. Update from ToT Libtool.
              * ltconfig: Remove.
              * ltcf-c.sh: Remove.
              * ltcf-cxx.sh: Remove.
              * ltcf-gcj.sh: Remove.
      	* Regenerate all subdirs
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@125032 138bc75d-0d04-0410-961f-82ee72b054a4
      542f9784
  2. May 20, 2007
    • andreast's avatar
      2007-05-20 Andreas Tobler <a.tobler@schweiz.org> · 8077c4b6
      andreast authored
      	* configure.ac: Introduce extra_ldflags_libgc. Use it for Darwin.
      	* configure: Regenerate.
      	* Makefile.am (libgc_la_LDFLAGS): Use extra_ldflags_libgc.
      	* Makefile.in: Regenerate.
      	* include/Makefile.in: Regenerate.
      	* include/private/gcconfig.h: Enable MPROTECT_VDB for all Darwin
      	targets. Remove comments. Prepare ppc64 support for Darwin.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@124870 138bc75d-0d04-0410-961f-82ee72b054a4
      8077c4b6
  3. Apr 23, 2007
  4. Mar 07, 2007
    • aoliva's avatar
      libffi/ChangeLog: · f20fe604
      aoliva authored
      * include/ffi.h.in (ffi_closure_alloc, ffi_closure_free): New.
      (ffi_prep_closure_loc): New.
      (ffi_prep_raw_closure_loc): New.
      (ffi_prep_java_raw_closure_loc): New.
      * src/closures.c: New file.
      * src/dlmalloc.c [FFI_MMAP_EXEC_WRIT] (struct malloc_segment):
      Replace sflags with exec_offset.
      [FFI_MMAP_EXEC_WRIT] (mmap_exec_offset, add_segment_exec_offset,
      sub_segment_exec_offset): New macros.
      (get_segment_flags, set_segment_flags, check_segment_merge): New
      macros.
      (is_mmapped_segment, is_extern_segment): Use get_segment_flags.
      (add_segment, sys_alloc, create_mspace, create_mspace_with_base,
      destroy_mspace): Use new macros.
      (sys_alloc): Silence warning.
      * Makefile.am (libffi_la_SOURCES): Add src/closures.c.
      * Makefile.in: Rebuilt.
      * src/prep_cif [FFI_CLOSURES] (ffi_prep_closure): Implement in
      terms of ffi_prep_closure_loc.
      * src/raw_api.c (ffi_prep_raw_closure_loc): Renamed and adjusted
      from...
      (ffi_prep_raw_closure): ... this.  Re-implement in terms of the
      renamed version.
      * src/java_raw_api (ffi_prep_java_raw_closure_loc): Renamed and
      adjusted from...
      (ffi_prep_java_raw_closure): ... this.  Re-implement in terms of
      the renamed version.
      * src/alpha/ffi.c (ffi_prep_closure_loc): Renamed from
      (ffi_prep_closure): ... this.
      * src/pa/ffi.c: Likewise.
      * src/cris/ffi.c: Likewise.  Adjust.
      * src/frv/ffi.c: Likewise.
      * src/ia64/ffi.c: Likewise.
      * src/mips/ffi.c: Likewise.
      * src/powerpc/ffi_darwin.c: Likewise.
      * src/s390/ffi.c: Likewise.
      * src/sh/ffi.c: Likewise.
      * src/sh64/ffi.c: Likewise.
      * src/sparc/ffi.c: Likewise.
      * src/x86/ffi64.c: Likewise.
      * src/x86/ffi.c: Likewise.
      (FFI_INIT_TRAMPOLINE): Adjust.
      (ffi_prep_raw_closure_loc): Renamed and adjusted from...
      (ffi_prep_raw_closure): ... this.
      * src/powerpc/ffi.c (ffi_prep_closure_loc): Renamed from
      (ffi_prep_closure): ... this.
      (flush_icache): Adjust.
      boehm-gc/ChangeLog:
      * include/gc.h (GC_REGISTER_FINALIZER_UNREACHABLE): New.
      (GC_register_finalizer_unreachable): Declare.
      (GC_debug_register_finalizer_unreachable): Declare.
      * finalize.c (GC_unreachable_finalize_mark_proc): New.
      (GC_register_finalizer_unreachable): New.
      (GC_finalize): Handle it.
      * dbg_mlc.c (GC_debug_register_finalizer_unreachable): New.
      (GC_debug_register_finalizer_no_order): Fix whitespace.
      libjava/ChangeLog:
      * include/jvm.h (_Jv_ClosureListFinalizer): New.
      (_Jv_Linker::create_error_method): Adjust.
      * boehm.cc (_Jv_ClosureListFinalizer): New.
      * nogc.cc (_Jv_ClosureListFinalizer): New.
      * java/lang/Class.h (class _Jv_ClosureList): New.
      (class java::lang::Class): Declare it as friend.
      * java/lang/natClass.cc (_Jv_ClosureList::releaseClosures): New.
      (_Jv_ClosureList::registerClousure): New.
      * include/execution.h (_Jv_ExecutionEngine): Add get_closure_list.
      (_Jv_CompiledEngine::do_get_closure_list): New.
      (_Jv_CompiledEngine::_Jv_CompiledEngine): Use it.
      (_Jv_IndirectCompiledClass): Add closures.
      (_Jv_IndirectCompiledEngine::get_aux_info): New.
      (_Jv_IndirectCompiledEngine::do_allocate_field_initializers): Use
      it.
      (_Jv_IndirectCompiledEngine::do_get_closure_list): New.
      (_Jv_IndirectCompiledEngine::_Jv_IndirectCompiledEngine): Use it.
      (_Jv_InterpreterEngine::do_get_closure_list): Declare.
      (_Jv_InterpreterEngine::_Jv_InterpreterEngine): Use it.
      * interpret.cc (FFI_PREP_RAW_CLOSURE): Use _loc variants.
      (node_closure): Add closure list.
      (_Jv_InterpMethod::ncode): Add jclass argument.  Use
      ffi_closure_alloc and the separate code pointer.  Register the
      closure for finalization.
      (_Jv_JNIMethod::ncode): Likewise.
      (_Jv_InterpreterEngine::do_create_ncode): Pass klass to ncode.
      (_Jv_InterpreterEngine::do_get_closure_list): New.
      * include/java-interp.h (_Jv_InterpMethod::ncode): Adjust.
      (_Jv_InterpClass): Add closures field.
      (_Jv_JNIMethod::ncode): Adjust.
      * defineclass.cc (_Jv_ClassReader::handleCodeAttribute): Adjust.
      (_Jv_ClassReader::handleMethodsEnd): Likewise.
      * link.cc (struct method_closure): Add closure list.
      (_Jv_Linker::create_error_method): Add jclass argument.  Use
      ffi_closure_alloc and the separate code pointer.  Register the
      closure for finalization.
      (_Jv_Linker::link_symbol_table): Remove outdated comment about
      sharing of otable and atable.  Adjust.
      * java/lang/reflect/natVMProxy.cc (ncode_closure): Add closure
      list.
      (ncode): Add jclass argument.  Use ffi_closure_alloc and the
      separate code pointer.  Register the closure for finalization.
      (java::lang::reflect::VMProxy::generateProxyClass): Adjust.
      * testsuite/libjava.jar/TestClosureGC.java: New.
      * testsuite/libjava.jar/TestClosureGC.out: New.
      * testsuite/libjava.jar/TestClosureGC.xfail: New.
      * testsuite/libjava.jar/TestClosureGC.jar: New.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122652 138bc75d-0d04-0410-961f-82ee72b054a4
      f20fe604
  5. Feb 05, 2007
  6. Jan 19, 2007
    • andreast's avatar
      2007-01-19 Andreas Tobler <a.tobler@schweiz.org> · fda61595
      andreast authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120977 138bc75d-0d04-0410-961f-82ee72b054a4
      fda61595
  7. Jan 17, 2007
    • daney's avatar
      * configure.ac: Don't define NO_SIGSET and NO_DEBUGGING while · 83a83fac
      daney authored
      	cross-compiling.
      	* configure: Regenerated.
      	* include/gc_config.h.in: Regenerated.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120883 138bc75d-0d04-0410-961f-82ee72b054a4
      83a83fac
    • tromey's avatar
      2007-01-17 Jack Howarth <howarth@bromo.med.uc.edu> · bdbb27ba
      tromey authored
      boehm-gc/
      	* aclocal.m4: Regenerate to use multi.m4.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      zlib/
      	* Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      libffi/
      	* Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      libjava/
      	* configure.ac: Use multi.m4 from aclocal rather than custom
      	code.  Use multi_basedir instead libgcj_basedir.  Test for
      	/proc/self/exe when not cross-compiling.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      libjava/classpath/
      	* configure.ac: Use multi.m4 from aclocal rather than
      	custom code.  Use multi_basedir instead libgcj_basedir.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      libjava/libltdl/
      	* Makefile.am: Add ACLOCAL_AMFLAGS to use multi.m4.
      	* configure.ac: Use multi.m4 from aclocal rather than
      	custom code.
      	* aclocal.m4: Regenerate.
      	* configure: Regenerate.
      	* Makefile.in: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120870 138bc75d-0d04-0410-961f-82ee72b054a4
      bdbb27ba
    • andreast's avatar
      2007-01-17 Andreas Tobler <a.tobler@schweiz.org> · 8bbbac0c
      andreast authored
      	* include/gc_config.h.in: Regenerate.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120853 138bc75d-0d04-0410-961f-82ee72b054a4
      8bbbac0c
  8. Jan 16, 2007
  9. Jan 11, 2007
    • andreast's avatar
      2007-01-11 Andreas Tobler <a.tobler@schweiz.org> · 886a341f
      andreast authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@120684 138bc75d-0d04-0410-961f-82ee72b054a4
      886a341f
  10. Dec 08, 2006
  11. Sep 21, 2006
  12. Sep 18, 2006
  13. Aug 21, 2006
    • tromey's avatar
      boehm-gc · 33b8ea2a
      tromey authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@116313 138bc75d-0d04-0410-961f-82ee72b054a4
      33b8ea2a
  14. Jun 21, 2006
  15. Jun 03, 2006
    • geoffk's avatar
      Index: gcc/ChangeLog · 168c58e0
      geoffk authored
      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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114339 138bc75d-0d04-0410-961f-82ee72b054a4
      168c58e0
  16. May 24, 2006
    • carlos's avatar
      · f2a8bd23
      carlos authored
      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.
      
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@114055 138bc75d-0d04-0410-961f-82ee72b054a4
      f2a8bd23
  17. Apr 24, 2006
  18. Feb 07, 2006
    • tromey's avatar
      2006-02-06 Jakub Jelinek <jakub@redhat.com> · 4b04d5da
      tromey authored
      	    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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@110682 138bc75d-0d04-0410-961f-82ee72b054a4
      4b04d5da
  19. Feb 04, 2006
  20. Jan 25, 2006
  21. Jan 24, 2006
  22. Nov 02, 2005
  23. Sep 15, 2005
  24. Sep 06, 2005
  25. Jul 17, 2005
  26. Jun 15, 2005
  27. May 25, 2005
  28. Apr 19, 2005
  29. Apr 17, 2005
  30. Apr 12, 2005
  31. Mar 24, 2005
  32. Mar 01, 2005
  33. Feb 16, 2005
  34. Jan 02, 2005
    • bryce's avatar
      2005-01-01 Bryce McKinlay <mckinlay@redhat.com> · a26ec131
      bryce authored
      	* 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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@92801 138bc75d-0d04-0410-961f-82ee72b054a4
      a26ec131
  35. Nov 30, 2004
  36. Nov 27, 2004
  37. Nov 26, 2004
    • bryce's avatar
      2004-11-26 Bryce McKinlay <mckinlay@redhat.com> · cfd10932
      bryce authored
      	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.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@91330 138bc75d-0d04-0410-961f-82ee72b054a4
      cfd10932
Loading