gcc/libgcc
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
..
config arm.h (License): Add GCC Runtime Library Exception. 2014-05-12 09:02:36 +00:00
soft-fp float128-mul-underflow.c, [...]: New tests. 2014-02-12 23:24:49 +00:00
ChangeLog Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
config.host config.host: Append t-floattodi to tmake_file depending on host_address. 2014-03-27 15:40:31 +00:00
config.in Use i386-cpuinfo.c on all i386 targets 2012-05-10 08:51:39 +00:00
configure configure.ac (libgcc_cv_mips_hard_float): New. 2014-02-07 07:46:34 +00:00
configure.ac configure.ac (libgcc_cv_mips_hard_float): New. 2014-02-07 07:46:34 +00:00
crtstuff.c re PR libgcc/60472 (Warning: array subscript is above array bounds when compiling crtstuff.c) 2014-03-10 19:31:20 +01:00
dfp-bit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
dfp-bit.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
divmod.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
empty.mk
emutls.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
enable-execute-stack-empty.c enable-execute-stack-empty.c (__enable_execute_stack): Add prototype. 2011-06-22 13:20:07 +02:00
enable-execute-stack-mprotect.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
fixed-bit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
fixed-bit.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
fixed-obj.mk Makefile.in (fixed-funcs,fixed-conv-funcs): filter-out LIB2FUNCS_EXCLUDE before adding them to libgcc-objects, libgcc-s-objects. 2012-08-23 15:41:03 +00:00
floatunsidf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsisf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsitf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
floatunsixf.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
fp-bit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
fp-bit.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gbl-ctors.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gen-fixed.sh fixed-obj.mk: New file to support fine-grain fixed-point functions. 2007-09-17 22:18:13 +00:00
generic-morestack-thread.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
generic-morestack.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
generic-morestack.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gstdint.h dfp.c (WORDS_BIGENDIAN): Define to 0 if not defined. 2008-06-11 00:43:09 +01:00
gthr-posix.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gthr-single.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
gthr.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc2.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc2.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcc-std.ver.in Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
libgcov-driver-system.c gcov-io.c (gcov_var): Move from gcov-io.h. 2014-01-08 16:37:08 +00:00
libgcov-driver.c libgcov-driver.c (this_prg): make it local to save bss space. 2014-01-09 19:13:47 +00:00
libgcov-interface.c gcov-io.c (gcov_var): Move from gcov-io.h. 2014-01-08 16:37:08 +00:00
libgcov-merge.c gcov-io.c (gcov_var): Move from gcov-io.h. 2014-01-08 16:37:08 +00:00
libgcov-profiler.c gcov-io.c (gcov_var): Move from gcov-io.h. 2014-01-08 16:37:08 +00:00
libgcov.h gcov-io.c (gcov_var): Move from gcov-io.h. 2014-01-08 16:37:08 +00:00
Makefile.in gcov-io.c (gcov_var): Move from gcov-io.h. 2014-01-08 16:37:08 +00:00
memcmp.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memcpy.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memmove.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
memset.c Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
mkheader.sh Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
mkmap-flat.awk Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
mkmap-symver.awk Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
shared-object.mk shared-object.mk (c_flags-$o): Save c_flags. 2011-06-21 14:26:13 +00:00
siditi-object.mk Move libgcc2 to toplevel libgcc 2011-11-02 15:23:48 +00:00
static-object.mk Makefile.in (vis_hide, [...]): Do not make definitions depend on --enable-shared. 2012-08-22 09:36:23 +01:00
sync.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
udivmod.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
udivmodsi4.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-arm-common.inc Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-c.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-compat.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-compat.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde-compat.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde-dip.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2-fde.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-dw2.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-generic.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-pe.h Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind-seh.c Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
unwind-sjlj.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
unwind.inc Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_end_preinit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_end.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_start_preinit.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00
vtv_start.c Update copyright years in libgcc/ 2014-01-02 22:25:22 +00:00