OSDN Git Service

* configure.host: Add case statement to support generic port
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Apr 2002 04:17:11 +0000 (04:17 +0000)
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 5 Apr 2002 04:17:11 +0000 (04:17 +0000)
properties.  Add *-*-freebsd* section.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51896 138bc75d-0d04-0410-961f-82ee72b054a4

libjava/ChangeLog
libjava/configure.host

index e06ecc8..def0b04 100644 (file)
@@ -1,3 +1,8 @@
+2002-03-26  Loren J. Rittle  <ljrittle@acm.org>
+
+       * configure.host: Add case statement to support generic port
+       properties.  Add *-*-freebsd* section.
+
 2002-04-04  Mark Wielaard  <mark@klomp.org>
 
        * mauve-libgcj: Add JLS1.0 and JLS1.1 tags, ignore Character.unicode
index 7c882f3..0a98be9 100644 (file)
@@ -60,6 +60,7 @@ DIVIDESPEC=-fuse-divide-subroutine
 EXCEPTIONSPEC=-fnon-call-exceptions
 CHECKREFSPEC=
 
+# This case statement supports per-CPU defaults.
 case "${host}" in
   mips-tx39-*|mipstx39-unknown-*)
        libgcj_flags="${libgcj_flags} -G 0"
@@ -87,16 +88,12 @@ case "${host}" in
        libgcj_interpreter=yes
        enable_hash_synchronization_default=yes
        ;;
-  powerpc*-linux*)
+  powerpc*-*)
        sysdeps_dir=powerpc
        libgcj_interpreter=yes
        enable_hash_synchronization_default=yes
        slow_pthread_self=yes
        ;;
-  powerpc*-darwin*)
-       sysdeps_dir=powerpc
-        libgcj_interpreter=yes
-       ;;
   sparc-*)
         ;;
   ia64-*)
@@ -117,6 +114,23 @@ case "${host}" in
        ;;
 esac
 
+# This case statement supports generic port properties and may refine
+# the above per-CPU defaults.  Note: If your OS does not implement
+# MD_FALLBACK_FRAME_STATE_FOR, then you may want to set CHECKREFSPEC,
+# DIVIDESPEC (to fix >20 test cases) and EXCEPTIONSPEC (to reduce EH
+# bloat only) here.
+case "${host}" in
+  *-*-darwin*)
+       enable_hash_synchronization_default=no
+       slow_pthread_self=
+       ;;
+  *-*-freebsd*)
+       DIVIDESPEC=-fuse-divide-subroutine
+       CHECKREFSPEC=-fcheck-references
+       slow_pthread_self=
+       ;;
+esac
+
 libgcj_cflags="${libgcj_cflags} ${libgcj_flags}"
 libgcj_cxxflags="${libgcj_cxxflags} ${libgcj_flags}"
 libgcj_javaflags="${libgcj_javaflags} ${libgcj_flags}"