summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * 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>
| * malloc: fix race condition and other bugs in the no-mmu mallocFreeman Wang2009-12-192-6/+7
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes multiple race conditions on mmb list. This was done by making the mmb_heap_lock into a recursive lock and making the regular heap_lock extend to cover the mmb heap handling. Also move the new_mmb allocation up to before the mmb list is iterated through to find the insertion point. When the mmb_heap also runs out and needs to be extended when the regular heap is just extended, the mmb list could be messed up. Signed-off-by: Freeman Wang <xwang@ubicom.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * x86_64: fix multiple definition of chk functionsAustin Foxley2009-12-195-3/+8
| | | | | | | | | | | | also enable __chk_fail and only try to call it when SSP is on Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
| * check if USE_TLS is defined before useHans-Christian Egtvedt2009-12-1710-36/+36
| | | | | | | | | | | | | | | | | | | | | | This patch will convert all the #ifdef USE_TLS and #if USE_TLS to #if defined(USE_TLS) && USE_TLS. By checking if the USE_TLS is defined before checking its value will result in correct behavior for architectures not defining this config symbol. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Acked-by: Carmelo AMOROSO <carmelo.amoroso@st.com>
| * libc: Remove pointless header string.hCarmelo Amoroso2009-12-161-1/+0
| | | | | | | | | | | | It is already include from the internal header sigset-cvt-mask.h Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * libc: Add missing header for memsetCarmelo Amoroso2009-12-164-5/+2
| | | | | | | | | | | | | | | | | | Silence compiler warning by adding the missing string.h header to include memset prototype. Do some code tidy-up removing commented out libc_hidden_proto macros in the meanwhile. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * build: Get rids of PIC macro using compiler flag __PIC__ insteadCarmelo Amoroso2009-12-1611-25/+25
| | | | | | | | | | | | | | Based on Peter Mazinger's comments on a recent commit, I decided to get rids of all occurrences of PIC changing them to __PIC__ Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* | check if USE_TLS is defined before useHans-Christian Egtvedt2009-12-1710-36/+36
| | | | | | | | | | | | | | | | | | | | | | This patch will convert all the #ifdef USE_TLS and #if USE_TLS to #if defined(USE_TLS) && USE_TLS. By checking if the USE_TLS is defined before checking its value will result in correct behavior for architectures not defining this config symbol. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com> Acked-by: Carmelo AMOROSO <carmelo.amoroso@st.com>
* | x86_64: fix up the rest of the includes and aliases for nptlAustin Foxley2009-12-1612-11/+24
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | x86_64: add missing includes to sem_*.SAustin Foxley2009-12-162-0/+4
| | | | | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | libc: Add missing header for memsetCarmelo Amoroso2009-12-163-5/+0
| | | | | | | | | | | | | | | | | | Silence compiler warning by adding the missing string.h header to include memset prototype. Do some code tidy-up removing commented out libc_hidden_proto macros in the meanwhile. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>