summaryrefslogtreecommitdiffstats
path: root/libjava/configure.host
diff options
context:
space:
mode:
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host14
1 files changed, 14 insertions, 0 deletions
diff --git a/libjava/configure.host b/libjava/configure.host
index d6935c38e55..2d04bbca934 100644
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -28,6 +28,8 @@
# pthread_self calls by caching thread IDs in a hashtable
# can_unwind_signal Set to "yes" if the EH unwinder supports throwing
# from a signal handler.
+# disable_dladdr Set to "yes" if dladdr should not be used
+# (i.e it is broken).
libgcj_flags=
libgcj_cflags=
@@ -39,6 +41,7 @@ enable_hash_synchronization_default=no
sysdeps_dir=generic
slow_pthread_self=
can_unwind_signal=no
+disable_dladdr=
case "${target_optspace}:${host}" in
yes:*)
@@ -213,6 +216,17 @@ EOF
rm -f conftest conftest.c
fi
;;
+ mips*-*-linux* )
+ sysdeps_dir=mips
+ can_unwind_signal=yes
+ libgcj_flags="${libgcj_flags} -mxgot"
+ case "${host}" in
+ mipsel*-linux* | mipsisa32el*-linux*)
+ enable_hash_synchronization_default=yes
+ disable_dladdr=yes
+ ;;
+ esac
+ ;;
*-*-darwin*)
enable_hash_synchronization_default=no
slow_pthread_self=
OpenPOWER on IntegriCloud