OSDN Git Service

* src/mips/o32.S (ffi_call_O32, ffi_closure_O32): Use jalr instead
[pf3gnuchains/gcc-fork.git] / libjava / configure.host
index 2d04bbc..437566a 100644 (file)
@@ -90,7 +90,7 @@ case "${host}" in
        ;;
   i686-*|i586-*|i486-*|i386-*)
        sysdeps_dir=i386
-       libgcj_flags="${libgcj_flags} -ffloat-store"
+       libgcj_flags="${libgcj_flags} -ffloat-store -fno-omit-frame-pointer"
        libgcj_interpreter=yes
        libgcj_cxxflags=
        libgcj_cflags=
@@ -99,11 +99,11 @@ case "${host}" in
        slow_pthread_self=yes
        ;;
   x86_64-*)
-       CHECKREFSPEC="%{m32:-fcheck-references}"
        sysdeps_dir=x86-64
        libgcj_flags="${libgcj_flags} -ffloat-store -fno-omit-frame-pointer"
        libgcj_cxxflags=
        libgcj_cflags=
+       DIVIDESPEC=-f%{m32:no-}use-divide-subroutine
        enable_hash_synchronization_default=yes
        slow_pthread_self=yes
        libgcj_interpreter=yes
@@ -115,12 +115,17 @@ case "${host}" in
        enable_hash_synchronization_default=yes
        IEEESPEC=-mieee
        ;;
-  powerpc64*-*)
-       with_libffi_default=yes
+  hppa-*)
+       sysdeps_dir=pa
        libgcj_interpreter=yes
-       libgcj_flags="${libgcj_flags} -mminimal-toc"
-       # this may not be correct
+       enable_hash_synchronization_default=yes
+       ;;
+  powerpc64*-*)
        sysdeps_dir=powerpc
+       libgcj_interpreter=yes
+       if [ x`$CC -print-multi-os-directory` = x../lib64 ]; then
+           libgcj_flags="${libgcj_flags} -mminimal-toc"
+       fi
        enable_hash_synchronization_default=yes
        slow_pthread_self=yes
        ;;
@@ -133,6 +138,7 @@ case "${host}" in
   s390*-*)
        sysdeps_dir=s390
        libgcj_interpreter=yes
+       DIVIDESPEC=-fno-use-divide-subroutine
        enable_hash_synchronization_default=yes
        ;;
   sparc*-*)
@@ -164,6 +170,7 @@ case "${host}" in
   sparc*-linux* | \
   ia64-* | \
   x86_64*-linux* | \
+  hppa*-linux* | \
   sh-linux* | sh[34]*-linux*)
        can_unwind_signal=yes
        if test x$slow_pthread_self = xyes \
@@ -219,7 +226,9 @@ EOF
   mips*-*-linux* )
        sysdeps_dir=mips
        can_unwind_signal=yes
+       libgcj_interpreter=yes
        libgcj_flags="${libgcj_flags} -mxgot"
+       DIVIDESPEC=-fno-use-divide-subroutine
        case "${host}" in
            mipsel*-linux* | mipsisa32el*-linux*)
                enable_hash_synchronization_default=yes
@@ -227,10 +236,10 @@ EOF
            ;;
        esac
        ;;
-  *-*-darwin*)
-       enable_hash_synchronization_default=no
+  powerpc*-*-darwin*)
+       enable_hash_synchronization_default=yes
        slow_pthread_self=
-       can_unwind_signal=no
+       can_unwind_signal=yes
        ;;
   *-*-freebsd*)
        slow_pthread_self=