summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* | 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>
| * 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>
| * ether_line: fix build for socket && !ipBernhard Reutner-Fischer2010-01-212-6/+5
| | | | | | | | | | | | The internal __ether_line helper needs ether_ntoa_r() Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * test commitBernhard Reutner-Fischer2010-01-201-1/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * futimens: add missing local prototypeBernhard Reutner-Fischer2010-01-161-0/+1
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * rename exp(onent) to exBernhard Reutner-Fischer2010-01-161-8/+8
| | | | | | | | | | | | to avoid shadow warnings Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * randconfig.sh: set number of make jobsBernhard Reutner-Fischer2010-01-161-3/+13
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * include unistd.h for smallintYoshinori Sato2010-01-161-0/+1
| | | | | | | | | | Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * mips/nptl: Pass correct parameters to dl_find_hash when resolving TLS ↵Khem Raj2010-01-142-39/+27
| | | | | | | | | | | | | | | | | | relocations. Make use of macros from sys/asm.h in crt1.S These two changes are needed for mips nptl to boot once again. Signed-off-by: Khem Raj <raj.khem@gmail.com>
| * ctime: do not use static struct tm bufferDenys Vlasenko2010-01-091-3/+17
| | | | | | | | | | | | | | | | text data bss dec hex filename - 19 0 0 19 13 libc/misc/time/ctime.o + 25 0 0 25 19 libc/misc/time/ctime.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
| * test/math: put scalbf test under susv3 legacy defineAustin Foxley2009-12-272-1/+5
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: timer_routines.c (timer_helper_thread):Austin Foxley2010-01-232-8/+6
| | | | | | | | | | | | | | | | | | Use sigfillset. Document that sigfillset does the right thing wrt to SIGSETXID. Sync with glibc Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | test: fix static build of nptl and tls testsAustin Foxley2010-01-232-14/+25
| | | | | | | | | | | | | | also add needed -lpthread lines to timer_* tests, since the implementation uses pthread functions Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: need to build generic timer_* functions for x86_64 and sparcAustin Foxley2010-01-231-2/+1
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | nptl: fix a few more old style prototypesAustin Foxley2010-01-232-6/+6
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | wordexp: silence shadow warningBernhard Reutner-Fischer2010-01-211-18/+18
| | | | | | | | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 831ea78623556cbfae002477afc6256cacaaf2c6) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | fix typo in version mismatch msgBernhard Reutner-Fischer2010-01-211-1/+1
| | | | | | | | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 0d30e6a7666c3cab001e7343a71bfa2d3e5abbd4) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.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> (cherry picked from commit 6140a2a7175a796a7c06119f036357db87a1b865) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.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> (cherry picked from commit 2b12ef1e789227cf9425ae8645e62ba7c3a7d3a9) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | ether_line: fix build for socket && !ipBernhard Reutner-Fischer2010-01-212-6/+5
| | | | | | | | | | | | | | | | | | The internal __ether_line helper needs ether_ntoa_r() Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 81264e8097b705f3b2a7e29be0a1a2ea853230cb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test commitBernhard Reutner-Fischer2010-01-211-1/+1
| | | | | | | | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit 1571ed1315ff95278fed019b838f183ee37cc198) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | futimens: add missing local prototypeBernhard Reutner-Fischer2010-01-211-0/+1
| | | | | | | | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit d0a8b14169c6f01dadd07f6b4e14cc335a62f234) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | rename exp(onent) to exBernhard Reutner-Fischer2010-01-211-8/+8
| | | | | | | | | | | | | | | | | | to avoid shadow warnings Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit f331f6d2eff5fb623bcc42213ccec12c7dbf95fd) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | randconfig.sh: set number of make jobsBernhard Reutner-Fischer2010-01-211-3/+13
| | | | | | | | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit c13dd47ecbbdb841042e1370c8011e84634db0e4) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | include unistd.h for smallintYoshinori Sato2010-01-211-0/+1
| | | | | | | | | | | | | | | | Signed-off-by: Yoshinori Sato <ysato@users.sourceforge.jp> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> (cherry picked from commit df9130a0dc1c9e3553fcfee68bb8a809e4f4a458) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | mips/nptl: Pass correct parameters to dl_find_hash when resolving TLS ↵Khem Raj2010-01-212-39/+27
| | | | | | | | | | | | | | | | | | | | | | | | relocations. Make use of macros from sys/asm.h in crt1.S These two changes are needed for mips nptl to boot once again. Signed-off-by: Khem Raj <raj.khem@gmail.com> (cherry picked from commit 9c343fd4030dcd7a52616f365893177dded50346) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | ctime: do not use static struct tm bufferDenys Vlasenko2010-01-211-3/+17
| | | | | | | | | | | | | | | | | | | | | | text data bss dec hex filename - 19 0 0 19 13 libc/misc/time/ctime.o + 25 0 0 25 19 libc/misc/time/ctime.o Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com> (cherry picked from commit 957e238614326198452b53498ae98e546fce7366) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | test/math: put scalbf test under susv3 legacy defineAustin Foxley2010-01-212-1/+5
| | | | | | | | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> (cherry picked from commit e949d522a31db675889bc87b6023e7edb6b30caa) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.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>
* | Merge remote branch 'origin/master' into nptlAustin Foxley2009-12-231-1/+1
|\| | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * Make _dl_dprintf buf non-static to avoid multithreading bugs.Chris Metcalf2009-12-231-1/+1
| | | | | | | | | | Signed-off-by: Chris Metcalf <cmetcalf@tilera.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Merge commit 'origin/master' into nptlAustin Foxley2009-12-198-10/+16
|\| | | | | | | | | | | | | | | Conflicts: libc/signal/sigpause.c libc/string/x86_64/memset.S Signed-off-by: Austin Foxley <austinf@cetoncorp.com>