summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* bump version to 0.9.31-rc1v0.9.31-rc10.9.31-rc1Bernhard Reutner-Fischer2010-03-121-2/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: Fix O= PREFIX= caseBernhard Reutner-Fischer2010-03-121-2/+2
| | | | | | | | | | make sure that something like: $ rm -rf /dev/shm/o/* /dev/shm/o/.conf* /dev/shm/DELME $ time (make defconfig O=/dev/shm/o 2>&1 >& /dev/null && make \ install_dev -j O=/dev/shm/o PREFIX=/dev/shm/DELME 2>&1 >& /dev/null) works Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* buildsys: fix dir order-only prereq of unifdefBernhard Reutner-Fischer2010-03-121-1/+2
| | | | | | |$(@D) -> zilch, so spell it out Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-121-1/+2
| | | | | | forgot to checkin this file Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* config: support make defconfig O=/f/o/oBernhard Reutner-Fischer2010-03-121-0/+2
| | | | | | | previously wanted to create the temporary cfg file in the srcdir (which failed on a RO srcdir) Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add MULTILIB_DIR: Path component for libdirsBernhard Reutner-Fischer2010-03-126-48/+45
| | | | | | defaults to "lib". Other prominent values include "lib32" or "lib64" Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* install: fix O= PREFIX= installBernhard Reutner-Fischer2010-03-121-11/+11
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* reduce number of mkdir callsBernhard Reutner-Fischer2010-03-121-8/+9
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* remove config knobs that belong to the nptl branchBernhard Reutner-Fischer2010-03-121-39/+0
| | | | | | Fixes bug #1243 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* pull kernel-features.h from NPTLBernhard Reutner-Fischer2010-03-051-18/+392
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* poll: unavailable on linux < 2.2.0Bernhard Reutner-Fischer2010-03-042-1/+7
| | | | | | fixes bug #253 Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc_sh: Update memcpy to use the ENTRY macroCarmelo Amoroso2010-02-101-8/+3
| | | | | | Use the ENTRY macro now available through the sysdep.h header Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libc_sh: Add a sysdep header for shCarmelo Amoroso2010-02-101-0/+277
| | | | | | | | | | | | A new sysdep header for sh (ported from NPTL branch) to provide some useful macros in asm code: ENTRY: an entry point visible from C PSEUDO: a wrapper for syscall with proper errno checking SYSCALL_ERROR_HANDLER: errno check (suitable for TLS) This will help in NPTL integration. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libc: Add a common sysdep headerCarmelo Amoroso2010-02-102-0/+140
| | | | | | | | | | Add a common header file to provide macros useful in asm code: C_LABEL to construct the asm name for a C symbol cfi_xxx to generate eh_frame unwind information. Ported from NPTL branch. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* libc: Fix typo in include/rpcCarmelo Amoroso2010-02-083-6/+6
| | | | | | | s/GNU_SOUCE/GNU_SOURCE/ in include/rcp/ Signed-off-by: Jason Woodward <jason.woodward@timesys.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* getdents: Fix mips64 buildAtsushi Nemoto2010-02-051-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | On Wed, 27 Jan 2010 07:14:08 +0100, Carmelo AMOROSO <carmelo.amoroso@st.com> wrote: > I would re-write your patch in a simpler way. > > We already have the following > > 136 #if defined __UCLIBC_HAS_LFS__ && ! defined __NR_getdents64 > 137 attribute_hidden strong_alias(__getdents,__getdents64) > 138 #endif > > I think that it's simpler to move in the proper place this statement. Thanks, indeed. If we came into "#elif WORDSIZE == 32" block, above condition never be true. So we can just move this statement out of "#if...#elif...#elif...#endif" block. Here is a revised patch. ------------------------------------------------------ From: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Subject: [PATCH] getdents: Fix mips64 build Some archs (such as mips64) do not have getdents64 syscall but have getdents syscall. Define alias for it. This fixes regression from 0.9.30.1. Backgrounds: This is once done by commit e8b1c674. But after the commit 33bcf733 ("Use getdents syscall if kernel provide supports for this instead of relying upon getdents64."), if __ASSUME_GETDENTS32_D_TYPE was defined the alias for getdents64 is not defined. The macro __ASSUME_GETDENTS32_D_TYPE had been effectively ignored until 0.9.30.1 but the commit 0f0f20ab ("Move kernel-features.h header from the linuxthread directory to a common one...") really enables it. Signed-off-by: Atsushi Nemoto <anemo@mba.ocn.ne.jp> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* prctl: silence shadow warningsBernhard Reutner-Fischer2010-02-051-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ldso: add missing prototypesBernhard Reutner-Fischer2010-02-051-0/+5
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Revert "ftw.h installation: fix inverted logic"Bernhard Reutner-Fischer2010-02-051-1/+1
| | | | | | | | | The logic was fine previously. Thanks to Peter Kjellerstedt for pointing out my confusion. This reverts commit d75f980f379dfbbe70ae8fb0956693a95af2fca2. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libm: explain why some funcs are not implemented (yet)Bernhard Reutner-Fischer2010-02-041-1/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libm: enable log2f and exp2fAurelien Jacobs2010-02-043-5/+7
| | | | | Signed-off-by: Aurelien Jacobs <aurel@gnuage.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Unbreak build for sparc on some config'sAustin Foxley2010-02-031-5/+4
| | | | | | Thanks to rob@landley.net Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* __uClibc_main: use __pagesize to protect against recursionBernhard Reutner-Fischer2010-02-031-4/+2
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add gethostid() testcaseBernhard Reutner-Fischer2010-02-031-0/+6
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc: Fix l64a to return the correct buffer pointerFilippo Arcidiacono2010-02-031-1/+1
| | | | | | | | | l64a was returning the pointer to the end of the internal buffer instead of the start. This caused an infinite loop in passwd application. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* powerpc/bits/sysdep.h: move confusingly placed #undefDenys Vlasenko2010-02-031-5/+5
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* /etc/resolv.conf: support "timeout:n" and "attempts:n" optionsDenys Vlasenko2010-02-032-21/+47
| | | | | | | | | | | | | | text data bss dec hex filename - 1745 2 4 1751 6d7 libc/inet/dnslookup.o + 1760 2 4 1766 6e6 libc/inet/dnslookup.o - 962 0 4 966 3c6 libc/inet/opennameservers.o + 1099 0 4 1103 44f libc/inet/opennameservers.o - 462 4 472 938 3aa libc/inet/res_init.o + 454 4 468 926 39e libc/inet/res_init.o - 870 0 0 870 366 libc/inet/res_query.o + 867 0 0 867 363 libc/inet/res_query.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* remove two checks for gettimeofday errorDenys Vlasenko2010-02-022-6/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* time,times: stop interpreting negative return values ar errorsDenys Vlasenko2010-02-023-8/+24
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* lxdialog: remove objectfiles on cleanBernhard Reutner-Fischer2010-02-021-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* errno: hide __libc_resp, __libc_errno, and __libc_h_errnoKhem Raj2010-02-012-4/+3
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* document UCLIBC_EXTRA_CFLAGSBernhard Reutner-Fischer2010-01-261-0/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* convert to foo-y kbuild styleBernhard Reutner-Fischer2010-01-262-67/+35
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* mips/ldso: Check for TLS relocation in elf_machine_type_class.Khem Raj2010-01-252-16/+35
| | | | | | | * Store the symbol adress received from _dl_find_hash and do not recompute it. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Makefile.in: Make install_dev depend on install_runtime.Henning Heinold2010-01-231-1/+1
| | | | | | | * Helps in parallel build. Signed-off-by: Henning Heinold <heinold@inf.fu-berlin.de> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* wchar.c: fix indentationDenys Vlasenko2010-01-241-10/+10
| | | | Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
* gethostid: switch to getaddrinfo and shrinkBernhard Reutner-Fischer2010-01-241-41/+26
| | | | | | | | text data bss dec hex filename 382 0 0 382 17e libc/inet/hostid.os.old 326 0 0 326 146 libc/inet/hostid.os Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* getprotoent_r: use correct define for return valueBernhard Reutner-Fischer2010-01-231-1/+1
| | | | | | Doesn't correctly set result=NULL on error or EOF. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix typo in previous commitBernhard Reutner-Fischer2010-01-231-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* silence some warnings about unused paramsBernhard Reutner-Fischer2010-01-234-6/+8
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ftw.h installation: fix inverted logicBernhard Reutner-Fischer2010-01-231-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc/inet: mark other odd /etc/conf/ spotBernhard Reutner-Fischer2010-01-231-0/+2
| | | | | | and wrap it in FALLBACK_TO_CONFIG_RESOLVCONF too. -24b Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc/inet: set path to resolver file via CPPBernhard Reutner-Fischer2010-01-2334-33/+34
| | | | | | No objcode changes. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* libc/inet: convert to foo-y kbuild styleBernhard Reutner-Fischer2010-01-231-33/+19
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* silence warning about implicit decl of sysctlBernhard Reutner-Fischer2010-01-221-1/+3
| | | | | | ... and reinstate comment explaining the gory details Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* avr32: add varargs handling of prctl syscallHans-Christian Egtvedt2010-01-212-1/+37
| | | | | | | | prctl is defined to use varargs in the header file, hence it needs varargs specific handling in the source. This patch properly handles the variodic argument before the syscall is passed to the kernel for the AVR32 architecture. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* wordexp: silence shadow warningBernhard Reutner-Fischer2010-01-211-18/+18
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* fix typo in version mismatch msgBernhard Reutner-Fischer2010-01-211-1/+1
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* ldso: tweak shadow warning with preload file supportBernhard Reutner-Fischer2010-01-211-5/+4
| | | | | | The stat buffer is already declared at the top of the function. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* rename exp(onent) to _expBernhard Reutner-Fischer2010-01-211-2/+2
| | | | | | to avoid shadow warnings Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>