summaryrefslogtreecommitdiff
path: root/libc
AgeCommit message (Collapse)Author
2006-12-08if __NR_swapon does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08if __NR_swapoff does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08if __NR_msync does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08only define mremap() if the syscall existsMike Frysinger
2006-12-08if __NR_mprotect does not exist, dont try and create a syscall for itMike Frysinger
2006-12-08this stuff is for uClibc internal use onlyEric Andersen
2006-12-08finish the pthread locking cleanups. This should get things compiling againEric Andersen
though I still need to silence the warnings about _pthread_cleanup_push_defer
2006-12-08__resolv_lock is supposed to be shared, not static Eric Andersen
2006-12-08Fill in a few more of the missing pieces...Eric Andersen
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
2006-12-07Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen
things, and avoid potential deadlocks caused when a thread holding a uClibc internal lock get canceled and terminates without releasing the lock. This change also provides a single place, bits/uClibc_mutex.h, for thread libraries to modify to change all instances of internal locking.
2006-12-06stdio update from mjn3Eric Andersen
2006-12-06update from mjn3Eric Andersen
2006-12-06prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen
2006-12-06bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen
minor include file issues
2006-12-06pulling in kernel config.h wont flyMike Frysinger
2006-12-02PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger
it lives in bits/uClibc_local_lim.h
2006-12-02(no commit message)"Steven J. Hill"
2006-12-02Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"
code it is not defined.
2006-11-29remove redundant headers local to libpthread, causing headerEric Andersen
file content skew between the versions
2006-11-29- honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer
2006-11-29- Cleanout the only occurance of the SUSv3 LEGACY function getwd() that wasBernhard Reutner-Fischer
furthermore ifdef'ed out anyway.
2006-11-29- gcvt() is marked LEGACY in XSI and mandatory in BSD.Bernhard Reutner-Fischer
Also make compilation conditional on float support.
2006-11-27fix from cmetcalf to make sure we clear the auxvt table before using itMike Frysinger
2006-11-17Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger
L1 functions
2006-11-17revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger
people out there will not need more than 1k threads (and people who do can change this themselves)
2006-11-10arm thumb:Eric Andersen
Put the call_via_rx code into each executable - call_via_ip cannot possibly work if called through the PLT! ldso requires this code too as it is not linked with the crt stuff and thumb ldso does make calls via a register. The patch puts the code into crti.S so that it is linked into every normally built application (if thumb or interworking is selected). This is only 30 extra bytes and it works - the previous code did not because nothing both implemented and exported the APIs (they were in libgcc, but not in the version script). crti.S and crtn.S is also brought up to date with GCC 3.4.4 - this is essential for thumb support because the .init and .fini sections must use arm or thumb code to match the compilation of the libraries. Note that code which pushes stuff into .init or .fini must be compiled with or without -mthumb to match the uclibc compilation - and gcc itself (which does do this) must therefore be compiled to match.
2006-11-07I failed to check the patch adding support for the new (stupid) US 2007Eric Andersen
daylight savings time rules when xlocale was enabled. Fix compile error.
2006-11-06mips64 patch from Atsushi Nemoto:Eric Andersen
We should not use old stype ipc_perm for 64-bit mips kernel. I suppose other 64-bit platforms shoule define __IPC_64 also and we can define it unconditionally, but not sure for other archs ...
2006-11-06mips64 patch from Atsushi Nemoto:Eric Andersen
We should use "PTR_LA" instead of "la" for N64 ABI.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
No pread64, pwrite64 syscall for N64 ABI. Make __libc_pread and __libc_pread64 use same syscall.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
Adjust for mips64 kernel.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
miscellaneous asm routines
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The mips64 N32/N64 ABI have a bit different register usage convention. Also the register size for these ABI is 8 byte. Use ld/sd for them.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The mips64 N32/N64 ABI can pass much arguments via registers.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
Import mips64 version of memset, memcpy from glibc.
2006-11-04mips64 patch from Atsushi NemotoEric Andersen
This is a bit twisted dirent.h can be used for both getdirent and getdirent64 case on mips/mips64.
2006-11-04mips64 patch from Atsushi Nemoto:Eric Andersen
The kernel include/asm-mips/posix_types.h defines __kernel_ino_t as unsigned long.
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-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-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-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-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-22Added support for sysconf(_SC_MONOTONIC_CLOCK).Peter Kjellerstedt