summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Fix some locale multibyte tests failures ad below:Carmelo Amoroso2008-09-095-22/+59
| | | | | | | | | | | libc/stdlib/_strtod.c -> tst_wcstod; libc/stdlib/stdlib.c -> tst_mblen, tst_mbtowc, tst_wctomb; libc/stdio/_scanf.c -> tst_swscanf; libc/string/strncmp.c -> tst_wcsncmp; libc/misc/wchar/wchar.c -> tst_mbrlen, tst_mbrtowc, tst_wcswidth. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - adjust range of valid grp buffer size to match pwd buffer sizeBernhard Reutner-Fischer2008-09-091-1/+1
|
* Fix problem in vfprintf when assertion are enabled.Carmelo Amoroso2008-09-091-2/+1
| | | | | | | | | | | Here follow the output of my analysis: __stdio_fwrite expects at least 1 bytes. fputs_unlocked(S,F) calls fwrite_unlocked and this calls __stdio_fwrite only if bytes to be written are > 0, otherwise simply returs 0 (that is correct). During the parsing of format spec it could happen that __stdio_fwrite is called passing an empty string and with assertion enabled it will abort. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fill in termios_p data structure only if ioctl syscallCarmelo Amoroso2008-09-091-24/+25
| | | | | | doesn't fail (as glibc indeed does). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Hush compiler for extern inline warnings by using Carmelo Amoroso2008-09-092-5/+5
| | | | | | | __extern_inline macro, this also makes gcc 4.3 happy. (Taken from NPTL branch) Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Revert latest changes. Instead of applying this work-aroundCarmelo Amoroso2008-09-091-2/+1
| | | | | | | a proper fix should ensure that statically linked mutli-threaded binaries take always the proper locking implementation. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Use getdents syscall if kernel provide supports for thisCarmelo Amoroso2008-09-092-6/+41
| | | | | | | instead of relying upon getdents64. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - for extern inline, also take __extern_inline and __GNUC_GNU_INLINE__ into ↵Bernhard Reutner-Fischer2008-09-061-1/+2
| | | | account
* - fix indentationBernhard Reutner-Fischer2008-09-061-18/+25
|
* Follow sh asm convention to indent the instruction into the delay slot.Carmelo Amoroso2008-09-041-2/+2
| | | | (glibc community refused to apply a my patch for this :-) )
* Kill off the GOT lookup for init/fini in the sh crti.S. This wasPaul Mundt2008-09-041-23/+0
| | | | | | | | inversely conditional on __HAVE_SHARED__, which has been broken since the time it was copied in originally. The compiler properly generates the GOT references on its own, negating the entire purpose for the init/fini reference.
* Move ifaddrs.h from uClibc-internal location libc/inet/ to include/, and makeRicard Wanderlof2008-08-284-2/+6
| | | | | it conditionally included among the installed header files depending on UCLIBC_HAS_AI_ADDRCONFIG.
* - remove a couple of duplicate includesBernhard Reutner-Fischer2008-08-2715-21/+1
|
* - flesh out helptext of DOMULTI.Bernhard Reutner-Fischer2008-08-271-0/+7
| | | | | Put short, just leave it alone or keep all parts -- alternatively go help with lto if you have time.
* - should either be defined or callers should do_t_strip manually afterwardsBernhard Reutner-Fischer2008-08-271-1/+1
|
* Removed redundant includes.Ricard Wanderlof2008-08-271-2/+0
|
* - pull check-lxdialog.sh from linux-2.6.26Bernhard Reutner-Fischer2008-08-271-2/+4
|
* Fix up an msync() redefinition for linuxthreads + nommu systems,Paul Mundt2008-08-211-1/+2
| | | | | | common case depends on __ARCH_USE_MMU__, falling back on the include/sys/mman.h:msync() stub otherwise.
* Disable -msoft-float usage on SH, gcc doesn't support it.Paul Mundt2008-08-211-0/+2
|
* - Fix powerpc pread/pwrite (Wade Berrier)Bernhard Reutner-Fischer2008-08-201-10/+11
| | | | | pread/write wanted to send an 8 byte value in the syscall where only 4 bytes were allowed.
* Fix SH ldso sequence startup.Carmelo Amoroso2008-08-082-4/+20
| | | | | | | | | | | | | | | | | | Pass via r4 the rtld finalizer _dl_fini to the user application. This will be the 6^ arg of __uClibc_main and will be registered with 'atexit'. In this way the dynamic linker will be able to call destructors defined within the loaded DSOs. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> Acked-by: Paul Mundt <lethal@linux-sh.org> Add missing 7th arg "stack_end". add comment of undocumented usage of r4. fix comment of expected __uClibc_main() prototype. Signed-off-by: Yoshii Takashi <yoshii.takashi@renesas.com> Acked-by: Paul Mundt <lethal@linux-sh.org>
* - some more asm keyword fixes (Yann E. MORIN)Bernhard Reutner-Fischer2008-08-064-21/+19
|
* Remove .depend when doing distcleanCarmelo Amoroso2008-07-291-1/+1
|
* - trim any trailing whitespaceBernhard Reutner-Fischer2008-07-23234-774/+774
|
* - fix inline keywordBernhard Reutner-Fischer2008-07-23152-298/+298
|
* - fix asm and volatile keywordsBernhard Reutner-Fischer2008-07-2319-168/+168
|
* avr32: Put underscores around asm, inline, etc.Haavard Skinnemoen2008-07-234-17/+17
| | | | | This fixes build breakage introduced in r22868.
* - poison non-standard keywords:Bernhard Reutner-Fischer2008-07-171-0/+3
| | | | | Make sure that we can be built with non-C99 compilers, too. Use __\1__ instead.
* - pull fix for unwinding from the NPTL branch (Johannes Stezenbach)Bernhard Reutner-Fischer2008-07-171-6/+10
| | | | Repair C89 compliance and severe whitespace-defects while at it.
* - improve UCLIBC_LINUX_SPECIFICBernhard Reutner-Fischer2008-07-146-9/+55
| | | | | compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function)
* - do not force LFS unto x86_64 folksBernhard Reutner-Fischer2008-07-141-1/+0
| | | | vapier, you added this in r12384. What was the reasoning back then?
* - remove the error counterBernhard Reutner-Fischer2008-07-113-12/+3
|
* - add error-counter, do not immediately exit if a testcase fails but printBernhard Reutner-Fischer2008-07-113-2/+11
| | | | the overall error-counter at the end and exit accordingly.
* - do not test pthread if threads are not availableBernhard Reutner-Fischer2008-07-111-0/+3
|
* - the interp is an order-only prereq of lib-so-yBernhard Reutner-Fischer2008-07-111-1/+2
| | | | - hint vi on the filetype while at it
* - don't test libcrypt stubsBernhard Reutner-Fischer2008-07-111-0/+3
|
* - do not run tests that are not availableBernhard Reutner-Fischer2008-07-111-0/+6
|
* wow. So why does test/ keep it's own copy of CFLAGS guessing etc?Bernhard Reutner-Fischer2008-07-111-1/+1
|
* check and test have to depend on test_compileBernhard Reutner-Fischer2008-07-111-1/+1
|
* Removed wrong preprocessed filesCarmelo Amoroso2008-07-102-16675/+0
|
* Added missing tests for locale with multibyte encodingCarmelo Amoroso2008-07-10110-0/+29302
|
* Added several tests for locale support (8 bit and multibyte UTF-8)Carmelo Amoroso2008-07-0932-0/+4648
| | | | | | | | | | | | Basically all tests have been taken from glibc. For testing multibyte encoding EUC_JP parts have been commented out and added new section for UTF-8 that is the only multibyte codeset currently supported on uCLibc. Some tests are still failing due to unsupported/missing features, other have been fixed. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* sh4 don't need to cope with older RLIMIT implementation.Carmelo Amoroso2008-07-081-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix the test build system by installing headers on a local folderCarmelo Amoroso2008-07-084-4/+29
| | | | | | | instead of using internal headers. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMUDenis Vlasenko2008-07-083-1/+32
|
* Include errno.h from kernel headers instead of using internal errno_values.hCarmelo Amoroso2008-07-025-536/+1
| | | | | | otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix makefile target to run test when there are some shell script.Carmelo Amoroso2008-07-021-3/+1
| | | | | | | | | | | | SImply do not include SHEL_TESTS among RUNTIME_TESTS, because shell script have a their own rule to be excuted. The runtime evaluation by using the $(shell ...) command doesn't work due to immediate expansion of shell function. Currently only nptl tests have shell script, so this problem have been never discovered before. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Simplified check_pf() so it returns a bit vector in an unsigned int,Ricard Wanderlof2008-07-014-106/+75
| | | | instead of modifying the contents of two bools.
* #include <ifaddrs.h> should be #include "ifaddrs.h"Denis Vlasenko2008-06-281-1/+1
|
* add test case for argv[0] == nullMike Frysinger2008-06-271-0/+13
|