gcc/boehm-gc/include
Bernd Edlinger 54fde020cc Enable Java on Cygwin-64
Currently it is not possible to build GCC's libjava support on Cygwin-64.

This patch fixes the current build-problems on Cygwin-64 and the most
fundamental bugs on that platform.

Note you must still add --enable-threads=posix to successfully build the
java language support.


boehm-gc/ChangeLog:

2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Fix current cygwin-64 build problems.
        * include/gc_config_macros.h (GC_PTHREADS): Use __CYGWIN__ instead
        of __CYGWIN32__ here.
        * win32_threads.c (GC_push_all_stacks): Push all X86_64 registers.
        (GC_get_thread_stack_base): Get the stack base for X86_64.

libffi/ChangeLog:

2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Fix current cygwin-64 build problems.
        * src/java_raw_api.c: Remove if !defined(FFI_NO_RAW_API).
        * src/x86/ffi.c: Add if defined(__CYGWIN__).
        * src/x86/win64.S (ffi_closure_win64, ffi_call_win64): Added
        handling for FFI_TYPE_UINT64, FFI_TYPE_POINTER and FFI_TYPE_INT.
        Added SEH information.  Fixed formatting.

libgcc/ChangeLog:

2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        * unwind-seh.c (_Unwind_Backtrace): Uncommented, finished
        implementation.

libjava/ChangeLog:

2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Fix current cygwin-64 build problems.
        * configure.host: Added handling for x86_64-*-cygwin/mingw.
        * boehm.cc (_Jv_GCAttachThread, _Jv_GCDetachThread): Don't compile if
        GC_WIN32_THREADS is defined.
        * java/lang/natClass.cc (_Jv_InterfaceAssignableFrom): Rename interface
        to source_interface.

libjava/classpath/ChangeLog:

2014-05-13  Bernd Edlinger  <bernd.edlinger@hotmail.de>

        Fix current cygwin-64 build problems.
        * native/fdlibm/mprec.c (_REENT_CHECK_MP, _REENT_MP_FREELIST,
        _REENT_MP_P5S, __ULong, __Long): Undefine previous definitions.

From-SVN: r210386
2014-05-13 16:23:11 +00:00
..
private gcconfig.h: Add FreeBSD powerpc64 defines. 2013-12-21 21:42:39 +01:00
cord.h
ec.h
gc_alloc.h
gc_allocator.h
gc_amiga_redirects.h
gc_backptr.h
gc_config_macros.h Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
gc_config.h.in configure.ac: Add stanza for *-*-gnu* threads configuration. 2012-11-04 23:56:02 +01:00
gc_cpp.h
gc_ext_config.h.in re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
gc_gcj.h
gc_inl.h
gc_inline.h
gc_local_alloc.h
gc_mark.h
gc_pthread_redirects.h re PR libgcj/13212 (JNI/CNI AttachCurrentThread does not register thread with garbage collector) 2006-08-21 22:07:30 +00:00
gc_typed.h
gc.h gc.h (GC_is_thread_suspended): Declare. 2007-04-23 21:10:09 +00:00
javaxfc.h
leak_detector.h
Makefile.am tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
Makefile.in tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
new_gc_alloc.h
weakpointer.h