| Commit message (Collapse) | Author | Age | Files | Lines |
| |
|
|
|
| |
Step 4
libc/string and asm implementation
|
| |
|
|
|
| |
Step 3
libm and related headers
|
| |
|
|
|
|
|
|
|
| |
Enable CFI directives for sh to add proper CFI information into
assembly functions. This provides stack frame information used
during stack unwinding as well by debugger for backtracing.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
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>
|
| |
|
|
|
|
|
|
|
| |
inversely conditional on __HAVE_SHARED__, which has been broken since
the time it was copied in originally. The compiler properly generates
the GOT references on its own, negating the entire purpose for the
init/fini reference.
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>
|
| | |
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Pass via r4 the rtld finalizer
_dl_fini to the user application. This will be the 6^ arg of
__uClibc_main and will be registered with 'atexit'.
In this way the dynamic linker will be able to call destructors
defined within the loaded DSOs.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
Add missing 7th arg "stack_end".
add comment of undocumented usage of r4.
fix comment of expected __uClibc_main() prototype.
Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com>
Acked-by: Paul Mundt <lethal@linux-sh.org>
|
| | |
|
| |
|
|
|
|
|
| |
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>
|
| | |
|
| | |
|
| |
|
|
| |
several application using this headers fail because they do not get __extern_inline define and if cdefs.h is included then the mudslide begins. For now we will live with the warnings in uclibc build.
|
| |
|
|
|
|
| |
could use alternative implementations for them.
include sys/syscalls.h in pt-gettimeofday.c
|
| |
|
|
|
|
|
|
|
|
|
|
| |
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.__
|
| |
|
|
| |
accordingly otherwise it cannot compile
|
| | |
|
| |
|
|
| |
Thanks Khem for pointing this out
|
| |
|
|
| |
Append the objects.
|
| |
|
|
| |
Use wait4 for waitpid syscall.
|
| |
|
|
| |
Include <bits/libc-lock.h> to get *once* definitions.
|
| | |
|
| |
|
|
| |
arguments from stack into registers before making clone syscall
|
| | |
|
| | |
|
| |
|
|
| |
ARM as well.
|
| |
|
|
| |
add pt-__syscall_rt_sigaction.c for mips
|
| | |
|
| |
|
|
| |
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>
|
| | |
|
| | |
|
| |
|
|
| |
system
|
| | |
|
| | |
|
| | |
|
| |
|
|
| |
folder
|
| |
|
|
| |
from memcopy.h to _memcpy_fwd.c to avoid unneeded inclusion in other .c files and silent gcc about unused static function
|
| |
|
|
| |
frv/ia64/sparc/i386/powerpc/arm/avr32/x86_64/cris/bfin
|
| | |
|
| | |
|
| |
|
|
| |
trunk
|
| |
|
|
| |
specific with trunk
|
| | |
|
| | |
|
| | |
|
| |
|
|
|
|
|
| |
Step 8: add xtensa, cris and avr32 architecture dependent
files, as is.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
| |
|
|
|
|
|
| |
Step 6: fix Makefiles to use $(VERSION) and the compiler-driver
for the link stage
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
| |
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Added AI_NUMERICSERV flag and check if the string is not just a number
when AI_NUMERICSERV flag set.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
- Ricard Wanderlof writes:
The following definitions in getaddrinfo.c seem redundant as they _are_
defined in the public netdb.h header, contrary to the comment. AI_DEFAULT
is not, however it is not used in the file either so can be safely
removed.
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
| |
|
|
|
|
|
| |
Added related test cases.
Signed-off-by: Matthew Wilcox <matthew@wil.cx>
Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|