summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* msgrcv is of type ssize_tAustin Foxley2009-11-222-5/+9
| | | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Conflicts: libc/misc/sysvipc/msgq.c Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sync some headers and disable unused prototypesPeter S. Mazinger2009-11-2221-75/+268
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* use __BYTE_ORDER and __*ENDIANPeter S. Mazinger2009-11-224-16/+16
| | | | | | | | Those without the __ prefix are BSD specific. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* SUSv4: disable isascii, toascii, _toupper, _tolowerBernhard Reutner-Fischer2009-11-223-12/+25
| | | | | | | | [__]isascii need to be defined all the time for the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* move __linux__ to libc-internal.hPeter S. Mazinger2009-11-222-8/+8
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* assert: make linenumber unsignedPeter S. Mazinger2009-11-222-8/+7
| | | | | | | | Move attribute_noreturn to header. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* nameser.h: sync with glibcPeter S. Mazinger2009-11-221-1/+1
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* inet.h: mark inet_ntoa_r as uClibc specificPeter S. Mazinger2009-11-221-1/+5
| | | | | | | | Ddisable some prototypes of unimplemented funcs. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* move extend_alloca macro to alloca.hPeter S. Mazinger2009-11-222-31/+32
| | | | | | | | guard it by _LIBC. __MAX_ALLOCA_CUTOFF is not needed on target either Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* a.out.h: why was this needed?Peter S. Mazinger2009-11-221-5/+1
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* FORCE_SHAREABLE_TEXT_SEGMENTS requires DOPICPeter S. Mazinger2009-11-221-0/+1
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* remove ARCH_CFLAGS, ARCH_LDFLAGS and CROSSAustin Foxley2009-11-2225-105/+13
| | | | | | | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Conflicts: Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* remove some unneeded headers on installPeter S. Mazinger2009-11-221-1/+5
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* no need for bits/syscalls.h on targetPeter S. Mazinger2009-11-222-9/+6
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add missing order-only prereq for unifdefBernhard Reutner-Fischer2009-11-221-2/+2
| | | | | | | | For O= make sure that top_builddir/extra/scripts is created before trying to build unifdef into it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* rm uClibc_arch_features.h on installPeter S. Mazinger2009-11-222-5/+1
| | | | | | | | | uClibc_arch_features.h is included already by libc-symbols.h. If gcc needs it, fix gcc. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* disable libutil related prototypes if asked toBernhard Reutner-Fischer2009-11-221-0/+2
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix misplaced HAS_LIBUTIL knobBernhard Reutner-Fischer2009-11-221-24/+25
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* DO_XSI_MATH: add config knobBernhard Reutner-Fischer2009-11-223-2/+19
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* UCLIBC_HAS_RESOLV_STUB: Rename config symbolBernhard Reutner-Fischer2009-11-222-3/+3
| | | | | | | | s/UCLIBC_HAS_RESOLV_STUB/UCLIBC_HAS_LIBRESOLV_STUB/ for consistency. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libutil: provide knob to disable itBernhard Reutner-Fischer2009-11-222-2/+26
| | | | | | | | These tty utility functions are non-standard. They usually are available on BSD and/or glibc based systems. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libnsl: add knob to disable itBernhard Reutner-Fischer2009-11-222-2/+8
| | | | | | | It's a dummy either way. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fixup working in helptextsBernhard Reutner-Fischer2009-11-221-3/+4
| | | | | | | and spell out suggested defaults for LDSO_RUNPATH Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test: sync up with toplevel buildsysAustin Foxley2009-11-222-73/+45
| | | | | | | | | | | | | test/Rules.mak was duplicating too much from the toplevel Rules.mak (which is included anyway). Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Conflicts: test/Rules.mak Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* .gitignore more testfilesBernhard Reutner-Fischer2009-11-221-1/+10
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* MAXFLOAT: obsolescent in SUSv4Bernhard Reutner-Fischer2009-11-222-0/+4
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* _Exit(): add weak alias to _exit() for C99Bernhard Reutner-Fischer2009-11-221-0/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* correct documentationBernhard Reutner-Fischer2009-11-221-4/+4
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* .gitignore: remove unneeded patternBernhard Reutner-Fischer2009-11-221-1/+0
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libm: use int_WRAPPER_C99 macroBernhard Reutner-Fischer2009-11-221-10/+5
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* ldso: Add missing newlines to some debug messagesBernhard Reutner-Fischer2009-11-228-14/+14
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* realpath: SUSv4 compliantBernhard Reutner-Fischer2009-11-222-17/+9
| | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* silence warning about undefined CPP tokenBernhard Reutner-Fischer2009-11-221-1/+1
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* make tls and nptl test buildBernhard Reutner-Fischer2009-11-194-249/+257
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Look at HAVE_SHAREDBernhard Reutner-Fischer2009-11-191-1/+1
| | | | | | We do not have UCLIBC_STATIC (anymore) but !HAVE_SHARED Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* remove wait callbacks for non-cancelation funcsBernhard Reutner-Fischer2009-11-174-24/+0
| | | | | | | No need to install a cancellation handler, these are no cancellation point. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* include string.h for memset()Bernhard Reutner-Fischer2009-11-171-0/+2
| | | | | | This avoids a warnings about implicit declaration of function 'memset'. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Makefile: fix indentationBernhard Reutner-Fischer2009-11-171-19/+18
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Simplify kconfig wording of thread supportBernhard Reutner-Fischer2009-11-091-46/+47
| | | | | | | Use a choice for thread support selection. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* remove wrong default for choiceBernhard Reutner-Fischer2009-11-091-3/+0
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* support selecting which locales to buildBernhard Reutner-Fischer2009-11-092-16/+54
| | | | | | | | | | | Introduce UCLIBC_BUILD_MINIMAL_LOCALES and if selected build only those locales. Based on a patch by Bernhard Reutner-Fischer. Signed-off-by: Marc Andre Tanner <mat@brain-dump.org> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* remember some TODOs for 0.9.31Bernhard Reutner-Fischer2009-11-091-7/+16
| | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* disable _POSIX_SPAWN defineMike Frysinger2009-11-091-0/+2
| | | | | | | | We don't provide spawn.h let alone any other spawn funcs/types, so don't set up the _POSIX_SPAWN define that some packages (like vlc) check. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build with -fmerge-all-constantsMike Frysinger2009-11-091-0/+2
| | | | | | | | Glibc is already using this flag and it gives us a slight code shrink in a few functions. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* test/plt: add a script to find PLT usageMike Frysinger2009-11-092-0/+39
| | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libc: add hidden calls to pthread cleanup funcsMike Frysinger2009-11-092-0/+4
| | | | | | | | | | A lot of libc code calls the pthread cleanup funcs implicitly (for stdio) which currently goes through the PLT. Since we already have forwarding symbols for these funcs, it's safe to declare the internal libc usage hidden as a loaded libpthread will have the real symbols found. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* regex: call memcpy() ourselvesMike Frysinger2009-11-091-1/+2
| | | | | | | | Call the hidden memcpy() ourselves otherwise gcc will emit a call to the public memcpy() which goes through the PLT. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sysctl: avoid inline initializationMike Frysinger2009-11-091-17/+9
| | | | | | | | | Assign each field one by one rather than stack initialization as gcc will call memset() to zero out the rest of the structure -- which we don't care about as the field is unused and not seen outside of the libc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* inet_ntop4: avoid inline initializationMike Frysinger2009-11-091-1/+3
| | | | | | | | We only need to set the first byte to 0, but gcc likes to zero out the rest of the string with memset() when using this initialization style. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc: use fputs to write to stderrMike Frysinger2009-11-091-1/+1
| | | | | | | | This also has the advantage of fputs() having a hidden alias while puts does not. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>