summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old
AgeCommit message (Collapse)Author
2008-05-20add an URL to relevant gcc bugzilla entryDenis Vlasenko
2008-05-20suppress "asm declaration ignored due to conflict with previous rename"Denis Vlasenko
warning. It seems to be bogus. Comment contains extended description.
2008-05-20- remove old-style definitions. No object-code changes.Bernhard Reutner-Fischer
2008-05-20- avoid warning due to undefined preprocessor tokenBernhard Reutner-Fischer
2008-05-20- avoid warning due to undefined preprocessor tokenBernhard Reutner-Fischer
2008-05-19Moving libc_hidden_proto's into #ifdef UCLIBC_INTERNAL blockDenis Vlasenko
in string.h and strings.h. This caught unguarded string ops in libc/inet/ethers.c __ether_line_w() function. I will wait for fallout reports for a week or so, then continue converting more libc_hidden_proto's.
2008-05-15make sure we store the function pointers to the real push/pop functions ↵Mike Frysinger
rather than the public weak ones so that the libc->libpthread forwarding code is able to work properly this should fix the case where libpthread.so is not linked directly, but rather via another library: app -> links to libfoo.so -> links to libpthread.so and any function (like readdir_r) that does: __UCLIBC_MUTEX_LOCK() __UCLIBC_MUTEX_UNLOCK()
2008-05-07Remove gcc warning due to missing prototype for 'testandset'Carmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-05-03- cleanup by manually expanding the helpers.Bernhard Reutner-Fischer
Saves several 100 bytes
2008-04-24- fixup asm. No object-code changesBernhard Reutner-Fischer
2008-04-16Fix whitespace damage in AVR32 pt-machine.h in libpthread, linuxthreads and ↵Hans-Christian Egtvedt
linuxthreads.old.
2008-01-06use the __extern_always_inline define from cdefs.h instead of duplicating ↵Mike Frysinger
gcc version checking in every pt-machine.h header ... while __extern_always_inline should work fine, i think what is intended is __extern_inline ... should double check later
2008-01-05- fixup gnu_inline vs. C99 inlineBernhard Reutner-Fischer
- add missing header guards while at it
2008-01-05Chris Zankel writes:Mike Frysinger
The following patches add support for the Xtensa processor architecture to uClibc. They are based on a recent SVN checkout (12/05/2007). The first patch (attached to this post) adds Xtensa support to various shared configuration and make files. The following patches then include the Xtensa specific files and directories. I welcome any feedback and would appreciate it if you could include the patches into the mainline tree. I am certainly committed to maintain the port. Bob Wilson was kind enough to review the patches. Some notes about the architecture: Xtensa is a configurable and extensible processor architecture developed by Tensilica. For more information, please visit: www.linux-xtensa.org.
2007-11-23A better atomic ops implementation for the Blackfin, relying on a featureBernd Schmidt
present in our recent kernels.
2007-11-22Add hidden symbols for a number of pthread functions, and use them to ensureBernd Schmidt
that all entries in the __pthread_functions point to functions within libpthread, not identically-named functions in libc.
2007-11-16Added AVR32 support to uClibc. Signed-off-by: Hans-Christian Egtvedt ↵Carmelo Amoroso
<hcegtvedt@atmel.com>
2007-10-13- use the compiler-driver instead of the linkerBernhard Reutner-Fischer
- adjust setting flags accordingly to use (hardcoded, see below) -Wl, Potential improvements: *) --warn-unresolved-symbols should perhaps be used for all libs *) eventually rename LDFLAGS to CC_LDFLAGS *) probe for compiler driver's notion of flag to use for passing in linker flags (i.e. don't hardcode "-Wl,")
2007-06-29tweak msync prototype to match headerMike Frysinger
2007-05-31Bernd Schmidt writes: make sure custom stacks work properly for no-mmuMike Frysinger
2007-03-19#1273 if EXTRAVERSION is set, make sure we respect itMike Frysinger
2007-02-20call kernel helper to do spinlocksMike Frysinger
2007-01-29since these functions get exported, namespace the argumentsMike Frysinger
2007-01-11Peter Mazinger pointed out that my last commit was faulty.Joakim Tjernlund
This should fix it.
2006-12-08only define msync cancellation point if the syscall existsMike Frysinger
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-11-09prevent cancellation functions from being called more than onceMike Frysinger
2006-11-09backport from upstream:Mike Frysinger
2001-04-10 Ulrich Drepper <drepper@redhat.com> * join.c (pthread_exit): Move code to new function __pthread_do_exit which takes an extra parameter with the current frame pointer. Call new function with CURRENT_STACK_FRAME. (__pthread_do_exit): New function. Call __pthread_perform_cleanup with the new parameter. (pthread_join): Call __pthread_do_exit instead of pthread_exit. * cancel.c (__pthread_perform_cleanup): Takes extra parameter. Use this parameter as the initial value the cleanup handler records are compared against. No active cleanup handler record must have an address lower than the previous one and the initial record must be above (below on PA) the frame address passed in. (pthread_setcancelstate): Call __pthread_do_exit instead of pthread_exit. (pthread_setcanceltype): Likewise. (pthread_testcancel): Likewise. (_pthread_cleanup_pop_restore): Likewise. * condvar.c (pthread_cond_wait): Likewise. (pthread_cond_timedwait_relative): Likewise. * manager.c (pthread_start_thread): Likewise. * oldsemaphore.c (__old_sem_wait): Likewise. * pthread.c (pthread_handle_sigcancel): Likewise. * semaphore.c (__new_sem_wait): Likewise. (sem_timedwait): Likewise. * ptlongjmp.c (pthread_cleanup_upto): Also use current stack frame to limit the cleanup handlers which get run. * internals.h: Add prototype for __pthread_do_exit. Adjust prototype for __pthread_perform_cleanup.
2006-11-09backport from upstream:Mike Frysinger
2001-04-11 Ulrich Drepper <drepper@redhat.com> * cancel.c (_pthread_cleanup_push): Catch invalid __prev buffer and remove it. (_pthread_cleanup_push_defer): Likewise.
2006-11-03remove duplicated/unused ASSERT codeMike Frysinger
2006-11-03dont need to force optimization in CFLAGS anymore (if this fails your ↵Mike Frysinger
compiler prob sucks anyways)
2006-08-24merge fixes from upstream (rev 1.10 -> 1.13)Mike Frysinger
2006-03-05use sched_yield, not pthread_yieldMike Frysinger
2006-02-28need types.h for size_t as pointed out in buildlogMike Frysinger
2006-02-27import ia64 linuxthreads filesMike Frysinger
2006-02-23Added support for the new CRISv32 architecture.Peter Kjellerstedt
2006-02-23Make use of CFLAGS-OMIT-filePeter S. Mazinger
2006-02-18tweak the idea between having a MMU and actually using itMike Frysinger
2006-02-18make headers more quietMike Frysinger
2006-02-15DOMULTI may be used for libc, the excluded files need work, ↵Peter S. Mazinger
linuxthreads[_db] as well, don't try on slow box
2006-02-04fix warning when building on non-mmu hostsMike Frysinger
2006-02-01typoPeter S. Mazinger
2006-02-01same in oldPeter S. Mazinger
2006-01-30Add IMA compilingPeter S. Mazinger
2006-01-26prototypes for threads tooPeter S. Mazinger
2006-01-26Get rid of missing prototype warningsPeter S. Mazinger
2006-01-25Modify the earlier changes, because libc-lock references __pthread_mutex*, ↵Peter S. Mazinger
dont use hidden_strong_alias
2006-01-25make use of the internals provided earlierPeter S. Mazinger
2006-01-25Keep only hidden __pthread_mutex_* used in libc, change pthread_mutex_* to ↵Peter S. Mazinger
use internal version, provide pthread_mutexattr_* internal versions, remove unused __pthread_mutex_timedlock
2006-01-25Remove unused prototypePeter S. Mazinger