aboutsummaryrefslogtreecommitdiff
path: root/libjava
diff options
context:
space:
mode:
authorljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-05 04:17:11 +0000
committerljrittle <ljrittle@138bc75d-0d04-0410-961f-82ee72b054a4>2002-04-05 04:17:11 +0000
commitf715489c7ae2ec40992d1ebd70932cb7b818bf16 (patch)
tree033b40ae7498c78c183f10ac14ba87316d059e93 /libjava
parent29788b9dc406965d6085817f417e7e9b1c0d7f6f (diff)
* configure.host: Add case statement to support generic port
properties. Add *-*-freebsd* section. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@51896 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libjava')
-rw-r--r--libjava/ChangeLog5
-rw-r--r--libjava/configure.host24
2 files changed, 24 insertions, 5 deletions
diff --git a/libjava/ChangeLog b/libjava/ChangeLog
index e06ecc88f72..def0b048e51 100644
--- a/libjava/ChangeLog
+++ b/libjava/ChangeLog
@@ -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
diff --git a/libjava/configure.host b/libjava/configure.host
index 7c882f3316e..0a98be9d2f5 100644
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -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}"