Fix build on non-v9 sparc32.
authorCarlos Sánchez de La Lama <csanchezdll@gmail.com>
Thu, 7 Jun 2012 18:35:59 +0000 (11:35 -0700)
committerDavid S. Miller <davem@davemloft.net>
Thu, 7 Jun 2012 18:57:09 +0000 (11:57 -0700)
nptl/

[BZ #14205]
* sysdeps/sparc/sparc32/pthread_spin_lock.S: Do not use v9
branches.

nptl/ChangeLog
nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S

index 2bc3585..1ff8d97 100644 (file)
@@ -1,3 +1,9 @@
+2012-06-07  Carlos Sánchez de La Lama  <csanchezdll@gmail.com>
+
+       [BZ #14205]
+       * sysdeps/sparc/sparc32/pthread_spin_lock.S: Do not use v9
+       branches.
+
 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
            Jakub Jelinek  <jakub@redhat.com>
 
index 5807969..3155121 100644 (file)
@@ -28,5 +28,5 @@ ENTRY(pthread_spin_lock)
 2:     orcc            %g1, 0x0, %g0
        bne,a           2b
         ldub           [%o0], %g1
-       ba,a,pt         %xcc, 1b
+       ba,a            1b
 END(pthread_spin_lock)