Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | Rebased the memcpy() and memset() implementations for CRIS on the versions | Peter Kjellerstedt | 2008-09-26 | 2 | -420/+391 | |
| | | | | | found in newlib rather than the ones found in glibc. This should make them smaller and (hopefully) make them compile with newer versions of gcc. | |||||
* | Correct _init()/_fini() for CRISv32 as suggested by Stefan de Konink. | Peter Kjellerstedt | 2008-09-26 | 1 | -0/+8 | |
| | ||||||
* | - cast both times to double for consistency | Bernhard Reutner-Fischer | 2008-09-25 | 1 | -1/+1 | |
| | ||||||
* | - also clean .oS | Bernhard Reutner-Fischer | 2008-09-25 | 1 | -1/+1 | |
| | ||||||
* | - disable gettext support in obstack. | Bernhard Reutner-Fischer | 2008-09-25 | 1 | -3/+3 | |
| | | | | | In function `print_and_abort': obstack.c:(.text.print_and_abort+0x1b): undefined reference to `__dcgettext' | |||||
* | - fix compilation of legacy mode | Bernhard Reutner-Fischer | 2008-09-25 | 1 | -2/+7 | |
| | ||||||
* | - add missing hidden_def | Bernhard Reutner-Fischer | 2008-09-25 | 1 | -0/+2 | |
| | ||||||
* | - fix !LFS case for i386 | Bernhard Reutner-Fischer | 2008-09-25 | 2 | -7/+12 | |
| | ||||||
* | - arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__ | Bernhard Reutner-Fischer | 2008-09-25 | 1 | -0/+4 | |
| | | | | (75_all_uClibc-arm-ftruncate64.patch from gentoo) | |||||
* | sh: Fix SYSCALL_INST_STRx to work for SH-2[A] core by using the | Carmelo Amoroso | 2008-09-25 | 1 | -7/+8 | |
| | | | | | | __SH_SYSCALL_TRAP_BASE macro. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||||
* | delete/init module functions are not 2.4 specific | Mike Frysinger | 2008-09-25 | 1 | -2/+1 | |
| | ||||||
* | - only compile them if the respective syscalls are available | Bernhard Reutner-Fischer | 2008-09-24 | 2 | -3/+23 | |
| | ||||||
* | - silence warning about possibly undefined preprocessor token | Bernhard Reutner-Fischer | 2008-09-24 | 1 | -2/+2 | |
| | ||||||
* | - Fix arguments to compare function. Closes #1081 | Bernhard Reutner-Fischer | 2008-09-24 | 1 | -1/+1 | |
| | ||||||
* | Add work-around for powerpc. | Carmelo Amoroso | 2008-09-22 | 1 | -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(). Previously | Paul Mundt | 2008-09-21 | 1 | -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 breakage | Bernhard Reutner-Fischer | 2008-09-19 | 1 | -7/+7 | |
| | ||||||
* | - add posix_fadvise. Not yet tested most likely broken in advise64 | Bernhard Reutner-Fischer | 2008-09-19 | 2 | -0/+39 | |
| | ||||||
* | - take LFS into account and add fallback via fadvise64 | Bernhard Reutner-Fischer | 2008-09-19 | 1 | -4/+34 | |
| | ||||||
* | - posix_fadvise64 for i386 | Bernhard Reutner-Fischer | 2008-09-19 | 1 | -0/+68 | |
| | ||||||
* | Fix posix_fadvise[64] functions to return the error number in case | Carmelo Amoroso | 2008-09-18 | 2 | -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 changes | Bernhard Reutner-Fischer | 2008-09-18 | 2 | -255/+214 | |
| | ||||||
* | - exec_comm_child can not return ever | Bernhard Reutner-Fischer | 2008-09-18 | 1 | -1/+1 | |
| | ||||||
* | avr32: add defines and prototype function for sync_file_range syscall | Hans-Christian Egtvedt | 2008-09-17 | 1 | -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> | |||||
* | - sync_file_range(). Missed the i386 directory in previous commit | Bernhard Reutner-Fischer | 2008-09-16 | 2 | -2/+69 | |
| | ||||||
* | Add INTERNAL_SYSCALL macros for sh | Carmelo Amoroso | 2008-09-16 | 1 | -0/+145 | |
| | ||||||
* | - add sync_file_range() | Bernhard Reutner-Fischer | 2008-09-16 | 26 | -98/+35 | |
| | | | | Tested successfully on i386.. | |||||
* | - commentary typo fix | Bernhard Reutner-Fischer | 2008-09-15 | 3 | -3/+3 | |
| | ||||||
* | xtensa: The Xtensa port needs to define the __UCLIBC_TRUNCATE64_HAS_4_ARGS__ ↵ | Chris Zankel | 2008-09-13 | 1 | -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 Zankel | 2008-09-13 | 1 | -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 typo | Bernhard Reutner-Fischer | 2008-09-12 | 1 | -2/+2 | |
| | ||||||
* | - whitespace fixes | Bernhard Reutner-Fischer | 2008-09-11 | 1 | -2/+2 | |
| | ||||||
* | - remove gethostbyname_r relocation | Bernhard Reutner-Fischer | 2008-09-11 | 2 | -2/+1 | |
| | ||||||
* | - remove posix_openpt relocation | Bernhard Reutner-Fischer | 2008-09-11 | 1 | -0/+1 | |
| | ||||||
* | - fix typo | Bernhard Reutner-Fischer | 2008-09-11 | 1 | -1/+1 | |
| | ||||||
* | - remove relocations for clock_getres | Bernhard Reutner-Fischer | 2008-09-11 | 1 | -0/+1 | |
| | ||||||
* | Add optimized memcpy implementation for sh4 (from Stuart Menefy ↵ | Carmelo Amoroso | 2008-09-09 | 6 | -193/+1037 | |
| | | | | | | | | @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 Amoroso | 2008-09-09 | 5 | -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> | |||||
* | Fix problem in vfprintf when assertion are enabled. | Carmelo Amoroso | 2008-09-09 | 1 | -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 syscall | Carmelo Amoroso | 2008-09-09 | 1 | -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 Amoroso | 2008-09-09 | 1 | -3/+3 | |
| | | | | | | | __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-around | Carmelo Amoroso | 2008-09-09 | 1 | -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 this | Carmelo Amoroso | 2008-09-09 | 1 | -6/+33 | |
| | | | | | | | instead of relying upon getdents64. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||||
* | Follow sh asm convention to indent the instruction into the delay slot. | Carmelo Amoroso | 2008-09-04 | 1 | -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 was | Paul Mundt | 2008-09-04 | 1 | -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 make | Ricard Wanderlof | 2008-08-28 | 3 | -76/+2 | |
| | | | | | it conditionally included among the installed header files depending on UCLIBC_HAS_AI_ADDRCONFIG. | |||||
* | - remove a couple of duplicate includes | Bernhard Reutner-Fischer | 2008-08-27 | 12 | -16/+0 | |
| | ||||||
* | Removed redundant includes. | Ricard Wanderlof | 2008-08-27 | 1 | -2/+0 | |
| | ||||||
* | - Fix powerpc pread/pwrite (Wade Berrier) | Bernhard Reutner-Fischer | 2008-08-20 | 1 | -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 Amoroso | 2008-08-08 | 1 | -2/+8 | |
| | | | | | | | | | | | | | | | | | | 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> |