summaryrefslogtreecommitdiffstats
path: root/libpthread/nptl/sysdeps
Commit message (Collapse)AuthorAgeFilesLines
* whitespace fixesAustin Foxley2009-10-1745-67/+37
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mips nptl: Cleanup up _ABI64 warningsAustin Foxley2009-09-271-0/+2
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* Revert part of ecd7069ac6Austin Foxley2009-09-251-0/+3
| | | | | | This seemingly harmless warning fix causes mutex use in libc to crash... Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* i386 nptl: fix PSEUDO_ENDAustin Foxley2009-09-231-11/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* i386/arm nptl warning fixesAustin Foxley2009-09-238-11/+11
| | | | | | | | * fix some "USE___THREAD not defined" warnings * get rid of remnant glibc versioned symbols * fix RTLD_PRIVATE_ERRNO define usage Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* tls: test for DTV vs TCB at TP correctlyAustin Foxley2009-09-232-20/+20
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* spent this morning beating i386 nptl into shapeAustin Foxley2009-09-2238-492/+780
| | | | | | Got it compiling thus far, still working on getting it to run Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc nptl: make sure correct clone.S and pt-vfork.S get in libpthreadAustin Foxley2009-09-222-1/+3
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nptl/: fix .dep files not working for libpthread.aAustin Foxley2009-09-2210-0/+40
| | | | | | | the variable libpthread-a-y was holding %.o instead of %.os, so the .dep make rules were rebuilding the whole lib every time Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* warning fixesAustin Foxley2009-09-212-3/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* undef INTERNAL_SYSCALL_NCS before redefining to quash build warnings.Khem Raj2009-08-021-0/+2
| | | | | | Pass LDFLAGS using -Wl now gcc is used as LD. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* build: use $(do_sed) command for pretty printingCarmelo Amoroso2009-07-294-7/+7
| | | | | | | Use the $(do_sed) command instead of plain @sed for pretty printing target generation by sed. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sh: fix a wrong "#if" condition within the sysdep.h file.Giuseppe Cavallaro2009-07-021-1/+1
| | | | | | | | This fixes a wrong "#if" condition within the sysdep.h header for SH. This also avoids many warning while compiling. Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sh_nptl: Fix pthread_barrier_wait epilog to properly restore r9Carmelo Amoroso2009-07-022-3/+3
| | | | | | | | | | | | | | In the pthread_barrier_wait function's epilog implementation do not use the macro ret (that is defined as rts; nop) to correctly execute in the delay slot the instruction "mov.l @r15+, r9" that will restore the r9 register to the previous value saved on the stack and as side effect will restore the stack pointer register back to the correct value. Same fix is applied to __lll_mutex_lock_wait, even if in the delay slot we have actually a nop, so using the macro would be safe here. Signed-off-by: Christian Bruel <christian.bruel@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Get sparc64 nptl compilingAustin Foxley2009-05-215-60/+69
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.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.
* 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.
* Fix kernl-features.h include path.Carmelo Amoroso2008-12-1124-24/+24
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk @ 24379Carmelo Amoroso2008-12-111-437/+0
| | | | Step 23: move kernel-features.h
* 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-031-6/+5
| | | | with other shell, as pointed out by Bernhard.
* Rework nptl build system for cleaning headers and objectsCarmelo Amoroso2008-12-035-22/+22
| | | | | | | | | | | | | | | | | | | | | | 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>
* 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>
* __asm__ and __volatile__ conversion for arm.Khem Raj2008-08-152-3/+3
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-314-50/+50
| | | | | | | 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>
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-094-20/+25
| | | | system
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-273-17/+18
|
* Removed unused automatic variable 'val' to silent gccCarmelo Amoroso2008-06-181-3/+3
|
* Renamed resultvar variable to __resultvar to avoid gcc arning due to ↵Carmelo Amoroso2008-06-181-5/+5
| | | | shadowed variable
* Renamed __self variable to __thread_self to avoid gcc arning due to shadowed ↵Carmelo Amoroso2008-06-181-3/+3
| | | | variable
* Synch with trunkCarmelo Amoroso2008-06-181-2/+4
|
* Remove symlink too during make cleanCarmelo Amoroso2008-05-151-1/+1
|
* Remove extra / from directory nameCarmelo Amoroso2008-03-052-4/+4
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Revert latest commit because it brakes sh4 buildCarmelo Amoroso2008-01-211-0/+19
|
* This is defined in multiple places for IA64 and cris architectures and "Steven J. Hill"2008-01-161-19/+0
| | | | also differs in implementation.