Commit message (Collapse) | Author | Age | Files | Lines | ||
---|---|---|---|---|---|---|
... | ||||||
* | - 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> | |||||
* | - some more asm keyword fixes (Yann E. MORIN) | Bernhard Reutner-Fischer | 2008-08-06 | 3 | -20/+18 | |
| | ||||||
* | - trim any trailing whitespace | Bernhard Reutner-Fischer | 2008-07-23 | 170 | -536/+536 | |
| | ||||||
* | - fix inline keyword | Bernhard Reutner-Fischer | 2008-07-23 | 91 | -135/+135 | |
| | ||||||
* | - fix asm and volatile keywords | Bernhard Reutner-Fischer | 2008-07-23 | 9 | -156/+156 | |
| | ||||||
* | avr32: Put underscores around asm, inline, etc. | Haavard Skinnemoen | 2008-07-23 | 2 | -10/+10 | |
| | | | | | This fixes build breakage introduced in r22868. | |||||
* | - pull fix for unwinding from the NPTL branch (Johannes Stezenbach) | Bernhard Reutner-Fischer | 2008-07-17 | 1 | -6/+10 | |
| | | | | Repair C89 compliance and severe whitespace-defects while at it. | |||||
* | - improve UCLIBC_LINUX_SPECIFIC | Bernhard Reutner-Fischer | 2008-07-14 | 6 | -9/+55 | |
| | | | | | compile-tested only, fixes libc/misc/statfs/fstatfs64.c:29: error: 'fstatfs' undeclared here (not in a function) | |||||
* | sh4 don't need to cope with older RLIMIT implementation. | Carmelo Amoroso | 2008-07-08 | 1 | -1/+1 | |
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||||
* | New .config option UCLIBC_HAS_STUBS, enables fork() stub on NOMMU | Denis Vlasenko | 2008-07-08 | 1 | -0/+14 | |
| | ||||||
* | Include errno.h from kernel headers instead of using internal errno_values.h | Carmelo Amoroso | 2008-07-02 | 5 | -536/+1 | |
| | | | | | | otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||||
* | Simplified check_pf() so it returns a bit vector in an unsigned int, | Ricard Wanderlof | 2008-07-01 | 4 | -106/+75 | |
| | | | | instead of modifying the contents of two bools. | |||||
* | #include <ifaddrs.h> should be #include "ifaddrs.h" | Denis Vlasenko | 2008-06-28 | 1 | -1/+1 | |
| | ||||||
* | if argv[0] is NULL, dont try to parse it and subsequently crash ... found by ↵ | Mike Frysinger | 2008-06-27 | 1 | -6/+8 | |
| | | | | running execve05 ltp test on blackfin ([#4194]) | |||||
* | Removed include/ifaddrs.h and put contents in libc/inet/ifaddrs.h, as we do not | Ricard Wanderlof | 2008-06-27 | 2 | -1/+16 | |
| | | | | need the file outside of uClibc anyway. | |||||
* | Fixed #if -> #if defined. | Ricard Wanderlof | 2008-06-27 | 1 | -6/+15 | |
| | | | | Take __UCLIBC_HAS_IPV4__ into account. | |||||
* | Added support for the AI_ADDRCONFIG flag in the hints->ai_flags parameter to ↵ | Ricard Wanderlof | 2008-06-27 | 6 | -18/+184 | |
| | | | | getaddrinfo(3). | |||||
* | - make sure to build crti and crtn with PICFLAG | Bernhard Reutner-Fischer | 2008-06-20 | 1 | -0/+3 | |
| | ||||||
* | - move stripping into do_ar resp compile-m for the sake of simplicity | Bernhard Reutner-Fischer | 2008-06-17 | 1 | -3/+0 | |
| | ||||||
* | - fix build error | Bernhard Reutner-Fischer | 2008-06-16 | 1 | -1/+1 | |
| | | | | brk.c:(.text.__GI_sysconf+0xd4): undefined reference to `clock_getres' | |||||
* | Include sys/syscall.h since we are checking for __NR_clock_getres. | Peter Kjellerstedt | 2008-06-12 | 1 | -0/+1 | |
| | ||||||
* | Revert revision 19347, plus libc_hidden_proto for __uc_malloc. | Bernd Schmidt | 2008-06-12 | 7 | -29/+19 | |
| | | | | | Some of the code is functionally identical before and after, but for now I'm just mechanically reverting the entire mess. | |||||
* | Revert revision 19345 plus libc_hidden_proto for __uc_malloc. | Bernd Schmidt | 2008-06-12 | 2 | -16/+6 | |
| | ||||||
* | Revert revision 19344 plus the libc_hidden_proto for __uc_malloc. | Bernd Schmidt | 2008-06-12 | 1 | -93/+39 | |
| | ||||||
* | Revert revision 19343 and also remove libc_hidden_proto for __uc_malloc. | Bernd Schmidt | 2008-06-12 | 1 | -34/+16 | |
| | | | | | For now, a straight revert; we can decide later wheter we want to do something more. | |||||
* | Fix two more cases where a libc_hidden_proto was added to string.h while | Bernd Schmidt | 2008-06-11 | 2 | -0/+2 | |
| | | | | no libc_hidden_def exists for the function. | |||||
* | xtensa: Fix spill routine. | Chris Zankel | 2008-06-11 | 1 | -0/+1 | |
| | | | | | | | | The spill routine to flush all windowed registers was missing a 'mov' instruction. Signed-off-by: Chris Zankel <chris@zankel.net> | |||||
* | Revert revison 19346, except parts needed by later patches (r19347 also added | Bernd Schmidt | 2008-06-10 | 1 | -19/+6 | |
| | | | | | | __uc_malloc calls in getnetent.c, so we must retain the include and libc_hidden_proto). | |||||
* | - Improve prerequisites and avoid spurious reconfigurations. | Bernhard Reutner-Fischer | 2008-06-09 | 1 | -6/+3 | |
| | | | | More details: http://uclibc.org/lists/uclibc/2008-June/019509.html | |||||
* | - revert incorrect parts of r22257 and 22259 | Bernhard Reutner-Fischer | 2008-06-07 | 3 | -7/+6 | |
| | | | | since posix_openpt lives in getpt.c it has to stay there unconditionally. | |||||
* | - remove __USE_BSD guard from __bsd_getpt(). | Bernhard Reutner-Fischer | 2008-06-07 | 1 | -2/+0 | |
| | | | | | Fixes compilation error for defined UCLIBC_HAS_PTY && !defined UNIX98PTY_ONLY which need both __libc_ptyname1 and __libc_ptyname2 for ptsname_r(). |