Skip to content
Commits on Jul 31, 2011
  1. @larsclausen

    lm32: Evaluate syscall all arguments before loading them into registers

    larsclausen committed
    We have to evaluate all syscall arguments before loading them into the syscall
    registers, because if one of the arguments is a function call, the function
    call will clobber the previously loaded registers.
Commits on Jul 27, 2011
  1. @larsclausen

    lm32: Sync kernel_types.h

    larsclausen committed
  2. @larsclausen

    Fix dup3

    larsclausen committed
Commits on Jul 26, 2011
  1. @larsclausen

    lm32: Add clone based vfork

    larsclausen committed
  2. @larsclausen

    lm32: Cleanup clone

    larsclausen committed
  3. @larsclausen
Commits on Jul 25, 2011
  1. @larsclausen
Commits on Jul 24, 2011
  1. @mwalle

    lm32: initial LM32 port import

    mwalle committed
    This patch adds support for the LatticeMico32 softcore by Lattice
    Semiconductor.
    
    Signed-off-by: Michael Walle <michael@walle.cc>
Commits on Jul 19, 2011
  1. @larsclausen

    Add dup3 syscall

    larsclausen committed
Commits on Jul 1, 2011
  1. Merge remote-tracking branch 'origin/master' into prelink

    Carmelo Amoroso committed
    * origin/master:
      libc: add missing lock initialization in vswprintf
      libubacktrace: fix makefile clean target
    
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Commits on Jun 29, 2011
  1. libc: add missing lock initialization in vswprintf

    Maksim Rayskiy committed with Carmelo Amoroso
    Unlike vsnprintf, vswprintf does not properly initialize locking
    elements of FILE structure, which in some unfortunate cases can result
    in lockups in _vfwprintf_internal.
    Interesting, the initialization code was removed in
    2a91573 at the same time as it was added
    to vsnprintf.
    
    Signed-off-by: Maksim Rayskiy <mrayskiy@broadcom.com>
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Commits on Jun 24, 2011
  1. Merge remote-tracking branch 'origin/master' into prelink

    Carmelo Amoroso committed
    * origin/master: (61 commits)
      fts: fix warning due to old-style function definition
      ldso_tls: fix compiler warning due to missing cast
      resolv: fix bug in res_init with ipv6 nameservers
      config: Fix passing defconfig args
      buildsys: pt-initfini.s depends on uClibc_config.h
      libdl: search for ELF_RTYPE_CLASS_DLSYM in dlsym()
      resolv: try next server on SERVFAIL
      getaddrinfo: allow numeric service without any hints
      bump version to 0.9.33-git
      nptl/pthread: Correct path for machine specific pt-initfini.c
      ctor/dtor nptl: Fix init and fini function compilation
      Rules.mak: Rearrange appending UCLIBC_EXTRA_CFLAGS to CFLAGS
      ARM: remove EABI/OABI selection
      ARM: detect BX availibility at build time
      ARM: #include <bits/arm_asm.h> where __USE_BX__ is used
      ARM: transform the EABI/OABI choice into a boolean
      ARM: remove sub-arch/variants selection from menuconfig
      ARM: introduce blind options to select & force THUMB mode
      ARM: reorder "Use BX" option
      Fix __libc_epoll_pwait compile failure on x86
      ...
    
    Conflicts:
    	ldso/libdl/libdl.c
    
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
  2. fts: fix warning due to old-style function definition

    Carmelo Amoroso committed
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Commits on Jun 17, 2011
  1. @aldot

    resolv: fix bug in res_init with ipv6 nameservers

    aldot committed
    Thanks to Christian Krause <chkr plauener.de> for finding and fixing
    this!
    
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Commits on Jun 14, 2011
  1. @aldot

    resolv: try next server on SERVFAIL

    aldot committed
    in bug 3637 Andrey Kovalev aka pxe.ru writes:
    getaddrinfo does NOT add domain to query when receive SERVFAIL
    
    RFC1035 7.2 suggests that
       - If a resolver gets a server error or other bizarre response
         from a name server, it should remove it from SLIST, and may
         wish to schedule an immediate transmission to the next
         candidate server address.
    
    So let's try the next server upon SERVFAIL even if it's not strictly
    required.
    
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  2. @ncopa @aldot

    getaddrinfo: allow numeric service without any hints

    ncopa committed with aldot
    This appears to correspond to what glibc does and this fixes an
    issue with iptables-1.4.11 with udp and raw port numbers.
    
    (see http://bugzilla.netfilter.org/show_bug.cgi?id=721)
    
    This fixes #3841
    https://bugs.busybox.net/show_bug.cgi?id=3841
    
    Signed-off-by: Natanael Copa <natanael.copa@gmail.com>
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Commits on Jun 13, 2011
  1. @kraj

    ctor/dtor nptl: Fix init and fini function compilation

    kraj committed
    We need to define the rules for .S files so it
    gets the include paths some architectures like mips
    include headers
    
    Some architectures e.g. SH have their own version
    of pt-initfini.c so look for that first before resorting
    to generic version of pt-initfini.c
    
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
Commits on Jun 11, 2011
  1. @kraj

    ARM: remove EABI/OABI selection

    Yann E. MORIN committed with kraj
    Rely on the compiler to be properly setup for the default ABI.
    
    When installing-headers, there are two cases:
    - NPTL: no issue, a cross-compiler is already expected
    - LinuxThreads: no issue, EABI/OABI has no impact on installed headers.
    
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
    Cc: Khem Raj <raj.khem@gmail.com>
    Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2. @kraj

    ARM: detect BX availibility at build time

    Yann E. MORIN committed with kraj
    The "use BX" option is now a suggestion that BX be used if available.
    Use a macro to detect if BX is available at build time. If so, and
    the user requested it be used, then use it. Otherwise, error out.
    
    Macro courtesy Khem RAJ:
      http://lists.uclibc.org/pipermail/uclibc/2009-April/042301.html
    
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
    Cc: Khem Raj <raj.khem@gmail.com>
    Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
  3. @kraj

    ARM: #include <bits/arm_asm.h> where __USE_BX__ is used

    Yann E. MORIN committed with kraj
    The check for __USE_BX__ will be available in bits/arm_asm.h,
    so the latter must be included wherever the former is used.
    
    Signed-off-by: "Yann E. MORIN" <yann.morin.1998@anciens.enib.fr>
    Cc: Khem Raj <raj.khem@gmail.com>
    Cc: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
    Cc: Carmelo AMOROSO <carmelo.amoroso@st.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
  4. @philb @kraj

    Fix __libc_epoll_pwait compile failure on x86

    philb committed with kraj
    This prevents "memory input 7 is not directly addressable" errors.
    
    | libc/sysdeps/linux/common/epoll.c: In function '__libc_epoll_pwait':
    | libc/sysdeps/linux/common/epoll.c:71:80: error: memory input 7 is not directly addressable
    | libc/sysdeps/linux/common/epoll.c:75:86: error: memory input 7 is not directly addressable
    | make: *** [libc/sysdeps/linux/common/epoll.o] Error 1
    | make: *** Waiting for unfinished jobs....
    
    Signed-off-by: Phil Blundell <pb@pbcl.net>
    Signed-off-by: Jason Woodward <jason.woodward@timesys.com>
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
Commits on May 27, 2011
  1. libc: make common longjmp usable with NPTL

    Filippo Arcidiacono committed with Carmelo Amoroso
    Call _longjmp_unwind conditionally under NPTL config option,
    making longjmp usable with NPTL.
    
    Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
  2. sh: use the common implementation for longjmp

    Filippo Arcidiacono committed with Carmelo Amoroso
    Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
  3. sh: fix build in !NPTL case

    Filippo Arcidiacono committed with Carmelo Amoroso
    Fix build issue due to missing symbols in !NPTL case:
    - vfork
    - _longjmp_unwind
    
    Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com>
    Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
Commits on May 13, 2011
  1. @kraj

    unwind.h: Move to libc/sysdeps from nptl sysdeps

    kraj committed
    Signed-off-by: Khem Raj <raj.khem@gmail.com>
  2. @aldot

    epoll: redo cancellation to match master

    aldot committed
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  3. @aldot

    epoll.c: add cancellation to epoll_[p]wait()

    Peter S. Mazinger committed with aldot
    While there, fix epoll_pwait syscall, it takes 6 arguments
    
    Signed-off-by: Peter S. Mazinger <ps.m@gmx.net>
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Commits on May 12, 2011
  1. @aldot

    wordexp: fix mishandled return value of pipe call

    aldot committed
    and use pipe2 if available while at it.
    
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  2. @aldot

    linux_specific: handle accept4 and pipe2

    aldot committed
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  3. @aldot

    NPTL: needs madvise internally

    aldot committed
    This fixes 8d09a50 since NPTL also uses
    madvise internally.
    
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  4. @aldot

    socket: fix stubs

    aldot committed
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Commits on May 11, 2011
  1. @aldot

    epoll: unify epoll.h

    aldot committed
  2. @aldot

    commentary typo fix

    aldot committed
    use cancellation (with two 'l') uniformly.
    
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  3. @aldot

    Implement epoll_create1 and epoll_pwait system calls.

    Thierry Reding committed with aldot
    Note: TODO: This lacks cancellation support.
    
    Signed-off-by: Thierry Reding <thierry.reding@avionic-design.de>
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
  4. @aldot

    add pipe2()

    aldot committed
    Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Something went wrong with that request. Please try again.