summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2009-04-18install_kernel_headers: comment out copying of extra directories,Denis Vlasenko
this seem to be not needed
2009-04-18libc/inet/resolv.c:Denis Vlasenko
Collapse __length_dotted into __length_question (the sole user of it). Make __length_question and __decode_answer static, they are used only once by only one function. Delete __decode_question, it is unused. All in all, four less .o files in libc.a. Document what __dns_lookup returns (length of the packet). Propagate packet len into __decode_answer, __length_question, __decode_dotted and check that we do not use data past the end of the packet. Rename some variables/parameters to better names (len -> packet_len, data -> packet etc). Add mini-doc how DNS packets look like. Style cleanup.
2009-04-13make sure to block all signals when calling daemon() to prevent delivery ↵Mike Frysinger
while the parent is sharing the stack
2009-04-11for sparc v8 MAGIC1 was defined incorrectlyaustinf
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-04-11sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldsoaustinf
Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
2009-04-09- fix typoBernhard Reutner-Fischer
2009-04-09Fix the ifdef logic broken by last commit for !defined (__mcoldfire__)Khem Raj
2009-04-09The attached patches fixes the problems found bringing up uclibc on coldfire Khem Raj
M5485 processor 1. Disable mmap2() if we're compiling for coldfire and fall back to mmap(). It seems to map a different file area on a 2.6.25 linux kernel. 2. Uses pc-relative addresing[1], computes ADDR_ALIGN, PAGE_ALIGN and OFFSET_ALIGN relatively to _dl_pagesize[3]. On coldfire/M5485 _dl_pagesize is 0x2000. Signed-off-by: Groleo Marius <groleo@gmail.com>
2009-04-07implement daemon() using clone() on no-mmu systems as suggested by Jamie LokierMike Frysinger
2009-04-06apply getline() fix from linux kernelMike Frysinger
2009-03-2732/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28.Rob Landley
The new guard symbol is "__SPARC_POSIX_TYPES_H".
2009-03-25- Add strtouq alias (to strtoul) for 64bitBernhard Reutner-Fischer
The strtouq alias was only available on 32bit, breaking compilation of stuff using strtouq on 64bit machines. At the same time use the correct return type (u_quad_t). Signed-of-by: Peter Korsgaard <jacmet@sunsite.dk>
2009-03-25- do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger)Bernhard Reutner-Fischer
2009-03-18fix compilation of linuxthreads for sparcaustinf
add myself to MAINTAINERS for sparc
2009-03-16Fixed makefiles inclusion flow to pass actual configuration variable values.Carmelo Amoroso
Test build system modified to be similar to uClibc one: * test custom logic moved from Makefile to a new Makefile.in (to be included by Makefile). * Makefile same for all tests and just used for including all other needed makefiles. Signed-off-by: Salvatore Cro <salvatore.cro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-03-16Added string.h header for strerr prototype.Carmelo Amoroso
2009-03-16enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Mike Frysinger
memory protection
2009-03-16import user.h from the kernel as it is no longer exported by the kernelMike Frysinger
2009-03-16Update copyright header.Khem Raj
2009-03-16docs/pthreads_hacking.txt: new fileDenis Vlasenko
2009-03-14default linux-2.4 module support to off for Blackfin targetsMike Frysinger
2009-03-14force DOPIC for FDPIC ELF targetsMike Frysinger
2009-03-13add GNU extension for select timeouts where the sub-second field is actually ↵Mike Frysinger
longer than one second
2009-03-12add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)Denis Vlasenko
2009-03-12linuxthreads fixes from Will Newton (will.newton AT gmail.com):Denis Vlasenko
* share Sys V semaphores in order to get appropriate SEM_UNDO semantics. * correct guardaddr in pthread_free() for TLS case * move spinlock unlocking before restart() * When exit was called from a signal handler, the restart from the manager processing the exit request instead restarted the thread in pthread_cond_timedwait. (see http://sources.redhat.com/ml/libc-ports/2006-05/msg00000.html)
2009-03-10resolver:Denis Vlasenko
res_query: do not unconditionally set h_errno to TRY_AGAIN (closes bug 173). cleanups: s/__dn_expand/dn_expand/, remove superfluous dn_expand declaration, remove libc_hidden_proto junk
2009-03-05Define creat in an independent fileKhem Raj
2009-03-05Use __always_inline instead of __inline__Carmelo Amoroso
2009-03-05Make long double support available for sh too.Carmelo Amoroso
Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-03-03mknod: widen the parameters to match kernelDenis Vlasenko
ustat: same, + remove superfluous "conversion" which does nothing at best, loses high dev bits at worst i386/bits/kernel_stat.h: update to reflect reality (wider dev_t) h8300/bits/kernel_stat.h: same arm/bits/kernel_stat.h: cosmetics to match kernel header to the letter
2009-03-02Add EPOLLRDHUP constantDenis Vlasenko
2009-02-27fix breakage in x86_64 defconfigDenis Vlasenko
2009-02-25Reinstate __libc_foo's needed for linuxthreads.old.Denis Vlasenko
Now they are only enabled if linuxthreads.old are selected.
2009-02-24Fix thinko in svn 25434.Rob Landley
2009-02-24Make HARDWIRED_ABSPATH a config option.Rob Landley
2009-02-24Fix __attribute__ (( __attribute__ ((noreturn)))), which doesn't compile.Rob Landley
2009-02-23- remove superfluous $(strip)Bernhard Reutner-Fischer
2009-02-23- remove dependency on GNU error functionalityBernhard Reutner-Fischer
2009-02-23- disable libcrypt tests if we have no libcryptBernhard Reutner-Fischer
2009-02-23- also filter out headers-yBernhard Reutner-Fischer
2009-02-23- fix weak ssp symbol on some arches (Peter S. Mazinger)Bernhard Reutner-Fischer
Work around alleged binutils glitch with weak symbols on some arches. See binutils ML, weak psm and vapier.
2009-02-23Use gcc built-in defines for detecting SH cores instead ofCarmelo Amoroso
uclibc config option macros (aligning SH to all other archs). Changes applied as below: __CONFIG_SH4__ -> __SH4__ __CONFIG_SH2__ -> __sh2__ __CONFIG_SH2A__ -> __SH2A__ Note: pay attention to capital letters Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-02-20Fix my previous commit to use preprocessor in the right way !Carmelo Amoroso
2009-02-20Linuxthreads_old and NPTL must be mutually exclusive.Carmelo Amoroso
TLS support cannot be enabled when using Linuxthreads_old (at least until Linuxthreads and Linuxthreads_old will not me merged togheter) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2009-02-20Fix typo.Carmelo Amoroso
2009-02-20sh: Fix __SH_SYSCALL_TRAP_BASE for SH2A architectureCarmelo Amoroso
Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk>
2009-02-19Install other linux kernel header subdirectories tooDenis Vlasenko
2009-02-18- explicitely discourage to use pregenerated locale data.Bernhard Reutner-Fischer
Rob Landley promised to provide them for all arches but didn't do that yet so disable it for now since they just do not exist right now (and furthermore cause more pain than gain).
2009-02-18mathcalls.h: remove tons of redundant semicolons; better comment about macrosDenis Vlasenko
math.h: make macro machinery a bit more understandable No code changes (verified with objdump)
2009-02-18test/math/compile_test.c: make it exit with 0 alwaysDenis Vlasenko