summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
* Add work-around for powerpc.Carmelo Amoroso2008-09-221-2/+2
| | | | | | | Do noy use syscall wrapper based on INTERNAL_SYSCALL. A proper fix would require an arch specific implementation. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix up memset() argument ordering in open_memstream(). PreviouslyPaul Mundt2008-09-211-2/+2
| | | | | | parts of the buffers were not being zeroed out as expected. Reported by Dmytro Gorbunov <dmitro.gorbunov@gmail.com>.
* - fix for r23427. Thanks to psm for mentioning this and sorry for the breakageBernhard Reutner-Fischer2008-09-191-7/+7
|
* - add posix_fadvise. Not yet tested most likely broken in advise64Bernhard Reutner-Fischer2008-09-192-0/+39
|
* - take LFS into account and add fallback via fadvise64Bernhard Reutner-Fischer2008-09-191-4/+34
|
* - posix_fadvise64 for i386Bernhard Reutner-Fischer2008-09-191-0/+68
|
* Use __always_inline for _dl_gettimeofday as well.Carmelo Amoroso2008-09-181-1/+1
| | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Fix posix_fadvise[64] functions to return the error number in caseCarmelo Amoroso2008-09-182-8/+42
| | | | | | | | of failure instead of -1 and setting errno, according to SuSv3 (IEEE Std 1003.1 2004 edition) specification. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - remove non stdc path (old style definitions). No obj-code changesBernhard Reutner-Fischer2008-09-183-293/+237
|
* - exec_comm_child can not return everBernhard Reutner-Fischer2008-09-181-1/+1
|
* avr32: add defines and prototype function for sync_file_range syscallHans-Christian Egtvedt2008-09-171-0/+15
| | | | | | | This patch adds the needed defines and function prototype for the sync_file_range syscall on AVR32 architecture. Signed-off-by: Hans-Christian Egtvedt <hans-christian.egtvedt@atmel.com>
* - add script to generate lots of failing (random)configsBernhard Reutner-Fischer2008-09-161-0/+26
| | | | | rm -f STOP ; ARCH=i386 nohup extra/scripts/randconfig.sh & if you want to stop it, touch STOP
* - sync_file_range(). Missed the i386 directory in previous commitBernhard Reutner-Fischer2008-09-162-2/+69
|
* Add INTERNAL_SYSCALL macros for shCarmelo Amoroso2008-09-161-0/+145
|
* - add sync_file_range()Bernhard Reutner-Fischer2008-09-1626-98/+35
| | | | Tested successfully on i386..
* - do not attempt to rm twiceBernhard Reutner-Fischer2008-09-163-14/+19
| | | | - clean targets are supposed to clean independently of any .config
* - commentary typo fixBernhard Reutner-Fischer2008-09-1516-16/+16
|
* Make menuconfig help bigger and fluffier.Rob Landley2008-09-151-20/+79
|
* xtensa: Stack unwinding on Xtensa requires that the return address register ↵Chris Zankel2008-09-131-8/+4
| | | | always be valid. This patch fixes a part of ldso that had been using an Xtensa CALL0 instruction to get the current PC value, which temporarily clobbered the return address register. The revised code just loads the address of a label in the code. See my change to GCC from 2007-12-20 for more info (http://gcc.gnu.org/ml/gcc-patches/2007-12/msg01023.html).
* xtensa: The Xtensa port needs to define the __UCLIBC_TRUNCATE64_HAS_4_ARGS__ ↵Chris Zankel2008-09-131-1/+1
| | | | | | | | macro so that a dummy argument will be inserted before the long long length argument, which is expected to be in an even/odd register pair. -This line, and those below, will be ignored-- M uClibc_arch_features.h
* xtensa: The Xtensa-specific strcmp.S file is testing the ↵Chris Zankel2008-09-131-0/+1
| | | | __UCLIBC_HAS_LOCALE__ macro but it does not include <features.h>, so that macro is never defined. This causes problems with strcoll when locale support is enabled.
* - fix typoBernhard Reutner-Fischer2008-09-121-2/+2
|
* - whitespace fixesBernhard Reutner-Fischer2008-09-111-2/+2
|
* - remove gethostbyname_r relocationBernhard Reutner-Fischer2008-09-112-2/+1
|
* - remove posix_openpt relocationBernhard Reutner-Fischer2008-09-112-0/+2
|
* - fix typoBernhard Reutner-Fischer2008-09-111-1/+1
|
* - remove relocations for clock_getresBernhard Reutner-Fischer2008-09-112-0/+2
|
* - the help target is phonyBernhard Reutner-Fischer2008-09-112-2/+2
|
* - add some helpful help text, as advertised.Bernhard Reutner-Fischer2008-09-112-0/+38
|
* - honour EXTRA_CPPFLAGSBernhard Reutner-Fischer2008-09-111-1/+1
| | | | Makes it easier to say something like make libc/sysdeps/linux/common/close.i EXTRA_CPPFLAGS=-P
* Add optimized memcpy implementation for sh4 (from Stuart Menefy ↵Carmelo Amoroso2008-09-097-193/+1042
| | | | | | | | @STMicroelectronics). This implementation is based on 'backward copying'. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* 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
|