diff options
author | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-01-27 17:59:20 +0000 |
---|---|---|
committer | Ralph Hempel <ralph.hempel@lantiq.com> | 2008-01-27 17:59:20 +0000 |
commit | 3dfc679bb985d2070b0e645393d6e0f5fd4760e6 (patch) | |
tree | 78854962c31c8caf594c6dd432abdca6983f3253 /toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch | |
parent | 214601c01245b4e2e1c017043d077b58ace54b08 (diff) | |
download | mtk-20170518-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.zip mtk-20170518-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.tar.gz mtk-20170518-3dfc679bb985d2070b0e645393d6e0f5fd4760e6.tar.bz2 |
add uClibc version 0.9.28.2, 0.9.28.3 and snapshots for development purpose (and already deployed evaluation boards) the version 0.9.29 is still the default version
SVN-Revision: 10282
Diffstat (limited to 'toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch')
-rw-r--r-- | toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch | 51 |
1 files changed, 51 insertions, 0 deletions
diff --git a/toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch b/toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch new file mode 100644 index 0000000..9c3a420 --- /dev/null +++ b/toolchain/uClibc/patches/0.9.28.2/100-revert_broken_stuff.patch @@ -0,0 +1,51 @@ +diff -ur uClibc-0.9.28.2/libc/sysdeps/linux/common/bits/uClibc_pthread.h uClibc-0.9.28.1/libc/sysdeps/linux/common/bits/uClibc_pthread.h +--- uClibc-0.9.28.2/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2007-02-22 00:28:41.000000000 +0100 ++++ uClibc-0.9.28.1/libc/sysdeps/linux/common/bits/uClibc_pthread.h 2007-01-26 00:54:19.000000000 +0100 +@@ -24,27 +23,27 @@ + #define _UCLIBC_PTHREAD_H + + #ifndef _PTHREAD_H +-# error "Always include <pthread.h> rather than <bits/uClibc_pthread.h>" ++#error Always include <pthread.h> rather than <bits/uClibc_pthread.h> + #endif + +-#if defined _LIBC +-/* Threading functions internal to uClibc. Make these thread functions +- * weak so that we can elide them from single-threaded processes. */ +-extern int weak_function __pthread_mutex_init (pthread_mutex_t *__mutex, +- __const pthread_mutexattr_t *__mutex_attr); +-extern int weak_function __pthread_mutex_destroy (pthread_mutex_t *__mutex); +-extern int weak_function __pthread_mutex_lock (pthread_mutex_t *__mutex); +-extern int weak_function __pthread_mutex_unlock (pthread_mutex_t *__mutex); +-extern void __uclibc_mutex_unlock (void *) attribute_hidden; +-extern int weak_function __pthread_mutex_trylock (pthread_mutex_t *__mutex); +- +-struct _pthread_cleanup_buffer; +-extern void weak_function _pthread_cleanup_push_defer ( +- struct _pthread_cleanup_buffer *__buffer, +- void (*__routine) (void *), void *__arg); +-extern void weak_function _pthread_cleanup_pop_restore ( +- struct _pthread_cleanup_buffer *__buffer, +- int __execute); +-#endif ++#if defined _LIBC ++/* Threading functions internal to uClibc. Make these thread functions ++ * weak so that we can elide them from single-threaded processes. */ ++extern int __pthread_mutex_init (pthread_mutex_t *__mutex, ++ __const pthread_mutexattr_t *__mutex_attr); ++extern int __pthread_mutex_destroy (pthread_mutex_t *__mutex); ++extern int __pthread_mutex_lock (pthread_mutex_t *__mutex); ++extern int __pthread_mutex_unlock (pthread_mutex_t *__mutex); ++extern void __uclibc_mutex_unlock (void *) attribute_hidden; ++extern int __pthread_mutex_trylock (pthread_mutex_t *__mutex); ++ ++struct _pthread_cleanup_buffer; ++extern void _pthread_cleanup_push_defer ( ++ struct _pthread_cleanup_buffer *__buffer, ++ void (*__routine) (void *), void *__arg); ++extern void _pthread_cleanup_pop_restore ( ++ struct _pthread_cleanup_buffer *__buffer, ++ int __execute); ++#endif + + #endif |