summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
2008-10-30File removed as it was not only redundant but also horribly out of date.Ricard Wanderlof
2008-10-28- trim superfluous ';'. No objcode changesBernhard Reutner-Fischer
2008-10-28- fix compilation if LFS is off and STUBs are requestedBernhard Reutner-Fischer
2008-10-24- fix mips syscall (Atsushi Nemoto)Bernhard Reutner-Fischer
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.6Bernhard 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 errorBernhard Reutner-Fischer
2008-10-10- fix return valueBernhard Reutner-Fischer
2008-10-10- add signalfd()Bernhard Reutner-Fischer
2008-10-06- fix typo in previous commitBernhard Reutner-Fischer
2008-10-06- add libc_hidden_def(clock_getres) as spotted by Ned LuddBernhard 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 commentsBernhard Reutner-Fischer
Closes issue #5194
2008-09-30- add missing const qualifier for !__NR_sched_setaffinity && HAVE_STUBSBernhard Reutner-Fischer
2008-09-29- add a copy of user_regsBernhard Reutner-Fischer
2008-09-29- honour UCLIBC_HAS_SYSLOGBernhard Reutner-Fischer
2008-09-29- now passes all LTP testsBernhard Reutner-Fischer
2008-09-29- fix ISO C keywordsBernhard Reutner-Fischer
2008-09-26use __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-26Correct _init()/_fini() for CRISv32 as suggested by Stefan de Konink.Peter Kjellerstedt
2008-09-25- also clean .oSBernhard Reutner-Fischer
2008-09-25- fix !LFS case for i386Bernhard 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-25sh: Fix SYSCALL_INST_STRx to work for SH-2[A] core by using theCarmelo Amoroso
__SH_SYSCALL_TRAP_BASE macro. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
2008-09-25delete/init module functions are not 2.4 specificMike Frysinger
2008-09-24- only compile them if the respective syscalls are availableBernhard Reutner-Fischer
2008-09-22Add 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 advise64Bernhard Reutner-Fischer
2008-09-19- take LFS into account and add fallback via fadvise64Bernhard Reutner-Fischer
2008-09-19- posix_fadvise64 for i386Bernhard Reutner-Fischer
2008-09-18Fix posix_fadvise[64] functions to return the error number in caseCarmelo 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-17avr32: add defines and prototype function for sync_file_range syscallHans-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 commitBernhard Reutner-Fischer
2008-09-16Add INTERNAL_SYSCALL macros for shCarmelo Amoroso
2008-09-16- add sync_file_range()Bernhard Reutner-Fischer
Tested successfully on i386..
2008-09-13xtensa: 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 typoBernhard Reutner-Fischer
2008-09-11- remove relocations for clock_getresBernhard Reutner-Fischer
2008-09-09Hush 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-09Use getdents syscall if kernel provide supports for thisCarmelo 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-04Follow 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-04Kill off the GOT lookup for init/fini in the sh crti.S. This wasPaul 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 includesBernhard 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-08Fix 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>