| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
| |
Move includes out of __UCLIBC_HAS_THREADS_NATIVE__ conditional
|
|
|
|
|
| |
More merges from trunk to get nptl compiling for arm. Also fix some
errno related linking problems.
|
|
|
|
|
| |
Step 17: libc_hidden_proto removal (almost all).
and other minor changes (inline keyword, extra character)
|
|
|
|
| |
Step 16: utils folder synch.
|
|
|
|
| |
Step 15: test folder synch.
|
|
|
|
|
|
| |
Step 14: miscellaneous merge for arch specific
files in libc/sysdeps. Comments, cleanup, formatting,
hidden_proto removal and others.
|
|
|
|
| |
Step 13: build system updates.
|
|
|
|
| |
Step 12: ldso minor changes: code tidy-up, inline, comments.
|
|
|
|
| |
Step 11: More libc_hidden_proto removal
|
| |
|
|
|
|
|
|
|
|
|
| |
disabled and __UCLIBC_HAS_WCHAR__ is enabled. The only locale available
when __UCLIBC_HAS_LOCALE__ is disabled is the C locale, the others locale
are skipped.
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
|
|
|
|
| |
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
|
| |
|
|
|
|
| |
Step 10: libc_hidden_removal
|
|
|
|
| |
Step 9: libc/stdio - libc/inet - libc/pwd_grp
|
|
|
|
| |
Step 8: include folder
|
|
|
|
| |
Step 7: libc/stdlib and malloc
|
|
|
|
| |
Step 6: libc/misc
|
|
|
|
|
| |
Step 5
Various Makefile.in
|
|
|
|
|
| |
Step 4
libc/string and asm implementation
|
|
|
|
|
| |
Step 3
libm and related headers
|
|
|
|
|
| |
Step 2
locale stuff - configuration and top Makefiles
|
|
|
|
|
| |
Step 1
linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
|
|
|
|
|
|
|
|
|
|
| |
If a shared object has a constructor that accesses a TLS variable
using the localor global synamic access model (that is by calling
the __tls_get_addr function), all the filed of each dtv entry must be
already initialized to point to the right address in the TLS static block
Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
wrong fd number error. So I replaced it with something that makes ash happy.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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>
|
| |
|
|
|
|
|
|
| |
Functionally the code is the same, just a matter of coding style.
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>
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
sh4-linux-uclibc-gcc \
-Wall -Wstrict-prototypes -Os -funit-at-a-time -fno-tree-loop-optimize -fno-tree-dominator-opts -fno-strength-reduce -fstrict-aliasing -mprefergot -Os -D_GNU_SOURCE -I../../test -ml -m4 -nostdinc -I../../install_dir/usr/include -I/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1//include-fixed -I/opt/STM/STLinux-2.3/devkit/sh4_uclibc/lib/gcc/sh4-linux-uclibc/4.2.1/include \
-fPIC -shared libtest.c -o libtest.so -Wl,-soname,libtest.so \
-s -B../../lib -Wl,-rpath,../../lib -Wl,-rpath-link,../../lib -Wl,-rpath,./ -Wl,--dynamic-linker,"/lib"/ld-uClibc.so.0 -Wl,--hash-style=gnu
libtest.c: In function 'dltest':
libtest.c:8: error: '__pthread_once' undeclared (first use in this function)
libtest.c:8: error: (Each undeclared identifier is reported only once
libtest.c:8: error: for each function it appears in.)
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
|
|
|
|
| |
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
|
|
|
|
| |
Add NTPL testing support for ARM.
|