summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | Assorted fixed to get nptl compiling on ARMKhem Raj2010-02-1724-80/+258
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | a few more build fixes nptl syncAustin Foxley2010-02-167-26/+19
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | mass sync with glibc nptlAustin Foxley2010-02-16299-5443/+18806
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc/sigaction: revert change. These semantics are needed for nptlAustin Foxley2010-02-131-4/+5
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | sparc/sysdep: Unify sparc sysdep.hAustin Foxley2010-02-131-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | arm/sysdep: Unify arm sysdep.hKhem Raj2010-02-112-341/+278
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | mips/sysdep.h: Unify mips sysdep.hKhem Raj2010-02-113-428/+350
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | libc: build tsd only when tls is enabledAustin Foxley2010-02-111-1/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | ldso: fix USE_TLS checkAustin Foxley2010-02-111-1/+1
| | | | | | | | | | | | this was causing tls symbols to leak into non-tls builds Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: sysdep headers update for i386, mips and x86_64Carmelo Amoroso2010-02-093-3/+3
| | | | | | | | | | | | | | | | Update the arch specific sysdep headers to include the common header under libc/sysdeps/linux/common instead of libpthread/nptl/sysdeps/generic. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | nptl_test: sysdep headers re-factoringCarmelo Amoroso2010-02-094-2/+11
| | | | | | | | | | | | Update nptl and tls Makefiles according to new sysdep headers structure Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | nptl: sysdep headers re-factoringCarmelo Amoroso2010-02-098-193/+70
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This patch will re-factor and simplify sysdep headers handling for nptl branch. The reason is to use some useful macros in asm code (i.e. ENTRY()) that are available only into nptl branch because are defined in sysdep.h header under the nptl folder even if they are not related to NPTL at all (this was likely due to a bad choice done at the early stage of NPTL porting). This is a required steps for integrating into master branch some asm code available in nptl branch for sh4. The main changes are described below: nptl/sysdeps/generic/sysdep.h (moved) ---> libc/sysdeps/linux/common/sysdep.h nptl/sysdeps/arm/sysdep.h (moved) ---> libc/sysdeps/linux/arm/sysdep.h nptl/sysdeps/sh/sysdep.h ---------------------| nptl/sysdeps/unix/sh/sysdep.h ----------------| nptl/sysdeps/unix/sysv/linux/sh/sysdep.h -----| nptl/sysdeps/unix/sysv/linux/sh/sh4/sysdep.h -| |(merged) ---> libc/sysdeps/linux/sh nptl/sysdeps/unix/sysdep.h (deleted) Similarly the mips and arm sysdep.h should be merged and updated as for sh arch. 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>
* | Merge commit 'origin/master' into nptlAustin Foxley2010-02-0518-58/+115
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.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>
* | TLS_TCB_AT_TP: avoid warning about undef cpp tokenBernhard Reutner-Fischer2010-02-051-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | pthread_{attr_,}{s,g}etaffinity: cleanup symbol namesBernhard Reutner-Fischer2010-02-054-13/+10
| | | | | | | | | | | | and hide __determine_cpumask_size. Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | kernel-features: add __ASSUME_POSIX_CPU_TIMERSBernhard Reutner-Fischer2010-02-051-0/+5
| | | | | | | | 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>
* | nptl: Fix nptl specific case which still was not using CSRC-y.Khem Raj2010-02-011-1/+1
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Fix accidently dropped hunk during last merge from master.Khem Raj2010-02-011-21/+8
| | | | | | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Merge commit 'origin/master' into nptlKhem Raj2010-02-015-49/+31
|\| | | | | | | | | | | | | Conflicts: libc/stdlib/Makefile.in Signed-off-by: Khem Raj <raj.khem@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>
* | Add -DNOT_IN_libc=1 -DIS_IN_libpthread=1 to some sources in nptl/libpthread ↵Khem Raj2010-02-011-0/+1
| | | | | | | | | | | | | | | | | | build. * This will prevent use of internal __libc* symbols in libpthread which should be hidden for libc only use. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | Makefile.arch: On ARM and MIPS pass -DNOT_IN_libc=1 -DIS_IN_libpthread=1Khem Raj2010-01-252-0/+2
| | | | | | | | | | | | | | * This will prevent it using internal __libc* symbols in pthread which should be hidden for libc only use. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* | mips/dl-tls.h: Adjust TLS_TPREL_VALUE and TLS_DTPREL_VALUEKhem Raj2010-01-251-4/+4
| | | | | | | | | | | | | | * Symbol values are passed in directly into these macros instead of the symbol structure. Signed-off-by: Khem Raj <raj.khem@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>
* | Merge branch 'master' into nptlCarmelo Amoroso2010-01-2544-127/+105
|\| | | | | | | | | | | | | | | | | | | Conflicts: libc/inet/Makefile.in libc/inet/hostid.c Synchronise nptl branch with master branch @ c4b750195714ec7c10aa4de15610c5aae0751c1c Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.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>