| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
| |
No need to install a cancellation handler, these are no cancellation
point.
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
|
|
| |
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
|
|
|
|
|
|
| |
__gen_tempname now needs to not be hidden so libpthread can get at it
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
|
|
|
|
| |
sem_open uses mktemp to create temporary file. Reimplement it
using __gen_tmpname, removing ugly while(1) loop. As a side-effect
remove the potential source of EAGAIN errors.
Signed-off-by: Mikhail Gusarov <dottedmag@dottedmag.net>
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
|
|
|
|
|
|
| |
This time do not create the header file at each build
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
| |
This seemingly harmless warning fix causes mutex use in libc to crash...
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
|
|
|
| |
* 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>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
|
| |
Got it compiling thus far, still working on getting it to run
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
|
| |
Pass LDFLAGS using -Wl now gcc is used as LD.
Signed-off-by: Khem Raj <raj.khem@gmail.com>
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
| |
Added .gitignore files to exclude others generated files.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
| |
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
|
|
|
|
|
| |
* Since sparc < v9 doesn't have a real compare exchange instruction,
we implement it with a test and set.
|
|
|
|
|
|
|
|
|
| |
* 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.
|
|
|
|
| |
even when compiling in thumb mode.
|
|
|
|
| |
in calling macro already.
|
|
|
|
|
| |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
| |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
| |
Step 23: move kernel-features.h
|
|
|
|
| |
Update pthread_mutex_t definition and initializations.
|
|
|
|
|
|
| |
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
|
|
|
|
| |
with other shell, as pointed out by Bernhard.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
| |
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
| |
could use alternative implementations for them.
include sys/syscalls.h in pt-gettimeofday.c
|
|
|
|
|
| |
We have pt-sleep.c now no need to create link and worse make clean
deletes the proper pt-sleep.c file.
|
|
|
|
|
|
|
|
|
|
|
|
| |
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.__
|
|
|
|
| |
Fix ARM specific makefiles for NPTL build.
|
|
|
|
| |
Thanks Khem for pointing this out
|
| |
|
| |
|