aboutsummaryrefslogtreecommitdiff
path: root/libjava/configure.host
diff options
context:
space:
mode:
authorH.J. Lu <hongjiu.lu@intel.com>2011-05-31 11:53:34 +0000
committerH.J. Lu <hjl@gcc.gnu.org>2011-05-31 04:53:34 -0700
commit755b3b7cf7c635a5c766400865c2bfa52d6aa16d (patch)
treea7e67035fdec4a3fe4aa5320fcddb6ecacc5b568 /libjava/configure.host
parent2e87621cb04e341cd1d10f45ae62b5310393e08e (diff)
downloadgcc-755b3b7cf7c635a5c766400865c2bfa52d6aa16d.zip
gcc-755b3b7cf7c635a5c766400865c2bfa52d6aa16d.tar.gz
gcc-755b3b7cf7c635a5c766400865c2bfa52d6aa16d.tar.bz2
Use __sync_bool_compare_and_swap in x86 locks.h.
2011-05-31 H.J. Lu <hongjiu.lu@intel.com> PR libgcj/49193 * configure.host (sysdeps_dir): Set to i386 for x86_64. * sysdep/i386/locks.h (compare_and_swap): Call __sync_bool_compare_and_swap. (release_set): Call write_barrier (). * sysdep/x86-64/locks.h: Removed. From-SVN: r174471
Diffstat (limited to 'libjava/configure.host')
-rw-r--r--libjava/configure.host4
1 files changed, 2 insertions, 2 deletions
diff --git a/libjava/configure.host b/libjava/configure.host
index 5b88478..9d4f2b6 100644
--- a/libjava/configure.host
+++ b/libjava/configure.host
@@ -132,7 +132,7 @@ case "${host}" in
slow_pthread_self=yes
;;
x86_64-*)
- sysdeps_dir=x86-64
+ sysdeps_dir=i386
# For 64-bit we always use SSE registers for arithmetic,
# which doesn't have the extra precision problems of the fpu.
# But be careful about 32-bit multilibs.
@@ -279,7 +279,7 @@ EOF
slow_pthread_self=
;;
i[34567]86-*-solaris2.1[0-9]* )
- sysdeps_dir=x86-64
+ sysdeps_dir=i386
DIVIDESPEC=-f%{m32:no-}%{!m32:%{!m64:no-}}%{m64:}use-divide-subroutine
;;
mips-sgi-irix6* )