gcc/libjava/java/lang
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
..
annotation
instrument
management
ref
reflect Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
AbstractMethodError.h
AbstractStringBuffer.h
AbstractStringBuffer.java
Appendable.h
ArithmeticException.h
ArrayIndexOutOfBoundsException.h
ArrayStoreException.h
AssertionError.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
AutoCloseable.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Boolean.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Byte.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Character.h
Character.java
Character$Subset.h
Character$UnicodeBlock.h
Character$UnicodeBlock$NameType.h
CharSequence.h
Class.h Missed part of regenerated file. 2011-04-08 18:12:14 +02:00
Class.java
Class$1.h
ClassCastException.h
ClassCircularityError.h
ClassFormatError.h
ClassLoader.h
ClassLoader.java
ClassLoader$AnnotationsKey.h
ClassNotFoundException.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Cloneable.h
CloneNotSupportedException.h
Comparable.h
Compiler.h
Deprecated.h
Double.h
EcosProcess.h
EcosProcess.java
Enum.h
EnumConstantNotPresentException.h
Error.h
Exception.h
ExceptionInInitializerError.h
Float.h
IllegalAccessError.h
IllegalAccessException.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
IllegalArgumentException.h
IllegalMonitorStateException.h
IllegalStateException.h
IllegalThreadStateException.h
IncompatibleClassChangeError.h
IndexOutOfBoundsException.h
InheritableThreadLocal.h
InstantiationError.h
InstantiationException.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Integer.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
InternalError.h
InterruptedException.h
Iterable.h
LinkageError.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Long.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Math.h
Math.java
natAbstractStringBuffer.cc
natCharacter.cc
natClass.cc Enable Java on Cygwin-64 2014-05-13 16:23:11 +00:00
natClassLoader.cc
natEcosProcess.cc
natMath.cc
natObject.cc natObject.cc (_Jv_MonitorEnter): Add missing parenthesis around comparison with (address | LOCKED) in JvAssert. 2014-03-11 17:41:07 +01:00
natPosixProcess.cc
natRuntime.cc
natString.cc
natSystem.cc
natThread.cc
natThreadLocal.cc
natVMClassLoader.cc
natVMDouble.cc
natVMFloat.cc
natVMProcess.cc
natVMThrowable.cc
natWin32Process.cc
NegativeArraySizeException.h
NoClassDefFoundError.h
NoSuchFieldError.h
NoSuchFieldException.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
NoSuchMethodError.h
NoSuchMethodException.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
NullPointerException.h
Number.h
NumberFormatException.h
Object.h
Object.java
OutOfMemoryError.h
Override.h
Package.h
PosixProcess.h
PosixProcess.java
PosixProcess$EOFInputStream.h
PosixProcess$ProcessManager.h
Process.h
ProcessBuilder.h
Readable.h
ReflectiveOperationException.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
Runnable.h
Runtime.h
Runtime.java
RuntimeException.h
RuntimePermission.h
SecurityException.h
SecurityManager.h
SecurityManager$1.h
Short.h Import GNU Classpath (20121202). 2012-12-19 17:03:15 +00:00
StackOverflowError.h
StackTraceElement.h
StrictMath.h
String.h
String.java
String$CaseInsensitiveComparator.h
StringBuffer.h
StringBuffer.java
StringBuilder.h
StringBuilder.java
StringIndexOutOfBoundsException.h
SuppressWarnings.h
System.h
System.java
System$EnvironmentCollection.h
System$EnvironmentMap.h
System$EnvironmentSet.h
Thread.h
Thread.java
Thread$State.h
Thread$UncaughtExceptionHandler.h
ThreadDeath.h
ThreadGroup.h
ThreadLocal.h
ThreadLocal.java
ThreadLocalMap.h
ThreadLocalMap$Entry.h
Throwable.h
Throwable$StaticData.h
TypeNotPresentException.h
UnknownError.h
UnsatisfiedLinkError.h
UnsupportedClassVersionError.h
UnsupportedOperationException.h
VerifyError.h
VirtualMachineError.h
VMClassLoader.h
VMClassLoader.java
VMCompiler.h
VMCompiler.java
VMDouble.h
VMDouble.java
VMFloat.h
VMFloat.java
VMProcess.h
VMProcess.java
VMThrowable.h
VMThrowable.java
Void.h
Win32Process.h
Win32Process.java
Win32Process$EOFInputStream.h