summaryrefslogtreecommitdiff
path: root/libpthread/linuxthreads.old/sysdeps
AgeCommit message (Collapse)Author
2009-11-22Revert "libc: add hidden calls to pthread cleanup funcs"Austin Foxley
This reverts commit e0ac4efbdb498319f03a2a95d75d061ab6c68491. Was causing segfaults on every pthread linked executable Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-10-22libc: add hidden calls to pthread cleanup funcsMike Frysinger
A lot of libc code calls the pthread cleanup funcs implicitly (for stdio) which currently goes through the PLT. Since we already have forwarding symbols for these funcs, it's safe to declare the internal libc usage hidden as a loaded libpthread will have the real symbols found. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-26linuxthreads.old: define pthread_yield to sched_yieldMike Frysinger
The pthread_yield() function in linuxthreads does the same thing as the standardized sched_yield() function, so add a simple define for it to make porting GNU apps easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-07-05Provide token prototypes for functions that are external but have no headerRon
This cuts down on a lot of noise from gcc-4.4 Signed-off-by: Ron Lee <ron@debian.org> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
2009-04-09The attached patches fixes the problems found bringing up uclibc on coldfire Khem Raj
M5485 processor 1. Disable mmap2() if we're compiling for coldfire and fall back to mmap(). It seems to map a different file area on a 2.6.25 linux kernel. 2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN and OFFSET_ALIGN relatively to _dl_pagesize[3]. On coldfire/M5485 _dl_pagesize is 0x2000. Signed-off-by: Groleo Marius <groleo@gmail.com>
2009-01-21- commentary typo fixBernhard Reutner-Fischer
2008-12-29- pthread_attr_{g,s}etstacksize would depend on SUSv3 legacy but are notBernhard Reutner-Fischer
implemented anyway.
2008-11-25- cosmetic tidy up of clean targetBernhard Reutner-Fischer
2008-11-07- less verbose make cleanBernhard Reutner-Fischer
2008-10-31Replace inline with __inline__ in AVR32 pt-machine.h header fileHans-Christian Egtvedt
This patch replaces inline with __inline__ to be more ANSI compatible. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
2008-10-11Fix bug 4994 hangs on read(). I have tested the patch extensibly on ARM/LT.old.Khem Raj
Thank you Chase Douglas for reporting it and for the patch.
2008-07-23- trim any trailing whitespaceBernhard Reutner-Fischer
2008-07-23- fix inline keywordBernhard 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-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-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-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-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-01-24Move threads header to proper locationPeter S. Mazinger
2006-01-06psm says: fix your linuxthreads / linuxthreads.old typo stupid!Mike Frysinger
2006-01-06update libc lock functions to new pthread forwardingMike Frysinger
2006-01-04update pthread weak handling to the style glibc usesMike Frysinger
2006-01-03Add proper guard, so that we don't see the internal header in userspacePeter S. Mazinger
2006-01-03Joseph S. Myers writes:Mike Frysinger
This patch fixes the build of libpthread for MIPS. The definition of _test_and_set uses __THROW after the prototype: but attributes are only accepted after the prototype in function declarations which aren't definitions, not between the prototype and the function body in a definition. The proper macro to use here is __NTH (placing the attribute before the prototype). glibc does the same thing, so this is also a sync up with glibc
2005-12-13This header blocked the use of __THROW in libc-internal.hPeter S. Mazinger
2005-11-18Enable __THROW,_NTH,REDIRECT_NTHPeter S. Mazinger
2005-11-17Include all lib*/Makefile.in in top_srcdir/Makefile.in, allows adding ↵Peter S. Mazinger
foreign objects to a lib
2005-11-15rename current stable linuxthreads to linuxthreads.old to prepare for import ↵Mike Frysinger
of latest glibc version