summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* sign-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-021-1/+2
| | | | Move includes out of __UCLIBC_HAS_THREADS_NATIVE__ conditional
* signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-024-23/+79
| | | | | More merges from trunk to get nptl compiling for arm. Also fix some errno related linking problems.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-27502-1829/+1902
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* Synch with trunk @ 24160Carmelo Amoroso2008-11-272-22/+17
| | | | Step 16: utils folder synch.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-276-2/+28
| | | | Step 15: test folder synch.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-27157-895/+719
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-2721-65/+89
| | | | Step 13: build system updates.
* Synch with trunk @ 24157Carmelo Amoroso2008-11-2623-84/+89
| | | | Step 12: ldso minor changes: code tidy-up, inline, comments.
* Synch with trunk @ 24157Carmelo Amoroso2008-11-2663-143/+634
| | | | Step 11: More libc_hidden_proto removal
* Fix memset argsCarmelo Amoroso2008-11-261-2/+2
|
* This patch fixes locale-mbwc test failures when __UCLIBC_HAS_LOCALE__ isCarmelo Amoroso2008-11-261-0/+24
| | | | | | | | | 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>
* Make wcsxfrm visible also when LOCALE support is disabled.Carmelo Amoroso2008-11-251-0/+1
| | | | Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* Add _res_init.c to resolv_CSRC.Khem Raj2008-11-211-1/+1
|
* Synch with trunk @ 24087Carmelo Amoroso2008-11-18101-191/+199
| | | | Step 10: libc_hidden_removal
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1715-931/+787
| | | | Step 9: libc/stdio - libc/inet - libc/pwd_grp
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1716-259/+326
| | | | Step 8: include folder
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1716-128/+148
| | | | Step 7: libc/stdlib and malloc
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1723-615/+425
| | | | Step 6: libc/misc
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1733-144/+153
| | | | | Step 5 Various Makefile.in
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-1735-1373/+1343
| | | | | Step 4 libc/string and asm implementation
* Synch with trunk @ 24075.Carmelo Amoroso2008-11-17122-1978/+1485
| | | | | Step 3 libm and related headers
* Synch with trunk @ 24071.Carmelo Amoroso2008-11-1742-923/+1448
| | | | | Step 2 locale stuff - configuration and top Makefiles
* Synch with trunk @ 24071.Carmelo Amoroso2008-11-1720-77/+169
| | | | | Step 1 linuxthreads - linuxthreads_db - linuxthread.old - linuxthreads.old_db
* ldso: Initialize fully dtv before calling the constructors.Carmelo Amoroso2008-11-174-22/+72
| | | | | | | | | | 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>
* sh_nptl: Enable CFI directives for shCarmelo Amoroso2008-09-182-0/+9
| | | | | | | | | 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>
* Fixes posix_fadvise[64] functions to return the Carmelo Amoroso2008-09-185-155/+189
| | | | | | | | | | 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>
* Kill off the GOT lookup for init/fini in the sh crti.S. This wasCarmelo Amoroso2008-09-181-25/+2
| | | | | | | | | 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>
* Remove trailing whitespacesCarmelo Amoroso2008-09-181-2/+2
|
* Try not to use ">&" dash shell does not like it.Khem Raj2008-09-181-1/+1
|
* Make sure that multi-threaded statically linked applications use the realCarmelo Amoroso2008-09-032-2/+6
| | | | | | | | | | 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>
* Remove pointless extern declaration for __pthread_onceCarmelo Amoroso2008-08-201-2/+0
|
* Use pthread_once now __pthread_once is not defined in tests.Khem Raj2008-08-151-1/+1
|
* include signal.h for missing SIG_BLOCK definition.Khem Raj2008-08-151-0/+1
|
* __asm__ and __volatile__ conversion for arm.Khem Raj2008-08-152-3/+3
|
* &> seems like tcsh like. busybox/ash does not seem to like it I am getting ↵Khem Raj2008-08-151-1/+1
| | | | wrong fd number error. So I replaced it with something that makes ash happy.
* Fix SH ldso sequence startup.Carmelo Amoroso2008-08-082-4/+20
| | | | | | | | | | | | | | | | | | 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>
* some more asm keyword fixes (Yann E. MORIN)Carmelo Amoroso2008-08-064-21/+19
|
* Revert recent changes to previous version at rev 20454.Carmelo Amoroso2008-08-041-8/+7
| | | | | | Functionally the code is the same, just a matter of coding style. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove trailing whitespaces: two missing filesCarmelo Amoroso2008-07-312-5/+5
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-31397-1314/+1371
| | | | | | | 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
|
* Fix preprocessor directive to silent warningCarmelo Amoroso2008-07-311-1/+1
|
* Removed duplicated file (already moved into libc/misc/elf)Carmelo Amoroso2008-07-291-68/+0
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix build failure:Carmelo Amoroso2008-07-291-0/+2
| | | | | | | | | | | | | 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>
* Use rtld_hidden_{proto,def} properly within ld.soCarmelo Amoroso2008-07-291-4/+4
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove .depend when doing distcleanCarmelo Amoroso2008-07-291-1/+1
|
* These are already unwired in kernel headers so dont worry about them in uclibcKhem Raj2008-07-171-18/+0
|
* Do not include libc-lock.h because uClibc_mutex.h is exported file and ↵Khem Raj2008-07-141-1/+0
| | | | 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.
* Undefine some of redundant syscalls not used by EABI kernels. So uclibc ↵Khem Raj2008-07-142-2/+19
| | | | | | 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-124-2/+116
| | | | Add NTPL testing support for ARM.