summaryrefslogtreecommitdiff
path: root/libc/sysdeps
AgeCommit message (Collapse)Author
2006-11-04based on a patch from Atsushi Nemoto:Eric Andersen
There is a mismatch of struct msghdr between the kernel and libc. In a 64-bit environment, the size of msg_namelen is 4 for all, but the size of msg_iovlen and msg_controllen is 8 bytes for the kernel and for glibc, but 4 bytes for uClibc. Fix size for the 64bit case.
2006-10-23Merge SH-2 trapa fixups from Mark.Paul Mundt
2006-10-16 Mark Shinwell <shinwell@codesourcery.com> * libc/sysdeps/linux/sh/vfork.S: Use __SH_SYSCALL_TRAP_BASE. Also use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/syscall.c: Use __SH_SYSCALL_TRAP_BASE. * libc/sysdeps/linux/sh/bits/uClibc_arch_features.h: Use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/bits/syscalls.h (__SH_SYSCALL_TRAP_BASE): New. Use instead of hard-coded trap numbers in the various __NR_<name> macros. * libc/sysdeps/linux/sh/clone.S: Use __SH_SYSCALL_TRAP_BASE. Also use __CONFIG_SH2__ rather than __sh2__, for consistency. * libc/sysdeps/linux/sh/crti.S: Disable GOT-related code if __HAVE_SHARED__ is not set. * libc/sysdeps/linux/sh/pipe.c (pipe): Use __SH_SYSCALL_TRAP_BASE.
2006-10-07Add the mmap.c missed out in the last commit.Khem Raj
2006-10-07Add mmap function needed for ARM EABI and define thumb specific ↵Khem Raj
INTERNAL_SYSCALL macro which saves r7 before making the call and pops it back after return.
2006-09-28implement support for the rest of the 32bit uid syscallsMike Frysinger
2006-09-25Do not include tls.h unless __UCLIBC_HAS_THREADS__ is defined.Peter Kjellerstedt
2006-09-23only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by ↵Mike Frysinger
Miguel Ángel
2006-09-22Remove code to define errno in this file. It is definitly not neededPeter Kjellerstedt
when building with thread support (which we normally do), and as far as I can tell it should not be needed otherwise either. And as it did not build with the latest binutils and gcc, the choice was easy...
2006-09-19Allow the res argument to clock_getres() to be NULL.Peter Kjellerstedt
2006-09-11Atsushi Nemoto writes:Eric Andersen
The "make headers_install" in kernel 2.6.18 does not export asm-mips/asm.h, asm-mips/regdef.h and asm-mips/sysmips.h. Do not use them. We can use sys/asm.h and sys/regdef.h instead. The sysmips.h part of this patch is came from glibc 2.4 code.
2006-09-11The readahead syscall requires LFS/64 bit supportEric Andersen
2006-08-31Fix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmpKhem Raj
2006-08-31Made it compile again.Peter Kjellerstedt
2006-08-30tweak a few syscalls using varargsEric Andersen
2006-08-25Bump SHMLBA up to a sensible size for dcache alias avoidance to coincide withPaul Mundt
the kernel's get_unmapped_area() behaviour. Ideally this should be more tightly packed based off of the L1 dcache shape, once we're able to handle it through the auxiliary vector.
2006-08-25merge with psm: sync with common socket headersMike Frysinger
2006-08-24fix from psm: enable readahead prototypeMike Frysinger
2006-08-24only pull in errno.h when not assemblerMike Frysinger
2006-08-24implement readahead()Mike Frysinger
2006-08-24fixups from psm for ASSEMBLER handlingMike Frysinger
2006-08-24use the common huge_val.h version nowMike Frysinger
2006-08-24update to new huge_val headersMike Frysinger
2006-08-24fix from psm: disable unsupported featuresMike Frysinger
2006-08-24fix from psm: just use common resource.hMike Frysinger
2006-08-24just be like every other uclibc portMike Frysinger
2006-08-24sync with glibcMike Frysinger
2006-08-24add back in HIDDEN_JUMPTARGET() as pointed out by psmMike Frysinger
2006-08-24sync with upstream via psmMike Frysinger
2006-08-24s/ifdef ASM/ifndef ASM/ as point out by psmMike Frysinger
2006-08-24sync with upstream via psmMike Frysinger
2006-08-24sync with upstream via psmMike Frysinger
2006-08-23psm updates: add __libc symbols for signal cancellationMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23sync with psm: update errno handling to be the same on all archesMike Frysinger
2006-08-23merge from psm: hide more brkMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23sync with upstream via psmMike Frysinger
2006-08-23import new headers from upstream via psmMike Frysinger
2006-08-23fix from psm: remove unused defines/includesMike Frysinger
2006-08-23fixes from psm: use new clone definitionMike Frysinger
2006-08-23fixes from psm: use __asm__/__volatile__Mike Frysinger
2006-08-23fix from psm: remove unused defines/includesMike Frysinger
2006-08-23sync with upstream glibcMike Frysinger
2006-08-23fixes from psm: hide internal brk symbolsMike Frysinger
2006-08-23fixes from psm: disable unsupported __fpu_control and sync with upstreamMike Frysinger
2006-08-23sync with psm: add copyright noticeMike Frysinger
2006-08-23Bogus page size comment for frv PAGE_SHIFT.Paul Mundt
2006-08-23Jie Zhang writes: Fix struct kernel_stat64 for Blackfin.Mike Frysinger
2006-08-23fix upstream blackfin page.h rather than duplicating effort hereMike Frysinger
2006-08-21bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen
based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.