summaryrefslogtreecommitdiffstats
path: root/libpthread
Commit message (Collapse)AuthorAgeFilesLines
* fix compilation of linuxthreads for sparc64Austin Foxley2009-05-212-3/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Get sparc64 nptl compilingAustin Foxley2009-05-215-60/+69
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Only use fstat64 when LFS is enabledAustin Foxley2009-05-201-0/+5
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merged revisions 26033 via svnmerge from Khem Raj2009-04-091-1/+1
| | | | | | | | | | | | | | | | | | | | svn+ssh://svn.uclibc.org/svn/trunk/uClibc ........ r26033 | kraj | 2009-04-09 00:38:04 -0700 (Thu, 09 Apr 2009) | 13 lines The attached patches fixes the problems found bringing up uclibc on coldfire 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> ........
* sparc nptl needs it's own lowlevellock.caustinf2009-03-214-4/+157
| | | | | * Since sparc < v9 doesn't have a real compare exchange instruction, we implement it with a test and set.
* Merged revisions 25744 via svnmerge from Khem Raj2009-03-195-16/+15
| | | | | | | | | | | svn+ssh://kraj@svn.uclibc.org/svn/trunk/uClibc ........ r25744 | austinf | 2009-03-18 16:05:54 -0700 (Wed, 18 Mar 2009) | 3 lines fix compilation of linuxthreads for sparc add myself to MAINTAINERS for sparc ........
* sparc32 nptl functionalaustinf2009-03-1920-152/+414
| | | | | | | | | * pulled updated asm and headers from glibc for sparc32 * probably no cancellation support yet * no shared TLS relocs yet, since ldso is hosed on sparc still note: didn't use TARGET_SUBARCH method of includes since that would cause other parts of libc to fail currently. Will need to be fixed later.
* Always compile fork.S in arm mode. Make _Unwind_Resume arm onlyKhem Raj2009-03-182-1/+13
| | | | even when compiling in thumb mode.
* Use __asm__ and __volatile__. SYS_ify is not required here because its usedKhem Raj2009-03-181-6/+6
| | | | in calling macro already.
* add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)Denis Vlasenko2009-03-122-0/+208
|
* linuxthreads fixes from Will Newton (will.newton AT gmail.com):Denis Vlasenko2009-03-127-29/+46
| | | | | | | | | | | * share Sys V semaphores in order to get appropriate SEM_UNDO semantics. * correct guardaddr in pthread_free() for TLS case * move spinlock unlocking before restart() * When exit was called from a signal handler, the restart from the manager processing the exit request instead restarted the thread in pthread_cond_timedwait. (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html)
* reinstate __libc_foo for linuxthreads.oldDenis Vlasenko2009-02-253-10/+11
|
* Synch build system with trunk.Carmelo Amoroso2009-01-291-1/+1
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added sysdep.h and sysdep-cancel.h for linuxthreads ARMCarmelo Amoroso2009-01-282-0/+145
| | | | | Signed-off-by: Will Wagner <will_wagner@carallon.com>
* Synch with trunk: miscellaneous changes, mostly cleanup,Carmelo Amoroso2009-01-222-2/+2
| | | | | | | code styling, comments. No object-code changes. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - pull r24786 from trunkBernhard Reutner-Fischer2009-01-121-2/+2
|
* - whitespace cleanup; no obj-code changes (r24600)Bernhard Reutner-Fischer2008-12-291-1/+1
|
* - pull r24593:24596 from trunkBernhard Reutner-Fischer2008-12-293-0/+6
|
* Merges from trunkKhem Raj2008-12-221-1/+1
|
* Merge linuxthread.old from trunk.Khem Raj2008-12-154-4/+4
|
* Merge Linuxthreads from Trunk.Khem Raj2008-12-153-49/+17
|
* Fix kernl-features.h include path.Carmelo Amoroso2008-12-1126-26/+26
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk @ 24379Carmelo Amoroso2008-12-111-437/+0
| | | | Step 23: move kernel-features.h
* Synch with trunk @ 24379Carmelo Amoroso2008-12-116-56/+48
| | | | Step 21: merge linuxthreads.old directory
* Synch with trunk @ 24379Carmelo Amoroso2008-12-1113-97/+12
| | | | Step 20: merge linuxthreads directory
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-107-21/+119
| | | | Update pthread_mutex_t definition and initializations.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-093-42/+42
| | | | | | This patch makes mips nptl port compile again Replace remaining instances of asm by __asm__ and volatile by __volatile__ include bits/errno.h instead of obsolete bits/errno_values.h
* Fix some nptl clean target removing bash-like globs to be compliantCarmelo Amoroso2008-12-032-8/+6
| | | | with other shell, as pointed out by Bernhard.
* Rework nptl build system for cleaning headers and objectsCarmelo Amoroso2008-12-037-31/+31
| | | | | | | | | | | | | | | | | | | | | | to be compliant with all other Makefile. The output of the make clean (silent mode) will be as follows: CLEAN ld-uClibc CLEAN libdl <....> CLEAN nptl_pthread_generic CLEAN nptl_pthread CLEAN nptl_arch CLEAN nptl_linux CLEAN nptl_linux_arch CLEAN libthread_db <....> CLEAN nptl_headers CLEAN nptl_arch_headers CLEAN nptl_linux_headers CLEAN nptl_db_headers Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk @ 24242Carmelo Amoroso2008-12-037-34/+25
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-271-5/+4
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-271-2/+2
| | | | Step 13: build system updates.
* Synch with trunk @ 24087Carmelo Amoroso2008-11-184-4/+5
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24071.Carmelo Amoroso2008-11-1720-77/+169
| | | | | Step 1 linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
* Fixes posix_fadvise[64] functions to return the Carmelo Amoroso2008-09-182-147/+2
| | | | | | | | | | error number in case of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Also refactor sysdep.h and syscalls.h moving INTERNAL_SYSCALL macro to the latter (as other archs do in uclibc). Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Make sure that multi-threaded statically linked applications use the realCarmelo Amoroso2008-09-031-0/+5
| | | | | | | | | | locking implementations instead of the empty stubs from libc.a. Removed also old work-around added to opendir, due to wrong pthread_mutex_init (from libc.a) used in static binaries. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* __asm__ and __volatile__ conversion for arm.Khem Raj2008-08-152-3/+3
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-3139-182/+182
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Update sh4 pthread_mutex_t definitionCarmelo Amoroso2008-07-311-3/+13
|
* Removed duplicated file (already moved into libc/misc/elf)Carmelo Amoroso2008-07-291-68/+0
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Undefine some of redundant syscalls not used by EABI kernels. So uclibc ↵Khem Raj2008-07-141-2/+1
| | | | | | could use alternative implementations for them. include sys/syscalls.h in pt-gettimeofday.c
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-4/+1
| | | | | We have pt-sleep.c now no need to create link and worse make clean deletes the proper pt-sleep.c file.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-112-11/+11
| | | | | | | | | | | | Hush compiler for extern inline warnings by using __extern_inline macro, this also makes gcc 4.3 happy. warning: C99 inline functions are not supported; using GNU89 warning: to disable this warning use -fgnu89-inline or the gnu Also fix this other warning. warning: missing braces around initializer warning: (near initialization for '_stdio_streams[0].__lock.__
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-113-20/+11
| | | | Fix ARM specific makefiles for NPTL build.
* Fix some __UCLIBC_IO_MUTEX_XXXX macro to be used without FUTEX support. ↵Carmelo Amoroso2008-07-111-10/+3
| | | | Thanks Khem for pointing this out
* Exclude some files for ARM NPTL, Do not use _libc_fatalKhem Raj2008-07-102-3/+12
|
* Fix __USE_STDIO_FUTEXES__ falloutKhem Raj2008-07-101-4/+11
|
* ARM specific NPTL bitsKhem Raj2008-07-1034-0/+2582
|
* Revert the mips related fixed that got in due to the trunk merge and also ↵Khem Raj2008-07-092-1/+2
| | | | add pt-__syscall_rt_sigaction.c for mips
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-094-28/+21
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>