summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used for WORDSIZE. This is came from glibc code.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
It seems these codes dropped when importing from glibc. This is required for mips64.
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-11-03remove duplicated/unused ASSERT codeMike Frysinger
2006-11-03dont need to force optimization in CFLAGS anymore (if this fails your ↵Mike Frysinger
compiler prob sucks anyways)
2006-11-02In bug 622, JohnAta writes:Eric Andersen
In 2005, Congress passed a law so that in 2007, the second week of March starts DST. Previously, it was the first week of April. The uclibc time library routines apparently have not been updated to reflect this new processing. Using the current version of uclibc, on March 11, 2007 the reported time will be incorrect.
2006-10-26some updates noting things that should be doneEric Andersen
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-22dont require DOPIC with FORCE_SHAREABLE_TEXT_SEGMENTSMike Frysinger
2006-10-19Joseph S. Myers writes:Eric Andersen
There are many directories called "CVS" checked into uClibc SVN, probably as a side-effect of importing a CVS checkout. I don't think these are particularly useful to have checked in.
2006-10-19Make strdup() use memcpy() rather than strcpy() to duplicate the string. Peter Kjellerstedt
The rationale is that we already have the length of the string to duplicate (from doing the malloc()), and memcpy() should then always be faster than strcpy() (or at least as fast).
2006-10-10Make _dl_linux_resolve interworking safe. Thanks Paul BrookKhem Raj
2006-10-07Add the mmap.c missed out in the last commit.Khem Raj
2006-10-07Add config options to select ARM ARMv5 and Intel iwmmxt variants.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-10-07Sergey Lapin says the undefined syscall numbers from unistd.h do not get ↵Khem Raj
propogated into generated sysnum.h.
2006-10-07fixup from Bernd Schmidt to properly document DL_ADDR_TO_FUNC_PTRMike Frysinger
2006-10-07Bernd Schmidt writes:Mike Frysinger
This introduces a new SEND_EARLY_STDERR macro that is to be used in dl-startup.c before ld.so is relocated. It is needed on Blackfin (and frv) FDPIC since we have to use special tricks to get the address of a string constant. EARLY_STDERR_SPECIAL gets defined on such a machine and prevents printing of debug strings inside the loop that relocates ld.so, since we can't decide which of the two variants to use.
2006-10-07Don't use r10 to find PIC base. In GCC 4.1.1 onwards ARM PIC handling uses ↵Khem Raj
pseudo register for PIC base so load and relocate it.
2006-10-07the makefile will include elf.h for us #778Mike Frysinger
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-23fix return casts for a bunch of functionsMike Frysinger
2006-09-23grab s_lrint from glibc for C99Mike Frysinger
2006-09-23only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by ↵Mike Frysinger
Miguel Ángel
2006-09-22Added support for sysconf(_SC_MONOTONIC_CLOCK).Peter Kjellerstedt
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-21use proper #APP lines so that the assembler knows when it needs to handle ↵Mike Frysinger
parsing (see http://sources.redhat.com/ml/binutils/2004-04/msg00665.html)
2006-09-19Allow the res argument to clock_getres() to be NULL.Peter Kjellerstedt
2006-09-19merge some more FDPIC related fixes from Bernd SchmidtMike Frysinger
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-09-10remove version checking code and add some more commentsMike Frysinger
2006-09-09make this stuff actually readableMike Frysinger
2006-09-08add some inline funcs for the mlock funcs on no-mmuMike Frysinger
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-30fix bug 1012 as noted by moschnyEric Andersen
2006-08-30tweak a few syscalls using varargsEric Andersen
2006-08-25fix from psm to make sure host make is new enoughMike Frysinger
2006-08-25fix from psm: DODEBUG_PT is only meaningful for LINUXTHREADS_OLD, add: ↵Mike Frysinger
depends on LINUXTHREADS_OLD
2006-08-25fix from psm: makes use of the malloc debug option in malloc-standard as wellMike Frysinger
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-24merge fixes from upstream (rev 1.10 -> 1.13)Mike Frysinger
2006-08-24- only link asm-generic if it exists.Bernhard Reutner-Fischer
PS: test for existence on Slowaris was disfunctional, last time i looked. Shouldn't matter much here, though..
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