summaryrefslogtreecommitdiffstats
path: root/include
Commit message (Collapse)AuthorAgeFilesLines
* tmpnam, tempnam are obsolete in SUSV4Bernhard Reutner-Fischer2012-01-291-3/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* handle signal-OBXSI.SUSv4.symsBernhard Reutner-Fischer2012-01-291-2/+2
| | | | | | A couple of sig functions are obsolete in SUSv4. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* stdlib: use shorhand wur for realloc prototypeBernhard Reutner-Fischer2012-01-181-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sys/queue.h: update to eglibc versionNatanael Copa2011-12-221-443/+399
| | | | | | | | | | | Xen needs SIMPLEQ_* queue types which was not provided from the old uclibc queue.h. Use same implementation as eglibc. Grabbed from: http://www.eglibc.org/svn/trunk/libc/misc/sys/queue.h Signed-off-by: Natanael Copa <ncopa@alpinelinux.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* getutid: add a hidden defMike Frysinger2011-12-031-0/+1
| | | | | | | | | | | | | | The pututline func calls getutid, so add a hidden def for it to avoid plt relocs: $ readelf -r lib/libc.so.0 ... Relocation section '.rela.plt' at offset 0xb058 contains 11 entries: Offset Info Type Sym. Value Sym. Name + Addend 000000236000 01cf00000007 R_X86_64_JUMP_SLO 00000000000190ab getutid + 0 ... Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* make ARRAY_SIZE commonly available internallyMike Frysinger2011-11-271-0/+2
| | | | | | | Some places have opencoded the ARRAY_SIZE macro, so move it to a global internal location so other places can leverage it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* include/: ignore new sys/eventfd.h symlinkMike Frysinger2011-11-261-0/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* inet: hide relocationsBernhard Reutner-Fischer2011-11-171-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* unistd: hide relocationsBernhard Reutner-Fischer2011-11-171-0/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* resolv: hide relocationsBernhard Reutner-Fischer2011-11-172-0/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc: flesh out linux scheduler functionsHenning Heinold2011-11-071-12/+40
| | | | | | | Most stuff was taken from the eglibc. Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* stdlib: add qsort_rBernhard Reutner-Fischer2011-11-071-1/+9
| | | | | | GNU extension like qsort but takes a 3 parameter comparision function. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* microblaze mmu/elf/shared lib supportRyan Flux2011-10-061-0/+33
| | | | | | | | | microblaze can either be with mmu or without If with, use elf rather than flat, and support shared libs Signed-off-by: Ryan Flux <ryan.flux@emsolutions.com.au> Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* resolv: simple optimizations and style/readability fixesDenys Vlasenko2011-09-101-4/+0
| | | | | | | | | | text data bss dec hex filename - 2915 0 0 2915 b63 libc/inet/ns_name_old.o + 2656 0 0 2656 a60 libc/inet/ns_name.o - 958 0 0 958 3be libc/inet/ns_parse_old.o + 898 0 0 898 382 libc/inet/ns_parse.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* include/resolv.h: provide __res_state._u even if !__UCLIBC_HAS_IPV6__Daniel Mack2011-08-261-2/+2
| | | | | | | This struct is used for IPv4 as well, so only make the members conditional that are purely used by IPv6. Signed-off-by: Daniel Mack <zonque@gmail.com>
* inet/resolv: add res_ninit and res_ncloseDaniel Mack2011-08-261-4/+4
| | | | | | | Some reordering of existing functions was necessary in order to provide this functionality. Signed-off-by: Daniel Mack <zonque@gmail.com>
* inet/resolv: add res_mkqueryDaniel Mack2011-08-261-2/+2
| | | | Signed-off-by: Daniel Mack <zonque@gmail.com>
* inet/resolv: add ns_initparse, ns_parserr, ns_skiprr and ns_msg_getflagDaniel Mack2011-08-261-5/+2
| | | | | | There are build 'ifdef L_ns_parse'. Signed-off-by: Daniel Mack <zonque@gmail.com>
* inet/resolv: add dn_skipname and ns_name_skipDaniel Mack2011-08-261-2/+2
| | | | | | One uses the other, so add them in one go. Signed-off-by: Daniel Mack <zonque@gmail.com>
* inet/resolv: Add dn_compDaniel Mack2011-08-261-2/+2
| | | | Signed-off-by: Daniel Mack <zonque@gmail.com>
* inet/resolv: add ns_name_pton, ns_name_pack and ns_name_compressDaniel Mack2011-08-261-0/+1
| | | | | | These are built '#ifdef L_ns_name' Signed-off-by: Daniel Mack <zonque@gmail.com>
* mips/signalfd.h: SFD_NONBLOCK for mips is 0200 unlike 04000 commonlyKhem Raj2011-07-011-0/+9
| | | | | | Exposed by udev 171 which uses signalfd Signed-off-by: Khem Raj <raj.khem@gmail.com>
* unwind.h: Move to libc/sysdeps from nptl sysdepsKhem Raj2011-05-131-220/+0
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* linux_specific: handle accept4 and pipe2Bernhard Reutner-Fischer2011-05-122-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libubacktrace: mv unwind.h to includeBernhard Reutner-Fischer2011-05-111-0/+220
| | | | | | | Fixes compilation if NPTL is off. I hope this doesn't break ARM EABI but cannot check ATM. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add pipe2()Bernhard Reutner-Fischer2011-05-111-0/+7
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* accept4: Implement cancellationBernhard Reutner-Fischer2011-05-111-0/+9
| | | | | | | .. and add proper prototype, move it into it's own obj and other such cleanups. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Added fts support for traversing UNIX file hierarchies.Salvatore Cro2011-04-201-0/+131
| | | | | | | It is required by libdwfl in elfutils package. Signed-off-by: Salvatore Cro <salvatore.cro at st.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* wctype.h: fix libc_hidden_proto for iswupper and add it for iswspacePeter S. Mazinger2011-03-101-1/+2
| | | | | | Old typo, became visible due to other changes. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* add libc_hidden_proto for wcs[n]casecmp_lPeter S. Mazinger2011-03-101-0/+2
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* time.c, time.h: remove unused hidden strftime/strptimePeter S. Mazinger2011-03-101-2/+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-101-6/+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-101-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* time.c, wchar.h: remove unused hidden wcsftimePeter S. Mazinger2011-03-101-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* remove unused hidden functionsPeter S. Mazinger2011-03-093-5/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* memmem.c, string.h: remove unused hidden memmemPeter S. Mazinger2011-03-091-1/+0
| | | | | | It is used only by gen_collate, not included into libc. 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-091-0/+5
| | | | 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-093-7/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* stdlib.c, _strtod.c, stdlib.h: remove unused hidden functionsPeter S. Mazinger2011-03-091-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* arc4random.c, stdlib.h: get rid of hidden arc4random_stirPeter S. Mazinger2011-03-091-1/+0
| | | | | | 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>
* 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-091-0/+7
| | | | | | Move them to a common header guarded by _LIBC 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>
* guard *_chk() related stuff with UCLIBC_HAS_FORTIFYPeter S. Mazinger2011-03-092-1/+9
| | | | | | | | | | | | 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>
* resolv.h: disable unneeded prototypesPeter S. Mazinger2011-03-081-0/+20
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* locale.c, locale.h: no need for hidden duplocalePeter S. Mazinger2011-03-071-1/+0
| | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* simplify ffs* codePeter S. Mazinger2011-03-061-7/+1
| | | | | | Remove __libc_ffs*, unneeded Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
* Implement ffsl and ffsll.Bernd Schmidt2011-03-051-2/+8
| | | | | | | | | This imports and adapts ffsll.c from glibc. The same mechanism as in glibc is used to choose between ffs and ffsll to implement ffsl. The single user in libc is changed to use the hidden version __libc_ffs. Signed-off-by: Bernd Schmidt <bernds@codesourcery.com> Acked-by: Bernhard Reutner-Fischer <aldot@uclibc.org>
* The C6X portAurelien Jacquiot2011-03-051-0/+45
| | | | | | | | This adds support for the TI C6X family of processors. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>
* Add support for DSBT ELF to ld.soMark Salter2011-03-051-1/+12
| | | | | | | | | | This adds support for DSBT ELF to ld.so. This uses loadmaps like FD-PIC. Some code is added in ld.so to initialize the DSBT tables, and there's also a new target macro FINISH_BOOTSTRAP_RELOC. Signed-off-by: Mark Salter <msalter@redhat.com> Signed-off-by: Aurelien Jacquiot <a-jacquiot@ti.com> Signed-off-by: Bernd Schmidt <bernds@codesourcery.com>