summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* nanosleep.c: remove duplicated libc_hidden_protoPeter S. Mazinger2011-03-101-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* ctype.c, ctype.h: remove commented parts that were banned for removal after ↵Peter S. Mazinger2011-03-102-10/+0
| | | | | | 0.9.31 Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* _wctype.c, wctype.h: remove unused isw* and wctype_l hidden functionsPeter S. Mazinger2011-03-102-8/+16
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* time.c, wchar.h: remove unused hidden wcsftimePeter S. Mazinger2011-03-102-4/+3
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* str[n]casecmp.c: fix hidden usagePeter S. Mazinger2011-03-102-2/+2
| | | | | | Provide visible str[n]casecmp[_l], wcs[n]casecmp[_l]. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* remove unused hidden functionsPeter S. Mazinger2011-03-099-17/+7
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* frv/memset.S: add missing libc_hidden_defPeter S. Mazinger2011-03-091-0/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* memmem.c, string.h: remove unused hidden memmemPeter S. Mazinger2011-03-093-3/+0
| | | | | | It is used only by gen_collate, not included into libc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* _collate.c: remove duplicated libc_hidden_proto() for strcoll*/wcscoll*Peter S. Mazinger2011-03-091-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* wchar.h, _collate.c, strlcpy.c: use a common prototype of __wcslcpyPeter S. Mazinger2011-03-093-18/+10
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* ctype.c, _collate.c, str[n]casecmp.c, strlcpy.c: remove unused hidden functionsPeter S. Mazinger2011-03-098-13/+12
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* stdlib.c, _strtod.c, stdlib.h: remove unused hidden functionsPeter S. Mazinger2011-03-093-24/+6
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Select ARCH_HAS_NO_MMU for C6X.Bernd Schmidt2011-03-091-0/+1
| | | | Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* Add a missing macro to C6X syscalls.h.Bernd Schmidt2011-03-091-0/+1
| | | | | | We need _syscall_noerr0 to fix compilation of getuid.c. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* cleanup hardcoded syscall numbersMark Salter2011-03-091-1/+2
| | | | | Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* support c6x kernel using generic stat.hMark Salter2011-03-092-205/+28
| | | | | | Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* support generic kernel posix_types.hMark Salter2011-03-091-15/+15
| | | | | Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* use clone syscall for vforkMark Salter2011-03-091-41/+52
| | | | | Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* remove unused vfork.cMark Salter2011-03-091-26/+0
| | | | | Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* sunrpc: fix spurious fall-throughMark Salter2011-03-093-0/+3
| | | | | | | Fix spurious fall-through. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* Add C6X-specific sys/ptrace.hBernd Schmidt2011-03-091-0/+176
| | | | | | | The debugger needs some C6X-specific ptrace operations to get information about the DSBT binaries; similar to what's done on FD-PIC targets. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* arc4random.c, stdlib.h: get rid of hidden arc4random_stirPeter S. Mazinger2011-03-092-6/+5
| | | | | | The function is used only in one file, make an internal static version for this Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* regcomp.c, aeabi_mb_cur_max.c: use unconditionally MB_CUR_MAX from stdlib.hPeter S. Mazinger2011-03-092-8/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* fnmatch.c: use MB_CUR_MAX from stdlib.h included earlierPeter S. Mazinger2011-03-091-5/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* stdlib.h: move MB_CUR_MAX = 1 from wchar-stub.hPeter S. Mazinger2011-03-092-2/+3
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* move prototype for __drand48_iterate and __libc_drand48_data to stdlib.hPeter S. Mazinger2011-03-0913-45/+7
| | | | | | Move them to a common header guarded by _LIBC Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* stdlib.c: remove duplicate libc_hidden_proto for strtoul/strtoul_lPeter S. Mazinger2011-03-091-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* _strtod.c: only strtod hidden version is neededPeter S. Mazinger2011-03-091-2/+3
| | | | | | Do not provide hidden strtod_l, wcstod and wcstod_l Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* disable _POSIX2_LOCALEDEFPeter S. Mazinger2011-03-091-0/+2
| | | | | | uClibc does not provide the localedef utility Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* remove trailing ';' from _syscallX()Peter S. Mazinger2011-03-098-13/+13
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/statvfs.h: update, adding ST_RELATIMEPeter S. Mazinger2011-03-091-2/+4
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* add bits/atomic.h for hppaPeter S. Mazinger2011-03-091-0/+103
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/statvfs.h: the common one is good for alpha and sparcPeter S. Mazinger2011-03-092-202/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/kernel_stat.h: no need for _LIBC guard, the file is not installed on targetPeter S. Mazinger2011-03-0923-92/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* bits/kernel_stat.h: use the same guard on all archsPeter S. Mazinger2011-03-094-9/+9
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* types.h: remove __ipc_pid_tPeter S. Mazinger2011-03-091-5/+0
| | | | | | | Remove __ipc_pid_t, not needed internally, we do not support pre glibc-2.2 version of shmid_ds structure. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* guard *_chk() related stuff with UCLIBC_HAS_FORTIFYPeter S. Mazinger2011-03-096-10/+18
| | | | | | | | | | | | Guard x86_64 memset_chk/memcpy_chk be guarded by UCLIBC_HAS_FORTIFY. Compile ssp.c if one of SSP/FORTIFY is defined. Guard __chk_fail() with UCLIBC_HAS_FORTIFY and move its prototype to libc-internal.h. Disable _FORTIFY_SOURCE if UCLIBC_HAS_FORTIFY is not set. The config option itself is omitted on purpose, headers need to be reviewed and generic *_chk() functions need to be first provided. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* nios2: Correct guard #defines in bits/kernel_types.hTobias Klauser2011-03-081-3/+3
| | | | | | | | | The guards in posix_types.h are called _ASM_NIOS2_POSIX_TYPES_H, so correctly use them here. Otherwise we wont be able to build uClibc with headers exported from the current nios2 kernel. Signed-off-by: Tobias Klauser <tklauser@distanz.ch> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* nptl: fix compilation on x86_64William Pitcock2011-03-086-14/+6
| | | | | | | | This commit gives us a fully functioning NPTL on x86-64 by using the GOTOFF macro as needed. Signed-off-by: William Pitcock <nenolod@dereferenced.org> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* shm.h: fix vax's bits/shm.hPeter S. Mazinger2011-03-081-3/+9
| | | | | | | | Do not use __ipc_pid_t, since that is not visible after install. Provide and use shmatt_t. Add missing __END_DECLS. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Makefile.in: remove uClibc_fpmax.h independently of any config optionPeter S. Mazinger2011-03-081-1/+1
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* resolv.h: disable unneeded prototypesPeter S. Mazinger2011-03-081-0/+20
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Makefile.in: remove uClibc_uwchar.h and uClibc_va_copy.h on installPeter S. Mazinger2011-03-081-0/+2
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Makerules: respect HARDWIRED_ABSPATH in interp.cPeter S. Mazinger2011-03-081-0/+6
| | | | | | | Build LDSO path according to the HARDWIRED_ABSPATH setting While there, remove duplicated slashes in interp.c Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* try to fix duplicated slashes in the generated lib*.so files (round 2)Peter S. Mazinger2011-03-081-0/+2
| | | | | | sed s://:/:g on libc.so/libpthread.so if HARDWIRED_ABSPATH is defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Revert "buildsys: prefer the form HEADERS_RM-$(<config>)"Carmelo Amoroso2011-03-081-1/+3
| | | | | | This reverts commit 07044019e6260991729926645e7d221f38376f9d. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* buildsys: prefer the form HEADERS_RM-$(<config>)Carmelo Amoroso2011-03-071-3/+1
| | | | | | | Fix removal of sgtty.h using HEADERS_RM-$(<config>) syntax. Sort it alphabetically. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* locale.c: export newlocale only if XLOCALE is definedPeter S. Mazinger2011-03-071-0/+2
| | | | | | | newlocale is used by setlocale, so we need the hidden version even if XLOCALE is not defined Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* locale.c, locale.h: no need for hidden duplocalePeter S. Mazinger2011-03-072-2/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* simplify ffs* codePeter S. Mazinger2011-03-064-24/+12
| | | | | | Remove __libc_ffs*, unneeded Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>