Age | Commit message (Collapse) | Author | |
---|---|---|---|
2008-10-24 | - tidy up inline: | Bernhard Reutner-Fischer | |
ldso and syscalls are __always_inline (the latter would need more cleanup) | |||
2008-10-22 | - remove superfluous ';'. No objcode changes. | Bernhard Reutner-Fischer | |
2008-10-22 | - delete_module() takes two arguments on linux-2.6 | Bernhard Reutner-Fischer | |
Closes #5644 | |||
2008-10-19 | - fix sigaction on older kernels (Michael Deutschmann) | Bernhard Reutner-Fischer | |
In issue #5554 Michael wrote: The implementation of sigaction on i386 for older kernels makes the system call using an inline asm element with two flaws: 1. The asm is not marked as depending on the kact structure or modifying the koact structure. Thus, GCC is free to assume these structures need not be kept consistent, allowing it to remove all initialization of kact. 2. The asm allows the signal number to be provided as a memory reference. But this allows GCC to provide a stack-relative operand, which will break because the assembler saves %ebx on the stack before using that operand. 1 didn't use to be a problem in practice because GCC 4.2.* didn't seize the optimization opportunity. GCC 4.3.2, however, optimizes out the "kact.sa_flags = act->sa_flags | SA_RESTORER;" line, so that the kernel sees garbage in sa_flags. This can result in the kernel seeing the SA_RESETHAND flag, causing erratic behaviour in signal dependent programs. 2 becomes an issue if "-fomit-frame-pointer" is provided. In uClibc-0.9.29 it isn't, uClibc-0.9.30-rc2 does use the flag by default. | |||
2008-10-10 | - fix copy'n paste error | Bernhard Reutner-Fischer | |
2008-10-10 | - fix return value | Bernhard Reutner-Fischer | |
2008-10-10 | - add signalfd() | Bernhard Reutner-Fischer | |
2008-10-06 | - fix typo in previous commit | Bernhard Reutner-Fischer | |
2008-10-06 | - add libc_hidden_def(clock_getres) as spotted by Ned Ludd | Bernhard Reutner-Fischer | |
2008-10-06 | - Fallback waitid impl (Peter S. Mazinger) | Bernhard Reutner-Fischer | |
2008-10-06 | - tweak inclusion of asm/socket.h for linux-2.4 (Peter S. Mazinger) | Bernhard Reutner-Fischer | |
2008-10-03 | - add long double math wrappers (Ned Ludd) | Bernhard Reutner-Fischer | |
2008-10-03 | - use c89-style comments | Bernhard Reutner-Fischer | |
Closes issue #5194 | |||
2008-09-30 | - add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBS | Bernhard Reutner-Fischer | |
2008-09-29 | - add a copy of user_regs | Bernhard Reutner-Fischer | |
2008-09-29 | - honour UCLIBC_HAS_SYSLOG | Bernhard Reutner-Fischer | |
2008-09-29 | - now passes all LTP tests | Bernhard Reutner-Fischer | |
2008-09-29 | - fix ISO C keywords | Bernhard Reutner-Fischer | |
2008-09-26 | use __UCLIBC_HAS_STUBS__ | Mike Frysinger | |
2008-09-26 | - move libm_hidden_proto to the corresponding headers. Remove from callsites. | Bernhard Reutner-Fischer | |
Note that gamma_r is not provided by glibc, perhaps add a SUN specific knob later | |||
2008-09-26 | Correct _init()/_fini() for CRISv32 as suggested by Stefan de Konink. | Peter Kjellerstedt | |
2008-09-25 | - also clean .oS | Bernhard Reutner-Fischer | |
2008-09-25 | - fix !LFS case for i386 | Bernhard Reutner-Fischer | |
2008-09-25 | - arm eabi needs __UCLIBC_TRUNCATE64_HAS_4_ARGS__ | Bernhard Reutner-Fischer | |
(75_all_uClibc-arm-ftruncate64.patch from gentoo) | |||
2008-09-25 | sh: Fix SYSCALL_INST_STRx to work for SH-2[A] core by using the | Carmelo Amoroso | |
__SH_SYSCALL_TRAP_BASE macro. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||
2008-09-25 | delete/init module functions are not 2.4 specific | Mike Frysinger | |
2008-09-24 | - only compile them if the respective syscalls are available | Bernhard Reutner-Fischer | |
2008-09-22 | Add work-around for powerpc. | Carmelo Amoroso | |
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> | |||
2008-09-19 | - add posix_fadvise. Not yet tested most likely broken in advise64 | Bernhard Reutner-Fischer | |
2008-09-19 | - take LFS into account and add fallback via fadvise64 | Bernhard Reutner-Fischer | |
2008-09-19 | - posix_fadvise64 for i386 | Bernhard Reutner-Fischer | |
2008-09-18 | Fix posix_fadvise[64] functions to return the error number in case | Carmelo Amoroso | |
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> | |||
2008-09-17 | avr32: add defines and prototype function for sync_file_range syscall | Hans-Christian Egtvedt | |
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> | |||
2008-09-16 | - sync_file_range(). Missed the i386 directory in previous commit | Bernhard Reutner-Fischer | |
2008-09-16 | Add INTERNAL_SYSCALL macros for sh | Carmelo Amoroso | |
2008-09-16 | - add sync_file_range() | Bernhard Reutner-Fischer | |
Tested successfully on i386.. | |||
2008-09-13 | xtensa: The Xtensa port needs to define the __UCLIBC_TRUNCATE64_HAS_4_ARGS__ ↵ | Chris Zankel | |
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 | |||
2008-09-12 | - fix typo | Bernhard Reutner-Fischer | |
2008-09-11 | - remove relocations for clock_getres | Bernhard Reutner-Fischer | |
2008-09-09 | Hush compiler for extern inline warnings by using | Carmelo Amoroso | |
__extern_inline macro, this also makes gcc 4.3 happy. (Taken from NPTL branch) Signed-off-by: Khem Raj <raj.khem@gmail.com> | |||
2008-09-09 | Use getdents syscall if kernel provide supports for this | Carmelo Amoroso | |
instead of relying upon getdents64. Signed-off-by: Filippo Arcidiacono <filippo.arcidiacono@st.com> Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com> | |||
2008-09-04 | Follow sh asm convention to indent the instruction into the delay slot. | Carmelo Amoroso | |
(glibc community refused to apply a my patch for this :-) ) | |||
2008-09-04 | Kill off the GOT lookup for init/fini in the sh crti.S. This was | Paul Mundt | |
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. | |||
2008-08-27 | - remove a couple of duplicate includes | Bernhard Reutner-Fischer | |
2008-08-20 | - Fix powerpc pread/pwrite (Wade Berrier) | Bernhard Reutner-Fischer | |
pread/write wanted to send an 8 byte value in the syscall where only 4 bytes were allowed. | |||
2008-08-08 | Fix SH ldso sequence startup. | Carmelo Amoroso | |
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> | |||
2008-08-06 | - some more asm keyword fixes (Yann E. MORIN) | Bernhard Reutner-Fischer | |
2008-07-23 | - trim any trailing whitespace | Bernhard Reutner-Fischer | |
2008-07-23 | - fix inline keyword | Bernhard Reutner-Fischer | |
2008-07-23 | - fix asm and volatile keywords | Bernhard Reutner-Fischer | |