summaryrefslogtreecommitdiffstats
path: root/libpthread/linuxthreads/sysdeps/unix/sysv
Commit message (Collapse)AuthorAgeFilesLines
* mips: fix errno setting after syscallAlexander Gordeev2010-10-271-1/+2
| | | | | | | | | | | | | | | If there was an error during syscall then after it's completion a3 register holds a non-zero value and v0 holds an actual error code which should be saved in errno. This can be achieved by calling __syscall_error with the value from v0 as a parameter. So this value should be stored in a0, but the appropriate assembly instructions are missing. Fixed this now by adding "move a0, v0". I think it was once fixed by 58c5f8ba4cdf62342d05a546d15404cbbb3c4e07 but then something went wrong. Again... Signed-off-by: Alexander Gordeev <lasaine@lvk.cs.msu.su> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* build: Get rids of PIC macro using compiler flag __PIC__ insteadCarmelo Amoroso2009-12-168-21/+21
| | | | | | | Based on Peter Mazinger's comments on a recent commit, I decided to get rids of all occurrences of PIC changing them to __PIC__ Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sigwait: remove __sigwait and __GI_sigwait symbols - they are unusedDenys Vlasenko2009-09-191-6/+2
| | | | | | | | sigwait is not called from any uclibc function, so "hidden symbol" trick is not needed on it. __sigwait also is never used, and it's not clear why it even existed. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* CLOEXEC: use open(CLOEXEC) if exist; do not check fcntl(FD_CLOEXEC) failureDenys Vlasenko2009-09-051-3/+1
| | | | | | | | | | | | text data bss dec hex filename - 370 0 0 370 172 libc/misc/dirent/opendir.o + 366 0 0 366 16e libc/misc/dirent/opendir.o - 375 4 0 379 17b libc/pwd_grp/lckpwdf.o + 356 4 0 360 168 libc/pwd_grp/lckpwdf.o - 248 0 0 248 f8 librt/shm.o + 209 0 0 209 d1 librt/shm.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* fix compilation of linuxthreads for sparc64Austin Foxley2009-05-212-3/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix compilation of linuxthreads for sparcaustinf2009-03-183-13/+11
| | | | add myself to MAINTAINERS for sparc
* add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)Denis Vlasenko2009-03-122-0/+208
|
* Remove the rest of "bounded pointers" scaffolding. gcc website says"Denis Vlasenko2008-12-132-4/+2
| | | | | | "Bounds Checking Projects... This project has been abandoned" for four years at least.
* *: remove vestiges of gcc's "bounded pointers" feature,Denis Vlasenko2008-12-122-45/+13
| | | | | | it is dead (not supported by gcc) for years. (more of it remains in multiple copies of sigaction.c)
* Move kernel-features.h header from the linuxthread directoryCarmelo Amoroso2008-12-115-5/+5
| | | | | | | | to a common one (libc/sysdeps/linux/common/bits) so that any function can access to supported kernel feature (i.e. getdents). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* optimize signal mask ops. comment out "impossible" errorsDenis Vlasenko2008-12-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | text data bss dec hex filename - 1179 13 2 1194 4aa libc/misc/syslog/syslog.o + 1165 13 2 1180 49c libc/misc/syslog/syslog.o - 435 4 0 439 1b7 libc/pwd_grp/lckpwdf.o + 393 4 0 397 18d libc/pwd_grp/lckpwdf.o - 38 0 0 38 26 libc/signal/sigandset.o + 32 0 0 32 20 libc/signal/sigandset.o - 63 0 0 63 3f libc/signal/sigblock.o + 56 0 0 56 38 libc/signal/sigblock.o - 22 0 0 22 16 libc/signal/sigempty.o + 20 0 0 20 14 libc/signal/sigempty.o - 25 0 0 25 19 libc/signal/sigfillset.o + 20 0 0 20 14 libc/signal/sigfillset.o - 34 0 0 34 22 libc/signal/sigisempty.o + 16 0 0 16 10 libc/signal/sigisempty.o - 38 0 0 38 26 libc/signal/sigorset.o + 32 0 0 32 20 libc/signal/sigorset.o - 119 0 0 119 77 libc/signal/sigpause.o + 113 0 0 113 71 libc/signal/sigpause.o - 215 0 0 215 d7 libc/signal/sigset.o + 211 0 0 211 d3 libc/signal/sigset.o - 63 0 0 63 3f libc/signal/sigsetmask.o + 56 0 0 56 38 libc/signal/sigsetmask.o - 194 0 1 195 c3 libc/stdlib/abort.o + 183 0 1 184 b8 libc/stdlib/abort.o - 323 0 0 323 143 libc/unistd/sleep.o + 309 0 0 309 135 libc/unistd/sleep.o
* - tidy up inline:Bernhard Reutner-Fischer2008-10-241-1/+1
| | | | ldso and syscalls are __always_inline (the latter would need more cleanup)
* - use c89-style commentsBernhard Reutner-Fischer2008-10-031-3/+3
| | | | Closes issue #5194
* Use __SH_SYSCALL_TRAP_BASE for pthread vfork trap, as it willPaul Mundt2008-09-241-1/+2
| | | | | change depending on ABI.
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-231-3/+3
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-233-3/+3
|
* convert two more static ints used as flags to smallintsDenis Vlasenko2008-05-221-1/+1
|
* remove redundant headers local to libpthread, causing headerEric Andersen2006-11-293-311/+0
| | | | file content skew between the versions
* Joseph S. Myers writes:Eric Andersen2006-10-1981-184/+0
| | | | | | There are many directories called "CVS" checked into uClibc SVN, probably as a side-effect of importing a CVS checkout. I don't think these are particularly useful to have checked in.
* sync with glibc CVSMike Frysinger2006-03-108-13/+13
|
* blah, glibc moved linuxthreads aroundMike Frysinger2006-03-0926-26/+26
|
* Remove unneeded ; after *_aliasPeter S. Mazinger2006-03-091-3/+3
|
* glibc syncMike Frysinger2006-02-048-13/+13
|
* change asm/volatile to __x__Peter S. Mazinger2006-02-012-2/+2
|
* s/IS_IN_linuxthreads/IS_IN_libpthread/, some prototypes, correct ↵Peter S. Mazinger2006-01-313-3/+0
| | | | Makefile.in, disable __res_state, unavailable in resolv.h
* initial import of latest linuxthreadsMike Frysinger2006-01-31151-0/+6182
|
* Initial effort at adding profiling support.Eric Andersen2003-03-033-202/+0
|
* It turns out that __thread is now a gcc keyword. We used __thread inEric Andersen2002-10-131-1/+1
| | | | | | | | a few spots in our header files. In this change I do a s/__thread/__thread_id/ so we no longer conflict with newer CVS versions of gcc (such as the patched up gcc 3.2 included with RedHat 3.0). -Erik
* Merge in the pthread library. This is the linuxthreads library taken fromEric Andersen2002-02-203-0/+202
glibc 2.1.3 and ported to work with uClibc by Stefan Soucek and Erik Andersen (me). Stefan has hacked things up such that linuxthreads runs on MMU-less systems (tested only on arm-nommu). Erik cleaned things up and made it work properly as a shared library. -Erik