gcc/boehm-gc
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
..
cord Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
doc Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
include Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
Mac_files Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
testsuite tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
aclocal.m4 Update to Automake 1.11.1. 2010-04-02 18:18:06 +00:00
add_gc_prefix.c
allchblk.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
alloc.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
alpha_mach_dep.S Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
AmigaOS.c
backgraph.c backgraph.c, gc_priv.h (GC_traverse_back_graph, [...]): split GC_traverse_back_graph. 2004-08-28 00:41:41 +00:00
BCC_MAKEFILE configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
blacklst.c
callprocs
ChangeLog Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
checksums.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
configure libtool.m4 (_LT_ENABLE_LOCK <ld -m flags>): Remove non-canonical ppc host match. 2013-09-20 19:17:52 +09:30
configure.ac configure.ac: Add stanza for *-*-gnu* threads configuration. 2012-11-04 23:56:02 +01:00
configure.host re PR libgcj/19823 (java fails with non-executable memory) 2005-02-16 04:10:42 +00:00
darwin_stop_world.c os_dep.c (defined(MPROTECT_VDB) && defined(DARWIN)): Moved recently added defines to include/private/gc_priv.h 2007-01-19 20:19:35 +01:00
dbg_mlc.c ffi.h.in (ffi_closure_alloc, [...]): New. 2007-03-07 07:27:25 +00:00
depcomp
digimars.mak
dyn_load.c configure.ac: Add stanza for *-*-gnu* threads configuration. 2012-11-04 23:56:02 +01:00
EMX_MAKEFILE
finalize.c ffi.h.in (ffi_closure_alloc, [...]): New. 2007-03-07 07:27:25 +00:00
gc_cpp.cc Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
gc_cpp.cpp
gc_dlopen.c Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
gc.mak
gcc_support.c
gcj_mlc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
gcname.c
headers.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
hpux_test_and_clear.s
ia64_save_regs_in_stack.s
if_mach.c Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
if_not_there.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
mach_dep.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
MacOS.c
MacProjects.sit.hqx
Makefile.am tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
Makefile.direct Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
Makefile.dist configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
Makefile.dj configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
Makefile.DLLs
Makefile.in tree.h (OMP_CLAUSE_LINEAR_GIMPLE_SEQ): Define. 2014-04-24 23:17:32 +02:00
malloc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
mallocx.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
mark_rts.c PR target/42811 (prerequisite) 2010-03-21 19:34:19 +00:00
mark.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
mips_sgi_mach_dep.s ffi.c: Use _ABIN32, _ABIO32 instead of external _MIPS_SIM_NABI32, _MIPS_SIM_ABI32. 2003-10-20 18:37:22 +00:00
mips_ultrix_mach_dep.s
misc.c re PR boehm-gc/29068 (Bootstrap fails building libjava on SPARC/Solaris) 2006-09-14 18:06:04 +00:00
new_hblk.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
NT_MAKEFILE configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
NT_STATIC_THREADS_MAKEFILE Initial revision 2004-08-12 22:14:23 +01:00
NT_THREADS_MAKEFILE
obj_map.c
OS2_MAKEFILE
os_dep.c Use thr_stksegment to determine Solaris stack base 2013-03-06 15:08:58 +00:00
pc_excludes
pcr_interface.c
PCR-Makefile
powerpc_darwin_mach_dep.s update boehm-gc for powerpc m64 darwin. 2010-12-10 10:09:10 +00:00
pthread_stop_world.c gc.h (GC_is_thread_suspended): Declare. 2007-04-23 21:10:09 +00:00
pthread_support.c configure.ac: Add stanza for *-*-gnu* threads configuration. 2012-11-04 23:56:02 +01:00
ptr_chck.c PR target/42811 (prerequisite) 2010-03-21 19:34:19 +00:00
real_malloc.c
reclaim.c Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
rs6000_mach_dep.s
setjmp_t.c
SMakefile.amiga
sparc_mach_dep.S Import GC 6.3alpha1. 2003-07-28 04:18:23 +00:00
sparc_netbsd_mach_dep.s
sparc_sunos4_mach_dep.s
specific.c configure.ac: Add stanza for *-*-gnu* threads configuration. 2012-11-04 23:56:02 +01:00
stubborn.c
threadlibs.c configure.ac: Add stanza for *-*-gnu* threads configuration. 2012-11-04 23:56:02 +01:00
threads.mk.in - checkin threads.mk.in. 2008-07-18 10:37:22 +00:00
typd_mlc.c configure.in (GCINCS): Don't use "boehm-cflags". 2004-08-14 00:05:36 +01:00
version.h Import Boehm GC version 6.6. 2006-01-25 03:03:14 +00:00
WCC_MAKEFILE
win32_threads.c Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00