]> gcc.gnu.org Git - gcc.git/commitdiff
configure.host: Enable hash synchronization on Darwin.
authorAndreas Tobler <andreast@gcc.gnu.org>
Wed, 7 Jul 2004 18:24:00 +0000 (20:24 +0200)
committerAndreas Tobler <andreast@gcc.gnu.org>
Wed, 7 Jul 2004 18:24:00 +0000 (20:24 +0200)
2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>

* configure.host: Enable hash synchronization on Darwin.
* sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
';', since this is a comment on Darwin.
(compare_and_swap_release): Likewise.

From-SVN: r84214

libjava/ChangeLog
libjava/configure.host
libjava/sysdep/powerpc/locks.h

index 8299b732c5bcef9910c60874b0f0c1efcee4162e..3a0ec3e7fcbb55b2aa1adae3a97edf97b34c9004 100644 (file)
@@ -1,10 +1,17 @@
+2004-07-07  Andreas Tobler  <a.tobler@schweiz.ch>
+
+       * configure.host: Enable hash synchronization on Darwin.
+       * sysdep/powerpc/locks.h (compare_and_swap): Use '\n' instead of
+       ';', since this is a comment on Darwin.
+       (compare_and_swap_release): Likewise.
+
 2004-07-06  Mohan Embar  <gnustuff@thisiscool.com>
 
        * java/net/URLStreamHandler.java (parseURL): Canonicalize
        file portion of URL in addition to spec for file: protocol.
 
 2004-07-05  Anthony Green  <green@redhat.com>
-       
+
        * java/io/File.java (toURI): Merge from Classpath.
 
 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
@@ -13,7 +20,7 @@
        before passing to URL constructor. Rethrow any MalformedURLException
        as a RuntimeException. Catch MalformedURLException specifically, not
        all exceptions.
-       
+
 2004-07-05  Bryce McKinlay  <mckinlay@redhat.com>
 
        * java/util/Locale.java (readObject): Intern strings read from object
@@ -30,7 +37,7 @@
        * Makefile.in: Regenerated.
 
 2004-07-03  Mark Wielaard  <mark@klomp.org>
-            Anthony Green  <green@redhat.com>
+           Anthony Green  <green@redhat.com>
 
        * java/net/URL.java (getFile): Clarify return value doc.
        (getPath): Return null if file is empty - not empty String.
index d008df1d00108d7c78881c1b680c9f5daad2ac61..5971945b70fb551175df8a26ed343eafccc4f654 100644 (file)
@@ -233,7 +233,7 @@ EOF
        esac
        ;;
   powerpc*-*-darwin*)
-       enable_hash_synchronization_default=no
+       enable_hash_synchronization_default=yes
        slow_pthread_self=
        can_unwind_signal=yes
        ;;
index c9c3183d6bc72b868de5bbbab1ccd3c0edcb6b45..5a6a945e494709185923f9dc384097915fcbcb0f 100644 (file)
@@ -33,12 +33,12 @@ compare_and_swap (volatile obj_addr_t *addr, obj_addr_t old,
   int ret;
 
   __asm__ __volatile__ (
-          "0:    " _LARX "%0,0,%1 ;"
-          "      xor. %0,%3,%0;"
-          "      bne 1f;"
-          "      " _STCX "%2,0,%1;"
-          "      bne- 0b;"
-          "1:    "
+          "0:    " _LARX "%0,0,%1 \n"
+          "      xor. %0,%3,%0\n"
+          "      bne 1f\n"
+          "      " _STCX "%2,0,%1\n"
+          "      bne- 0b\n"
+          "1:   \n"
        : "=&r" (ret)
        : "r" (addr), "r" (new_val), "r" (old)
        : "cr0", "memory");
@@ -67,12 +67,12 @@ compare_and_swap_release (volatile obj_addr_t *addr, obj_addr_t old,
   __asm__ __volatile__ ("sync" : : : "memory");
 
   __asm__ __volatile__ (
-          "0:    " _LARX "%0,0,%1 ;"
-          "      xor. %0,%3,%0;"
-          "      bne 1f;"
-          "      " _STCX "%2,0,%1;"
-          "      bne- 0b;"
-          "1:    "
+          "0:    " _LARX "%0,0,%1 \n"
+          "      xor. %0,%3,%0\n"
+          "      bne 1f\n"
+          "      " _STCX "%2,0,%1\n"
+          "      bne- 0b\n"
+          "1:   \n"
        : "=&r" (ret)
        : "r" (addr), "r" (new_val), "r" (old)
        : "cr0", "memory");
This page took 0.071284 seconds and 5 git commands to generate.