summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* _toupper, _tolower depend on SUSv4Bernhard Reutner-Fischer2009-10-081-3/+6
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* link-time warning for obsolescent/removed network funcsBernhard Reutner-Fischer2009-10-081-0/+4
| | | | Signed-off-by: aldot <rep.dot.nop@gmail.com>
* Fix building arm EABIBernhard Reutner-Fischer2009-10-082-1/+2
| | | | | | | | | | | | | | The syscall() impl on aeabi comes from syscall-eabi.S thus we do not need the generic syscall() impl. Fixes: AS libc/sysdeps/linux/arm/syscall-eabi.os CC libc/sysdeps/linux/common/syscall.os libc/libc_so.a(syscall.os): In function `syscall': syscall.c:(.text+0x0): multiple definition of `syscall' libc/libc_so.a(syscall-eabi.os):(.text+0x0): first defined here Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* resolv/crypt: convert to foo-y kbuild styleMike Frysinger2009-10-072-15/+8
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ldso: pull in missing bits/fcntl.h header for O_CLOEXECMike Frysinger2009-10-071-0/+2
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ldso: use O_CLOEXEC for cache fileMike Frysinger2009-10-071-1/+1
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* clean up O_CLOEXEC handlingMike Frysinger2009-10-0722-43/+32
| | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fcntl.h: drop unused/dead O_STREAMINGMike Frysinger2009-10-0710-10/+0
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* ldso: use MAP_FAILED with ld.so.cacheMike Frysinger2009-10-071-5/+5
| | | | | | | Rather than use our own custom casted -1 value, just use the MAP_FAILED that common code already sets up for us for mmap(). Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* fix coding styleBernhard Reutner-Fischer2009-10-061-25/+16
| | | | | | TODO: use likely/unlikely Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* commentary typo fixBernhard Reutner-Fischer2009-10-061-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* trim whitespaceBernhard Reutner-Fischer2009-10-061-10/+10
| | | | | | and wrap superlong line. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* whitespace cleanupBernhard Reutner-Fischer2009-10-061-4/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sparc: add stubs for more of the _Q* opsAustin Foxley2009-10-051-0/+12
| | | | | | Thanks to Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* descriptive error messageBernhard Reutner-Fischer2009-10-051-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* mips: fix typo in elfinterp.cAustin Foxley2009-10-041-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Config.in: enable TLS config option only for nptlAustin Foxley2009-09-261-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* errno.c: add tls versions of errno and h_errnoAustin Foxley2009-09-262-1/+15
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* dl-support.c: add tls supportAustin Foxley2009-09-261-0/+42
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* resolv.c: add support for per thread res_stateAustin Foxley2009-09-263-5/+62
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* ldso/: tls support for dynamic linkerAustin Foxley2009-09-2624-148/+2239
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* include/: add tls errno and res_stateAustin Foxley2009-09-267-25/+79
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mips: do not save variables in "hi" or "lo" across system callsDaniel Jacobowitz2009-09-261-2/+2
| | | | | | | | | The kernel does not save these registers across system calls. GCC 4.4 has gotten more aggressive about using them for temporary variables, so this shows up as intermittent crashes if you use a recent compiler. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sparc specific bits/socket.hAustin Foxley2009-09-251-0/+356
| | | | | | | use socketcall for sparc32 since it does not have the individual socket syscalls Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* doc/: typo fixAustin Foxley2009-09-231-1/+1
| | | | | | noted by Carlo Zinato <c.zinato@viscount.it> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add timerfd syscall and headerStephan Raue2009-09-214-1/+94
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Stephan Raue <mailinglists@openelec.tv>
* sparc sigaction.c: fix the noted bugs by syncing up with glibcAustin Foxley2009-09-211-30/+16
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sigpause: remove libc_hidden_proto/defDenys Vlasenko2009-09-193-4/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* sigwait: remove __sigwait and __GI_sigwait symbols - they are unusedDenys Vlasenko2009-09-193-13/+7
| | | | | | | | sigwait is not called from any uclibc function, so "hidden symbol" trick is not needed on it. __sigwait also is never used, and it's not clear why it even existed. Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* raise: remove unused hidden weak symbol __raiseDenys Vlasenko2009-09-191-6/+2
| | | | | | | It is not used by anybody, otherwise users of dynamically linked uclibc would notice - it is not exported from libuClibc-x.x.x.so Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* libc/misc/wctype/_wctype.c: make it more readable. no code changesDenys Vlasenko2009-09-191-211/+183
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove a few more empty #if/#endif pairsDenys Vlasenko2009-09-1911-36/+8
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* convert // comments to /**/; remove empty #if/#endif pairs. no code changesDenys Vlasenko2009-09-1859-242/+86
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* trim Experimentally off and uncommented hiddenBernhard Reutner-Fischer2009-09-18485-1842/+7
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix make {,install_}{,host}utilsBernhard Reutner-Fischer2009-09-188-232/+375
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* document ARCH=Bernhard Reutner-Fischer2009-09-181-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* always define float_t as floatBernhard Reutner-Fischer2009-09-174-80/+4
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* No need for a libresolv stubBernhard Reutner-Fischer2009-09-172-0/+8
| | | | | | libresolv is just a stub anyway, default to not building it. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* handle make ARCH= configBernhard Reutner-Fischer2009-09-162-10/+42
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sys/mount.h: sync with latest glibcMike Frysinger2009-09-151-1/+5
| | | | | | Newer glibc adds a few more MNT_* flags, so import them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* sh/user.h: clean up conflicts from kernel user.hAndrew Stubbs2009-09-151-0/+11
| | | | | | | | | | | | This patch makes sufficient modifications to the SH sys/user.h to be able to build and run gdbserver with Linux kernel 2.6.30. The problem is that both the kernel and library headers define the same symbols, thus making it impossible in include both headers. The patch undefines the kernel symbols in favour of the library symbols. Signed-off-by: Andrew Stubbs <ams@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* daemon: fix up INTERNAL_SYSCALL() usageMike Frysinger2009-09-151-4/+6
| | | | | | | | | | | Make sure we declare the error properly in case a port uses it, and fix the invocation of exit(). Since clone() will be returning a pid, assume that the value will not have the MSB set (negative) to simplify the error test a bit more. If gcc supports it, force this function to always be heavily optimized in a bid to avoid stack usage as much as possible. Signed-off-by: James Coleman <james.coleman@ubicom.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* setup attribute_optimize which comes with gcc-4.4+Mike Frysinger2009-09-151-0/+6
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Revert "default ?conf to native arch"Bernhard Reutner-Fischer2009-09-1431-316/+217
| | | | | | This reverts commit 6625518cd6894338937a74ca6b9187b7b8167b03. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* sparc/sigaction.c: note possible bugs by comments. style fixesDenys Vlasenko2009-09-091-49/+57
| | | | | | no code is actually changed Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* strsignal.c: whitespace fixes, no code changes (verified with objdump)Denys Vlasenko2009-09-091-21/+17
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* time.c: style cleanup. no code changes (verified with objdump)Denys Vlasenko2009-09-081-89/+37
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* simpler and shorter read_TZ_file() helperDenys Vlasenko2009-09-081-10/+23
| | | | | | | | text data bss dec hex filename - 1109 8 76 1193 4a9 libc/misc/time/tzset.o + 1095 8 76 1179 49b libc/misc/time/tzset.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* docs/defines.txt: add a note about possibly obsolete __LDBL_COMPATDenys Vlasenko2009-09-061-0/+2
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* wordexp.c: cleanup - remove old hidden_proto's; remove unused parameterDenys Vlasenko2009-09-061-42/+3
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>