summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux
Commit message (Collapse)AuthorAgeFilesLines
...
* Richard Sandiford writes: add support for init/fini arrays in shared flat ↵Mike Frysinger2006-12-087-50/+123
| | | | libraries
* seems this is the newfangled way to tell folks this stuffEric Andersen2006-12-081-1/+1
| | | | is really really and we mean it this time, for uClibc only
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-08198-283/+176
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* add some warnings to archs that need a bit of attentionEric Andersen2006-12-084-0/+4
|
* if __NR_swapon does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* if __NR_swapoff does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* if __NR_msync does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+5
|
* only define mremap() if the syscall existsMike Frysinger2006-12-081-0/+5
|
* if __NR_mprotect does not exist, dont try and create a syscall for itMike Frysinger2006-12-081-0/+3
|
* this stuff is for uClibc internal use onlyEric Andersen2006-12-081-0/+2
|
* finish the pthread locking cleanups. This should get things compiling againEric Andersen2006-12-082-2/+2
| | | | though I still need to silence the warnings about _pthread_cleanup_push_defer
* Fill in a few more of the missing pieces...Eric Andersen2006-12-081-0/+1
|
* Major cleanup of internal mutex locking. Be more consistant in how we doEric Andersen2006-12-073-132/+172
| | | | | | | 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.
* stdio update from mjn3Eric Andersen2006-12-061-8/+40
|
* update from mjn3Eric Andersen2006-12-061-2/+2
|
* prepare to later remove bits/kernel_types.h from bits/types.hEric Andersen2006-12-062-0/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-0623-0/+87
| | | | minor include file issues
* pulling in kernel config.h wont flyMike Frysinger2006-12-061-0/+6
|
* PTHREAD_THREADS_MAX is supposed to be in pthread-specific dir, but for now ↵Mike Frysinger2006-12-021-2/+0
| | | | it lives in bits/uClibc_local_lim.h
* Remove definition of TIMER_MAX which breaks builds of GCC-4.2 and in glibc ↵"Steven J. Hill"2006-12-021-3/+0
| | | | code it is not defined.
* remove redundant headers local to libpthread, causing headerEric Andersen2006-11-291-2/+5
| | | | file content skew between the versions
* - honor __UCLIBC_HAS_LFS__Bernhard Reutner-Fischer2006-11-291-0/+2
|
* Bernd Schmidt writes: [blackfin updates] add support for FDPIC and include ↵Mike Frysinger2006-11-173-5/+62
| | | | L1 functions
* revert PTHREAD_THREADS_MAX back to former size since the large majority of ↵Mike Frysinger2006-11-171-2/+3
| | | | people out there will not need more than 1k threads (and people who do can change this themselves)
* arm thumb:Eric Andersen2006-11-102-19/+96
| | | | | | | | | | | | | | | | | | | | | | 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.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-061-1/+1
| | | | We should use "PTR_LA" instead of "la" for N64 ABI.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-8/+19
| | | | | No pread64, pwrite64 syscall for N64 ABI. Make __libc_pread and __libc_pread64 use same syscall.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-044-9/+130
| | | | Adjust for mips64 kernel.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-044-11/+255
| | | | miscellaneous asm routines
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-046-1/+111
| | | | | 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.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+96
| | | | The mips64 N32/N64 ABI can pass much arguments via registers.
* mips64 patch from Atsushi NemotoEric Andersen2006-11-041-0/+61
| | | | | This is a bit twisted dirent.h can be used for both getdirent and getdirent64 case on mips/mips64.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-1/+1
| | | | | The kernel include/asm-mips/posix_types.h defines __kernel_ino_t as unsigned long.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-2/+2
| | | | | The predefined _MIPS_SZPTR (32 for O32 or N32, 64 for N64) can be used for WORDSIZE. This is came from glibc code.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+38
| | | | | It seems these codes dropped when importing from glibc. This is required for mips64.
* based on a patch from Atsushi Nemoto:Eric Andersen2006-11-042-0/+23
| | | | | | | 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.
* Merge SH-2 trapa fixups from Mark.Paul Mundt2006-10-238-42/+61
| | | | | | | | | | | | | | | | | | | | 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.
* Add the mmap.c missed out in the last commit.Khem Raj2006-10-071-0/+30
|
* Add mmap function needed for ARM EABI and define thumb specific ↵Khem Raj2006-10-072-1/+24
| | | | INTERNAL_SYSCALL macro which saves r7 before making the call and pops it back after return.
* implement support for the rest of the 32bit uid syscallsMike Frysinger2006-09-2811-15/+129
|
* Do not include tls.h unless __UCLIBC_HAS_THREADS__ is defined.Peter Kjellerstedt2006-09-251-3/+5
|
* only include _lfs_64.h when __UCLIBC_HAS_LFS__ is defined as pointed out by ↵Mike Frysinger2006-09-231-1/+3
| | | | Miguel Ángel
* Remove code to define errno in this file. It is definitly not neededPeter Kjellerstedt2006-09-221-9/+0
| | | | | | 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...
* Allow the res argument to clock_getres() to be NULL.Peter Kjellerstedt2006-09-191-5/+8
|
* Atsushi Nemoto writes:Eric Andersen2006-09-114-7/+15
| | | | | | | 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.
* The readahead syscall requires LFS/64 bit supportEric Andersen2006-09-111-0/+4
|
* Fix from Joseph Myers: Save and restore iWMMXt registers in ARM setjmp/longjmpKhem Raj2006-08-313-1/+21
|
* Made it compile again.Peter Kjellerstedt2006-08-311-3/+2
|
* tweak a few syscalls using varargsEric Andersen2006-08-305-21/+20
|
* Bump SHMLBA up to a sensible size for dcache alias avoidance to coincide withPaul Mundt2006-08-252-0/+212
| | | | | | | 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.