summaryrefslogtreecommitdiffstats
path: root/libc
Commit message (Collapse)AuthorAgeFilesLines
* 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
* BIG BIG commit: forgotten filesCarmelo Amoroso2008-07-096-17/+203
|
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-09429-3427/+4387
| | | | 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>
* Synch with trunk: remove obsolete filesCarmelo Amoroso2008-07-095-582/+0
|
* SYnch with trunk: new filesCarmelo Amoroso2008-07-096-0/+167
|
* Synch the whole build system. Also including recent fix on testsuite build ↵Carmelo Amoroso2008-07-0914-50/+137
| | | | system
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-2711-45/+36
|
* Sync with trunk.Khem Raj2008-06-251-3/+7
|
* libc_hidden_proto moved to string.hCarmelo Amoroso2008-06-1962-120/+126
|
* Filter-out _memcpy_fwd.c and fix clean target to remove objects into deeper ↵Carmelo Amoroso2008-06-191-1/+4
| | | | folder
* Move static function _wordcopy_fwd_aligned and _wordcopy_fwd_dest_aligned ↵Carmelo Amoroso2008-06-193-191/+194
| | | | from memcopy.h to _memcpy_fwd.c to avoid unneeded inclusion in other .c files and silent gcc about unused static function
* Synch arch specific part of libc/string for ↵Carmelo Amoroso2008-06-1970-658/+1080
| | | | frv/ia64/sparc/i386/powerpc/arm/avr32/x86_64/cris/bfin
* News syscall wrappers from trunkCarmelo Amoroso2008-06-1810-0/+376
|
* Remove obsolete files and synch with trunkCarmelo Amoroso2008-06-184-293/+0
|
* Synch libc powerpc/arm/sh64/m68k/alpha/microblaze/i960/vax/e1 specific with ↵Carmelo Amoroso2008-06-1892-541/+2790
| | | | trunk
* Synch libc nios/xtensa/v850/h8300/cris/x86_64/ia64/hppa/i382/nios2/frv/avr32 ↵Carmelo Amoroso2008-06-1895-946/+1282
| | | | specific with trunk
* Synch libc mips specific with trunkCarmelo Amoroso2008-06-1841-886/+1606
|
* Synch libc sparc specific with trunkCarmelo Amoroso2008-06-1810-22/+152
|
* Synch libc bfin specific with trunkCarmelo Amoroso2008-06-1820-147/+304
|
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-1698-0/+7422
| | | | | | | Step 8: add xtensa, cris and avr32 architecture dependent files, as is. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Merge nptl branch tree with trunk. Carmelo Amoroso2008-03-161-5/+11
| | | | | | | Step 6: fix Makefiles to use $(VERSION) and the compiler-driver for the link stage Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk adding latest changes:Carmelo Amoroso2008-03-051-11/+6
| | | | | | | | | | | | | | | - 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 support for ether_line, ether_ntohost and ether_hostton.Carmelo Amoroso2008-03-051-0/+122
| | | | | | | Added related test cases. Signed-off-by: Matthew Wilcox <matthew@wil.cx> Hacked-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Remove pointless initialisation to 0 of some DIR's fieldsCarmelo Amoroso2007-12-091-1/+0
| | | | | | | | having called memset on whole DIR structure (and synch with trunk). Pointed out by Peter Mazinger Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix opendir problem when statically linked due to a missingCarmelo Amoroso2007-12-051-0/+1
| | | | | | | | | initialization of the mutex field within DIR struct. When linked dynamically instead, __pthread_mutex_init will initialize the mutex itself. Without this fix, any call to readdir will stuck forever trying to acquire the mutex. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix typo in ifdef directiveCarmelo Amoroso2007-12-051-1/+1
|
* Fix __uClibc_main.c to not create aliases to hidden variablesCarmelo Amoroso2007-11-221-8/+8
| | | | | | | | | | | (like __progname). This patch has been already into the trunk and it solves a segfault with openssh for example. Further needed to fix the prototype of 'program_invocation_name; into include/errno.h to avoid mismatch with definition within libc/misc/internals/__uCLibc_main.c Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Last to missing files. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>Carmelo Amoroso2007-11-222-2/+3
|
* Push back changes to add cancellation handling.Carmelo Amoroso2007-11-2210-71/+236
| | | | | | | | It still needs to reach an agreement on the final solution, anyway this code have been put int to be shared for the mips-sh4 merge Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Added some missing files:Carmelo Amoroso2007-11-213-0/+83
| | | | | | | | creat.c: to provide creat function longjmp.c: to provide longjmp implementation for sh4 tsd.c: to provide implementation of __libc_dl_error_tsd Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with SH4 port (and trunk)Carmelo Amoroso2007-11-211-1/+1
|
* Added optmized memcpy implementation for SH4Carmelo Amoroso2007-11-215-217/+1048
| | | | | | | | | | | | | (backward memcpy algorithm) Modified libc/string/generic/Makefile.in to handle subtarget implementations. Fixed generic memmove code to handle backward memcpy by using a selectable config option __ARCH_HAS_BWD_MEMCPY__ This option is on for SH4 arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix Makefile.in and synch them with trunk. Signed-off-by: Carmelo Amoroso ↵Carmelo Amoroso2007-11-2065-174/+191
| | | | <carmelo.amoroso@st.com>
* Push latest libc SH4 specific implementationsCarmelo Amoroso2007-11-2012-401/+400
|
* Fix TLS modifier."Steven J. Hill"2007-07-281-1/+1
|