summaryrefslogtreecommitdiffstats
path: root/toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch
diff options
context:
space:
mode:
authorJohn Voltz <john.voltz@gmail.com>2008-03-06 18:50:01 +0000
committerJohn Voltz <john.voltz@gmail.com>2008-03-06 18:50:01 +0000
commit3ab16b1fd65533d032008d409e0026fe2be43182 (patch)
tree09249bf618ff8facb2d50a776850dbf0acc672dc /toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch
parentf7e1c58a6cac1ad817bf1dee6f360dd206c54fc6 (diff)
downloadbuildroot-novena-3ab16b1fd65533d032008d409e0026fe2be43182.tar.gz
buildroot-novena-3ab16b1fd65533d032008d409e0026fe2be43182.zip
added and removed uclibc patches
Diffstat (limited to 'toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch')
-rw-r--r--toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch28
1 files changed, 0 insertions, 28 deletions
diff --git a/toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch b/toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch
deleted file mode 100644
index 0cb0d1780..000000000
--- a/toolchain/uClibc/uClibc-0.9.29-fix-inverted-login-in-compare_and_swap-in-linuxthreads.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-From: Haavard Skinnemoen <hskinnemoen@atmel.com>
-Date: Wed, 19 Sep 2007 10:03:36 +0200
-Subject: [Avr-gnu-toolchain] [uClibc PATCH] Fix inverted logic in
- __compare_and_swap in linuxthreads.old
-
-If the old value equals the value in memory, the result should be
-TRUE, not FALSE.
-
-Signed-off-by: Haavard Skinnemoen <hskinnemoen@atmel.com>
----
- .../linuxthreads.old/sysdeps/avr32/pt-machine.h | 2 +-
- 1 files changed, 1 insertions(+), 1 deletions(-)
-
-diff --git a/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h b/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
-index 2e8a33b..eccf329 100644
---- a/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
-+++ b/libpthread/linuxthreads.old/sysdeps/avr32/pt-machine.h
-@@ -67,7 +67,7 @@ __compare_and_swap(long int *p, long int oldval, long int newval)
- : "m"(*p), [new] "r"(newval), [old] "r"(oldval)
- : "cc", "memory");
-
-- return result;
-+ return result == 0;
- }
-
- #endif /* pt-machine.h */
---
-1.5.3.1