This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Fix build on non-v9 sparc32.
- From: David Miller <davem at davemloft dot net>
- To: libc-alpha at sourceware dot org
- Cc: carlos_odonell at mentor dot com, csanchezdll at gmail dot com
- Date: Thu, 07 Jun 2012 11:59:00 -0700 (PDT)
- Subject: [PATCH] Fix build on non-v9 sparc32.
Committed to master.
nptl/
[BZ #14205]
* sysdeps/sparc/sparc32/pthread_spin_lock.S: Do not use v9
branches.
---
nptl/ChangeLog | 6 ++++++
nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S | 2 +-
2 files changed, 7 insertions(+), 1 deletions(-)
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 2bc3585..1ff8d97 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -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>
diff --git a/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S b/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
index 5807969..3155121 100644
--- a/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
+++ b/nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
@@ -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)
--
1.7.6.5