summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
...
* Synch with trunk @ 24261Carmelo Amoroso2008-12-116-133/+72
| | | | | | | Step 19: merge change in rev 24250 - Use runtime pagesize (Jeremy Kerr) Some powerpc machines can support 64k pages, enabled by the CONFIG_64K_PAGES option in linux.
* Merged with trunk: basically white space and blank lines removalCarmelo Amoroso2008-12-111-2/+9
|
* Merges from trunk.Khem Raj2008-12-092-65/+68
|
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-091-1/+1
| | | | | | 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 loop for checking ifaddr on both IPv4 and IPv6.Carmelo Amoroso2008-12-081-2/+2
|
* Sync with trunk r24277Khem Raj2008-12-041-2/+2
| | | | | Remove __NTH from the declation.
* Go deeper while cleaning string directory to removeCarmelo Amoroso2008-12-041-1/+1
| | | | | | TARGET_SUBARCH implementation too. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk @ 24242Carmelo Amoroso2008-12-0352-447/+422
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Fix wcswidth function when LOCALE support is disabledCarmelo Amoroso2008-12-021-0/+7
| | | | | | | | | | while keeping WCHAR support enabled. This solves two testcases: tst_wcwidth and tst_wcswidth. Fix dat_iswctype.c fiinput file: character 0x80 is not a control character: it fixes tst_iswctype test. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-021-8/+8
| | | | Sync from trunk.
* 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-023-20/+48
| | | | | More merges from trunk to get nptl compiling for arm. Also fix some errno related linking problems.
* Synch with trunk @ 24165Carmelo Amoroso2008-11-27499-1824/+1886
| | | | | Step 17: libc_hidden_proto removal (almost all). and other minor changes (inline keyword, extra character)
* 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-277-30/+30
| | | | Step 13: build system updates.
* 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-1891-180/+178
| | | | 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-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-173-6/+102
| | | | | Step 3 libm and related headers
* sh_nptl: Enable CFI directives for shCarmelo Amoroso2008-09-181-0/+3
| | | | | | | | | 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-183-8/+187
| | | | | | | | | | 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
|
* Make sure that multi-threaded statically linked applications use the realCarmelo Amoroso2008-09-031-2/+1
| | | | | | | | | | 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>
* include signal.h for missing SIG_BLOCK definition.Khem Raj2008-08-151-0/+1
|
* Fix SH ldso sequence startup.Carmelo Amoroso2008-08-081-2/+8
| | | | | | | | | | | | | | | | | | 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-063-20/+18
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-31260-840/+892
| | | | | | | 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>
* Fix preprocessor directive to silent warningCarmelo Amoroso2008-07-311-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-141-0/+18
| | | | | | 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-114-5/+7
| | | | | | | | | | | | 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.__
* uClibc_mutex.h should not include bits/libc-lock.h. Revert libtest.c ↵Carmelo Amoroso2008-07-111-1/+0
| | | | accordingly otherwise it cannot compile
* Revert previous useless change based on an older versionCarmelo Amoroso2008-07-111-4/+4
|
* Fix some __UCLIBC_IO_MUTEX_XXXX macro to be used without FUTEX support. ↵Carmelo Amoroso2008-07-115-93/+85
| | | | Thanks Khem for pointing this out
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-4/+4
| | | | Append the objects.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-111-23/+8
| | | | Use wait4 for waitpid syscall.
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-07-101-0/+1
| | | | Include <bits/libc-lock.h> to get *once* definitions.
* Exclude some files for ARM NPTL, Do not use _libc_fatalKhem Raj2008-07-101-1/+6
|
* Save PID across vfork syscall. Create a __clone() aliased to clone(). Load ↵Khem Raj2008-07-102-5/+31
| | | | arguments from stack into registers before making clone syscall
* Do not use push/pop in inline asm. It breaks unwindingKhem Raj2008-07-101-6/+10
|
* Thumb atomic operations and makefile changes to accomodate NPTLKhem Raj2008-07-103-2/+14
|
* Fix the builds without STDIO_FUTEXES. Fix msgecv and msgsend to compile on ↵Khem Raj2008-07-098-156/+151
| | | | ARM as well.
* Revert the mips related fixed that got in due to the trunk merge and also ↵Khem Raj2008-07-093-1/+23
| | | | add pt-__syscall_rt_sigaction.c for mips