summaryrefslogtreecommitdiff
path: root/patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch
diff options
context:
space:
mode:
authorYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
committerYann E. MORIN" <yann.morin.1998@anciens.enib.fr>2007-02-24 11:00:05 (GMT)
commit1906cf93f86d8d66f45f90380a8d3da25c087ee5 (patch)
tree90916c99abe1f1ec26709ee420e6c349eda4670a /patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch
parent2609573aede4ce198b3462976725b25eb1637d2e (diff)
Add the full crosstool-NG sources to the new repository of its own.
You might just say: 'Yeah! crosstool-NG's got its own repo!". Unfortunately, that's because the previous repo got damaged beyond repair and I had no backup. That means I'm putting backups in place in the afternoon. That also means we've lost history... :-(
Diffstat (limited to 'patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch')
-rw-r--r--patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch43
1 files changed, 43 insertions, 0 deletions
diff --git a/patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch b/patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch
new file mode 100644
index 0000000..9af78d1
--- /dev/null
+++ b/patches/glibc/2.3.6/glibc-2.3.5-sh-lowlevellock.patch
@@ -0,0 +1,43 @@
+ML: http://sources.redhat.com/ml/libc-hacker/2005-09/msg00002.html
+
+Date: Mon, 05 Sep 2005 21:07:15 +0900 (JST)
+Message-Id: <20050905.210715.15267870.kkojima@rr.iij4u.or.jp>
+To: libc-hacker at sources dot redhat dot com
+Subject: SH: A typo in lowlevellock.S
+From: Kaz Kojima <kkojima at rr dot iij4u dot or dot jp>
+
+Hi,
+
+The appended patch fixes a typo in a low-level lock function. It
+set the correct 3rd argument for the futex syscall in loop. Sorry
+for missing such an embarrassing bug.
+
+Regards,
+ kaz
+
+nptl/ChangeLog:
+2005-09-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
+
+ * sysdeps/unix/sysv/linux/sh/lowlevellock.S (__lll_mutex_lock_wait):
+ Fix typo in register name.
+
+--- glibc.old/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S 2004-10-26 04:06:44.000000000 +0900
++++ glibc/nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S 2005-09-05 19:18:25.000000000 +0900
+@@ -1,4 +1,4 @@
+-/* Copyright (C) 2003, 2004 Free Software Foundation, Inc.
++/* Copyright (C) 2003, 2004, 2005 Free Software Foundation, Inc.
+ This file is part of the GNU C Library.
+
+ The GNU C Library is free software; you can redistribute it and/or
+@@ -51,8 +51,8 @@ __lll_mutex_lock_wait:
+ SYSCALL_INST_PAD
+
+ 2:
+- mov #2, r4
+- XCHG (r4, @r8, r2)
++ mov #2, r6
++ XCHG (r6, @r8, r2)
+ tst r2, r2
+ bf 1b
+
+Signed-off-by: Robert P. J. Day <rpjday@mindspring.com>