[patch]: Sandro's GCJ on Darwin/i386 patches pt.3
Jack Howarth
howarth@bromo.msbb.uc.edu
Sat Sep 16 18:56:00 GMT 2006
This is the third patch from Sandro Tolaini's original
patches which were posted...
http://gcc.gnu.org/ml/java-patches/2006-q1/msg00347.html
with the changelog entries as listed in...
http://gcc.gnu.org/ml/java-patches/2006-q1/msg00353.html
and applied to current gcc trunk to generate the
diffs shown below.
2006-03-28 Sandro Tolaini <tolaini@libero.it>
* configure.ac: Don't use darwin-signal.h as signal handler for Darwin/i386
* configure.host: Enable Darwin/i386 as a supported host, with no signal unwinding
Index: libjava/configure.host
===================================================================
--- libjava/configure.host (revision 116989)
+++ libjava/configure.host (working copy)
@@ -261,6 +261,11 @@ EOF
slow_pthread_self=
can_unwind_signal=yes
;;
+ i?86-*-darwin*)
+ enable_hash_synchronization_default=yes
+ slow_pthread_self=
+ can_unwind_signal=no
+ ;;
*-*-freebsd*)
slow_pthread_self=
;;
Index: libjava/configure.ac
===================================================================
--- libjava/configure.ac (revision 116989)
+++ libjava/configure.ac (working copy)
@@ -1448,7 +1448,7 @@ case "${host}" in
mips*-*-linux*)
SIGNAL_HANDLER=include/mips-signal.h
;;
- *-*-darwin*)
+ powerpc*-*-darwin*)
SIGNAL_HANDLER=include/darwin-signal.h
;;
*)
More information about the Gcc-patches
mailing list