aboutsummaryrefslogtreecommitdiff
Commit message (Collapse)AuthorAgeFilesLines
* SH-2A FDPIC supportsuperh_fdpicGravatar Andrew Stubbs2011-02-2325-56/+1718
| | | | | | These are the changes used in CodeSourcery's SH-2A uClinux Lite toolchains. Signed-off-by: Andrew Stubbs <ams@codesourcery.com>
* Add missing CLIBABI variables __aeabi_stdin, __aeabi_stdout, __aeabi_stderr.Gravatar Joseph Myers2009-06-281-0/+15
| | | | | | | | | | | The ARM EABI has a document CLIBABI specifying various __aeabi_* functions and variables to be provided for the use of portable objects that can be linked with different EABI-conforming C libraries. __aeabi_stdin, __aeabi_stdout and __aeabi_stderr were missing in uClibc; this patch (originally from Nathan Froyd and for glibc) adds them. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
* locale: gen_wc8bit: try to find UTF8 locale automaticallyGravatar Mike Frysinger2009-06-281-1/+24
| | | | | | | | | | Rather than require everyone to have en_US.UTF-8 when we really need any UTF8 locale, do a scan for possible UTF8 locales if the default en_US does not exist. Hopefully this should make the utility "just work" for most people. Reported-by: Daniel Cordero <theappleman@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* stop installing/screwing with linux-headersGravatar Mike Frysinger2009-06-282-94/+0
| | | | | | | | | It is not uClibc's business to make sure the user's toolchain is sane and has proper kernel headers configured/installed. If they don't, then they need to fix their toolchain, we don't need to try and magically do it for them. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* add gitignore for utilsGravatar Mike Frysinger2009-06-281-0/+4
| | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* wchar: fix inverted parameters in error messageGravatar André Goddard Rosa2009-06-281-1/+1
| | | | | | | | | | The error message should output "fromcode -> tocode" rather than "tocode -> fromcode". Seems to be a typo due to the order of the func called: iconv_t iconv_open(const char *tocode, const char *fromcode); Signed-off-by: André Goddard Rosa <andre.goddard@gmail.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* libc.so: include all output formats in linker scriptGravatar Steve Bennett2009-06-281-2/+2
| | | | | | | | | | Rather than ripping out the default output format from the linker, include the big/little endian alternatives for the people who link with bi-endian toolchains. URL: http://lists.uclibc.org/pipermail/uclibc/2009-June/042595.html Signed-off-by: Steve Bennett <steveb@workware.net.au> Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* utils: punt readelfGravatar Mike Frysinger2009-06-282-352/+1
| | | | | | | This miniature version of readelf has never been terribly useful and has caused significantly more headaches in its maintenance, so punt it. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* include errno.h unconditionallyGravatar Bernhard Reutner-Fischer2009-06-021-4/+3
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* add stub for shm_open() and shm_unlinkGravatar Bernhard Reutner-Fischer2009-06-021-0/+98
| | | | | | Untested and needs testsuite exercise added Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* waitid: linux ABI takes 5 args, not 4Gravatar Mike Frysinger2009-05-271-4/+16
| | | | | | | | The POSIX waitid() takes 4 args, but the Linux one takes 5 args, so make sure we stuff the 5th arg with a NULL. Otherwise garbage gets randomly passed up and considering this is a pointer, that's baaaad. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* tweak .gitignoreGravatar Bernhard Reutner-Fischer2009-05-271-0/+17
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add working pipe implementation for sparcGravatar Austin Foxley2009-05-263-3/+69
| | | | | | Also get rid of warning in sparc sigaction Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* fix compilation of linuxthreads for sparc64Gravatar Austin Foxley2009-05-212-3/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add a sigaction implementation for sparcGravatar Austin Foxley2009-05-202-1/+95
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merge branch 'master' of git+ssh://carmelo@git.uclibc.org/git/uClibcGravatar Carmelo Amoroso2009-05-051-0/+8
|\
| * Add .gitignoreGravatar Austin Foxley2009-05-051-0/+8
| | | | | | | | | | | | ignore most of the build output Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* | Add position independent code for crt1.S.Gravatar Carmelo Amoroso2009-05-051-0/+45
|/ | | | | | | | | This will generate a Scrt1.o that is linked to executabled when compiled as PIE code (position independent executable) without requiring relocation in .text section (not allowed on uclibc/sh4). Signed-off-by: Peter Griffin <pgriffin@mpc-data.co.uk> Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
* sh: Fix FPU config optionGravatar Peter Griffin2009-05-041-1/+1
| | | | | Change to UCLIBC_HAS_FPU because UCLIBC_HAS_FLOATS can be used with UCLIBC_HAS_SOFT_FLOAT option.
* patch from Joseph S. MeyersGravatar austinf2009-04-271-3/+3
| | | | | | | | | | | | | | | | | | | This patch merges 2006-06-23 Paul Eggert <eggert@cs.ucla.edu> [BZ #2841] * sysdeps/generic/stdint.h (UINT8_C, UINT16_C): Don't append 'U', since C99 requires the result to promote to 'int' when uint_least8_t and uint_least16_t promote to 'int'. from glibc to fix a bug in uClibc's stdint.h (GCC's testsuite will now detect this problem, along with various others some systems have in their stdint.h headers.) Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* libc/string/i386/memset.c: memset 1 byte at a time is a bit grossGravatar Denis Vlasenko2009-04-231-9/+56
|
* Reinstate {drm,mtd,rdma,sound,video} directory installtionGravatar Denis Vlasenko2009-04-191-11/+11
| | | | | | pending some explanation from gurus. Expanded comment explaining _why_ we try to install these exact directories.
* install_kernel_headers: comment out copying of extra directories,Gravatar Denis Vlasenko2009-04-181-9/+11
| | | | | this seem to be not needed
* libc/inet/resolv.c:Gravatar Denis Vlasenko2009-04-182-278/+467
| | | | | | | | | | | | | | | | 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.
* make sure to block all signals when calling daemon() to prevent delivery ↵Gravatar Mike Frysinger2009-04-131-1/+13
| | | | while the parent is sharing the stack
* for sparc v8 MAGIC1 was defined incorrectlyGravatar austinf2009-04-111-1/+1
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldsoGravatar austinf2009-04-111-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* - fix typoGravatar Bernhard Reutner-Fischer2009-04-091-1/+1
|
* Fix the ifdef logic broken by last commit for !defined (__mcoldfire__)Gravatar Khem Raj2009-04-091-3/+1
|
* The attached patches fixes the problems found bringing up uclibc on coldfire Gravatar Khem Raj2009-04-094-10/+31
| | | | | | | | | | | | | | 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>
* implement daemon() using clone() on no-mmu systems as suggested by Jamie LokierGravatar Mike Frysinger2009-04-073-17/+26
|
* apply getline() fix from linux kernelGravatar Mike Frysinger2009-04-061-5/+4
|
* 32/64 bit sparc got unified in 2.6.29 the way x86/x86_64 did in 2.6.28.Gravatar Rob Landley2009-03-271-1/+2
| | | | The new guard symbol is "__SPARC_POSIX_TYPES_H".
* - Add strtouq alias (to strtoul) for 64bitGravatar Bernhard Reutner-Fischer2009-03-252-1/+6
| | | | | | | | 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>
* - do not pass -Wl with -shared in LDFLAGS_NOSTRIP (Peter S. Mazinger)Gravatar Bernhard Reutner-Fischer2009-03-251-2/+2
|
* fix compilation of linuxthreads for sparcGravatar austinf2009-03-186-17/+18
| | | | add myself to MAINTAINERS for sparc
* Fixed makefiles inclusion flow to pass actual configuration variable values.Gravatar Carmelo Amoroso2009-03-1651-222/+341
| | | | | | | | | | | 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>
* Added string.h header for strerr prototype.Gravatar Carmelo Amoroso2009-03-161-0/+1
|
* enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Gravatar Mike Frysinger2009-03-161-1/+1
| | | | memory protection
* import user.h from the kernel as it is no longer exported by the kernelGravatar Mike Frysinger2009-03-161-0/+57
|
* Update copyright header.Gravatar Khem Raj2009-03-161-1/+1
|
* docs/pthreads_hacking.txt: new fileGravatar Denis Vlasenko2009-03-161-0/+748
|
* default linux-2.4 module support to off for Blackfin targetsGravatar Mike Frysinger2009-03-141-2/+3
|
* force DOPIC for FDPIC ELF targetsGravatar Mike Frysinger2009-03-141-0/+1
|
* add GNU extension for select timeouts where the sub-second field is actually ↵Gravatar Mike Frysinger2009-03-131-1/+20
| | | | longer than one second
* add linuxthreads support for arm. By Will Newton (will.newton AT gmail.com)Gravatar Denis Vlasenko2009-03-122-0/+208
|
* linuxthreads fixes from Will Newton (will.newton AT gmail.com):Gravatar Denis Vlasenko2009-03-127-29/+46
| | | | | | | | | | | * 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)
* resolver:Gravatar Denis Vlasenko2009-03-101-63/+7
| | | | | | | 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
* Define creat in an independent fileGravatar Khem Raj2009-03-052-5/+15
|
* Use __always_inline instead of __inline__Gravatar Carmelo Amoroso2009-03-0511-38/+38
|