summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2011-03-16memalign: include sys/param.h for MAXBernhard Reutner-Fischer
libc/stdlib/malloc/memalign.c:22:1: warning: "MAX" redefined In file included from ./libpthread/nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h:25, from ./include/bits/libc-lock.h:36, from ./include/bits/stdio-lock.h:23, from ./include/bits/uClibc_mutex.h:71, from libc/stdlib/malloc/malloc.h:135, from libc/stdlib/malloc/memalign.c:18: ./include/sys/param.h:75:1: warning: this is the location of the previous definition Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
2011-03-14arm/bits/atomic.h: Include common/bit/atomic.h for thumb1Khem Raj
This restores the behavior for thumb1 builds and yet uses the new atomic.h for arm and thumb2 modes. Signed-off-by: Khem Raj <raj.khem@gmail.com>
2011-03-10wctype.h: fix libc_hidden_proto for iswupper and add it for iswspacePeter S. Mazinger
Old typo, became visible due to other changes. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10add libc_hidden_proto for wcs[n]casecmp_lPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10really fix missing __libc_drand48_dataPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10Revert "missing prototype of __libc_drand48_data fixed"Peter S. Mazinger
This reverts commit e2cea9b9edabe885b9bf2586f9541ffb8fe93f3f. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10missing prototype of __libc_drand48_data fixedPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10time.c, time.h: remove unused hidden strftime/strptimePeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10nanosleep.c: remove duplicated libc_hidden_protoPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10ctype.c, ctype.h: remove commented parts that were banned for removal after ↵Peter S. Mazinger
0.9.31 Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10_wctype.c, wctype.h: remove unused isw* and wctype_l hidden functionsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10time.c, wchar.h: remove unused hidden wcsftimePeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-10str[n]casecmp.c: fix hidden usagePeter S. Mazinger
Provide visible str[n]casecmp[_l], wcs[n]casecmp[_l]. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09remove unused hidden functionsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09frv/memset.S: add missing libc_hidden_defPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09memmem.c, string.h: remove unused hidden memmemPeter S. Mazinger
It is used only by gen_collate, not included into libc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09_collate.c: remove duplicated libc_hidden_proto() for strcoll*/wcscoll*Peter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09wchar.h, _collate.c, strlcpy.c: use a common prototype of __wcslcpyPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09ctype.c, _collate.c, str[n]casecmp.c, strlcpy.c: remove unused hidden functionsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09stdlib.c, _strtod.c, stdlib.h: remove unused hidden functionsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09Select ARCH_HAS_NO_MMU for C6X.Bernd Schmidt
Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09Add a missing macro to C6X syscalls.h.Bernd Schmidt
We need _syscall_noerr0 to fix compilation of getuid.c. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09cleanup hardcoded syscall numbersMark Salter
Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09support c6x kernel using generic stat.hMark Salter
Signed-off-by: Ken Cox <jkc@redhat.com> Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09support generic kernel posix_types.hMark Salter
Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09use clone syscall for vforkMark Salter
Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09remove unused vfork.cMark Salter
Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09sunrpc: fix spurious fall-throughMark Salter
Fix spurious fall-through. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
2011-03-09Add C6X-specific sys/ptrace.hBernd Schmidt
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>
2011-03-09arc4random.c, stdlib.h: get rid of hidden arc4random_stirPeter S. Mazinger
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>
2011-03-09regcomp.c, aeabi_mb_cur_max.c: use unconditionally MB_CUR_MAX from stdlib.hPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09fnmatch.c: use MB_CUR_MAX from stdlib.h included earlierPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09stdlib.h: move MB_CUR_MAX = 1 from wchar-stub.hPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09move prototype for __drand48_iterate and __libc_drand48_data to stdlib.hPeter S. Mazinger
Move them to a common header guarded by _LIBC Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09stdlib.c: remove duplicate libc_hidden_proto for strtoul/strtoul_lPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09_strtod.c: only strtod hidden version is neededPeter S. Mazinger
Do not provide hidden strtod_l, wcstod and wcstod_l Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09disable _POSIX2_LOCALEDEFPeter S. Mazinger
uClibc does not provide the localedef utility Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09remove trailing ';' from _syscallX()Peter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09bits/statvfs.h: update, adding ST_RELATIMEPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09add bits/atomic.h for hppaPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09bits/statvfs.h: the common one is good for alpha and sparcPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09bits/kernel_stat.h: no need for _LIBC guard, the file is not installed on targetPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09bits/kernel_stat.h: use the same guard on all archsPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-09types.h: remove __ipc_pid_tPeter S. Mazinger
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>
2011-03-09guard *_chk() related stuff with UCLIBC_HAS_FORTIFYPeter S. Mazinger
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>
2011-03-08nios2: Correct guard #defines in bits/kernel_types.hTobias Klauser
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>
2011-03-08nptl: fix compilation on x86_64William Pitcock
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>
2011-03-08shm.h: fix vax's bits/shm.hPeter S. Mazinger
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>
2011-03-08Makefile.in: remove uClibc_fpmax.h independently of any config optionPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
2011-03-08resolv.h: disable unneeded prototypesPeter S. Mazinger
Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>