summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-0326-3/+206
| | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* Merge branch 'master' of git://uclibc.org/uClibcMike Frysinger2009-07-0316-454/+276
|\
| * add testcases for shm_{open,unlink}Bernhard Reutner-Fischer2009-07-033-0/+112
| | | | | | | | | | Reported-by: Mikael Lund Jepsen <mlj@iccc.dk> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * sh: add cacheflush syscall wrapperCarmelo Amoroso2009-07-022-1/+16
| | | | | | | | | | Signed-off-by: Giuseppe Cavallaro <peppe.cavallaro@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
| * Correct ARM memcpy comments.Joseph Myers2009-07-011-1/+2
| | | | | | | | | | | | | | | | The comments on register usage in ARM memcpy had dest and src the wrong way round; this patch (originally from Mark Shinwell) corrects this and adds a note on the return value. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
| * Fix Thumb-2 setjmp.Joseph Myers2009-06-301-1/+1
| | | | | | | | | | | | | | | | Many Thumb-2 instructions cannot use sp or pc as operands, and the assembler now diagnoses these. setjmp had one such instruction, movs; this patch changes it to mov. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
| * Fix Thumb-2 memcpy.Joseph Myers2009-06-301-1/+1
| | | | | | | | | | | | | | | | | | When an IT block was changed from having two instructions to having one, the IT instruction at the start of the block was not updated, causing memcpy to fail to assemble for Thumb-2; this patch makes the obvious fix. Signed-off-by: Joseph Myers <joseph@codesourcery.com>
| * Add missing CLIBABI variables __aeabi_stdin, __aeabi_stdout, __aeabi_stderr.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 automaticallyMike 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-headersMike 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 utilsMike Frysinger2009-06-281-0/+4
| | | | | | | | Signed-off-by: Mike Frysinger <vapier@gentoo.org>
| * wchar: fix inverted parameters in error messageAndré 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 scriptSteve 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 readelfMike 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 unconditionallyBernhard Reutner-Fischer2009-06-021-4/+3
| | | | | | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
| * add stub for shm_open() and shm_unlinkBernhard Reutner-Fischer2009-06-021-0/+98
| | | | | | | | | | | | Untested and needs testsuite exercise added Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* | Blackfin: make sure all relocs are uppercaseMike Frysinger2009-06-014-33/+33
|/ | | | | | This is to match changes in the toolchain. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
* waitid: linux ABI takes 5 args, not 4Mike 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 .gitignoreBernhard Reutner-Fischer2009-05-271-0/+17
| | | | Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
* Add working pipe implementation for sparcAustin 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 sparc64Austin Foxley2009-05-212-3/+0
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Add a sigaction implementation for sparcAustin Foxley2009-05-202-1/+95
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Merge branch 'master' of git+ssh://carmelo@git.uclibc.org/git/uClibcCarmelo Amoroso2009-05-051-0/+8
|\
| * Add .gitignoreAustin 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.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 optionPeter 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. Meyersaustinf2009-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 grossDenis Vlasenko2009-04-231-9/+56
|
* Reinstate {drm,mtd,rdma,sound,video} directory installtionDenis 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,Denis Vlasenko2009-04-181-9/+11
| | | | | this seem to be not needed
* libc/inet/resolv.c: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 ↵Mike Frysinger2009-04-131-1/+13
| | | | while the parent is sharing the stack
* for sparc v8 MAGIC1 was defined incorrectlyaustinf2009-04-111-1/+1
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* sparc also needs CONSTANT_STRING_GOT_FIXUP for doing debug printing in ldsoaustinf2009-04-111-1/+1
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* - fix typoBernhard Reutner-Fischer2009-04-091-1/+1
|
* Fix the ifdef logic broken by last commit for !defined (__mcoldfire__)Khem Raj2009-04-091-3/+1
|
* The attached patches fixes the problems found bringing up uclibc on coldfire 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 LokierMike Frysinger2009-04-073-17/+26
|
* apply getline() fix from linux kernelMike 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.Rob Landley2009-03-271-1/+2
| | | | The new guard symbol is "__SPARC_POSIX_TYPES_H".
* - Add strtouq alias (to strtoul) for 64bitBernhard 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)Bernhard Reutner-Fischer2009-03-251-2/+2
|
* fix compilation of linuxthreads for sparcaustinf2009-03-186-17/+18
| | | | add myself to MAINTAINERS for sparc
* Fixed makefiles inclusion flow to pass actual configuration variable values.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.Carmelo Amoroso2009-03-161-0/+1
|
* enable mprotect() regardless of MMU as some systems have MPUs which allows ↵Mike Frysinger2009-03-161-1/+1
| | | | memory protection
* import user.h from the kernel as it is no longer exported by the kernelMike Frysinger2009-03-161-0/+57
|
* Update copyright header.Khem Raj2009-03-161-1/+1
|
* docs/pthreads_hacking.txt: new fileDenis Vlasenko2009-03-161-0/+748
|
* default linux-2.4 module support to off for Blackfin targetsMike Frysinger2009-03-141-2/+3
|