This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
[PATCH] Add missing sparc32 NPTL file otherwise we use the wronglowlevellock.c implementation.
- From: David Miller <davem at davemloft dot net>
- To: libc-alpha at sourceware dot org
- Date: Thu, 15 Mar 2012 21:14:06 -0700 (PDT)
- Subject: [PATCH] Add missing sparc32 NPTL file otherwise we use the wronglowlevellock.c implementation.
Any sysdep that provides an override for lowlevellock.c must also
provide a libc-lowlevellock.c to pull in the same code via an
include.
Sparc wan't doing this, resulting in all kinds of problems.
Committed to master.
nptl/
[BZ #13844]
* sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c: New file.
---
NEWS | 2 +-
nptl/ChangeLog | 5 +++++
.../sysv/linux/sparc/sparc32/libc-lowlevellock.c | 1 +
3 files changed, 7 insertions(+), 1 deletions(-)
create mode 100644 nptl/sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c
diff --git a/NEWS b/NEWS
index 083ea37..49cad71 100644
--- a/NEWS
+++ b/NEWS
@@ -15,7 +15,7 @@ Version 2.16
13526, 13527, 13528, 13529, 13530, 13531, 13532, 13533, 13547, 13551,
13552, 13553, 13555, 13559, 13566, 13583, 13618, 13637, 13656, 13658,
13673, 13695, 13704, 13706, 13726, 13738, 13786, 13792, 13806, 13840,
- 13841, 13846, 13852
+ 13841, 13844, 13846, 13852
* ISO C11 support:
diff --git a/nptl/ChangeLog b/nptl/ChangeLog
index 34a2492..700fb72 100644
--- a/nptl/ChangeLog
+++ b/nptl/ChangeLog
@@ -1,3 +1,8 @@
+2012-03-15 David S. Miller <davem@davemloft.net>
+
+ [BZ #13844]
+ * sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c: New file.
+
2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
[BZ #13673]
diff --git a/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c
new file mode 100644
index 0000000..61296a4
--- /dev/null
+++ b/nptl/sysdeps/unix/sysv/linux/sparc/sparc32/libc-lowlevellock.c
@@ -0,0 +1 @@
+#include "lowlevellock.c"
--
1.7.9.1