summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/bits
Commit message (Collapse)AuthorAgeFilesLines
* Include errno.h from kernel headers instead of using internal errno_values.hCarmelo Amoroso2008-07-021-135/+0
| | | | | | otherwie some errno will be missed (i.e. ENOKEY used in libusb) Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* - add missing #endifBernhard Reutner-Fischer2008-05-031-0/+1
|
* - implement splice,vmsplice,tee for all archesBernhard Reutner-Fischer2008-05-031-10/+13
| | | | - synch F_LINUX_SPECIFIC_BASE related fcntls for all arches
* A patch from our Blackfin repository, originally from Jie Zhang. This fixesBernd Schmidt2008-01-171-3/+0
| | | | | | | | | | | | | a problem where the linker was trying to use the wrong symbol name for the init function. Define SYMBOL_PREFIX as _ in Rules.mak for h8300, bfin, i960, microblaze, and v850. Add -D__UCLIBC_UNDERSCORES__ in CFLAGS for targets which define SYMBOL_PREFIX as _. Remove defines and undefs from uClibc_arch_features.h of each target. Add $(SYMBOL_PREFIX) to __uClibc_init when passed by ld option -init.
* change NO_UNDERSCORES to just UNDERSCORES so as to be less confusing when ↵Mike Frysinger2008-01-081-1/+1
| | | | doing double negatives
* Atsushi Nemoto writes:Mike Frysinger2007-02-151-348/+65
| | | | | | | | | | | | | | | When I imported INLINE_SYSCALL, etc. from glibc, I just copied whole macros for each ABI. Actually, except for argument type (long vs. long long), internal_syscall[0-4] are identical for all ABI, and internal_syscall[5-6] for N32/N64 are identical for N32/N64. And I just disabled FORCE_FRAME_POINTER since it had caused build failure, but including <alloca.h> can solve it. Here is a patch to handle these issues, plus asm/__asm__ and volatile/__volatile__ conversion. Thanks for Peter S. Mazinger who did basic work of this cleanup.
* Atsushi Nemoto writes:Mike Frysinger2007-02-121-0/+84
| | | | | | | | | | Current ucontext_t does not match with kernel's definition. Also, on N32 ABI, we can not use kernel's struct sigcontext since kernel's sizeof(long) and user's sizeof(long) is differ. For both data structure, just importing header files from recent glibc fixes the mismatch. So here is a patch importing sys/ucontext.h and bits/sigcontext.t from glibc-2.5.
* Atsushi Nemoto writes:Mike Frysinger2007-02-111-266/+583
| | | | | | | | This patch imports INLINE_SYSCALL, etc. from glibc-2.5 ports and implements _syscall[0-7] by using them, like arm and powerpc. I think this patch does not change functionality, but gives better __SYSCALL_CLOBBERS for N32/N64.
* Atsushi Nemoto writes: Add st_[amc]timensec to N32/N64 version of stat, add ↵Mike Frysinger2007-02-092-21/+23
| | | | st_[amc]time_nsec to each kernel_stat, and define STAT_HAVE_NSEC to convert them
* sync some stuff from glibc to fix test build failureMike Frysinger2007-02-041-6/+7
|
* Take Mike Frysinger's comments into account -- make certain that userEric Andersen2006-12-081-4/+0
| | | | | applications stop using _syscall#() and use syscall() instead. Cleanup internal handling of syscall includes to use the correct header file.
* update from mjn3Eric Andersen2006-12-061-2/+2
|
* bits/kernel_stat.h is for internal uClibc use only, fix a few otherEric Andersen2006-12-061-0/+4
| | | | minor include file issues
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-044-9/+130
| | | | Adjust for mips64 kernel.
* mips64 patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+10
| | | | | 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.
* based on a patch from Atsushi Nemoto:Eric Andersen2006-11-041-0/+13
| | | | | | | 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 with psm: sync with common socket headersMike Frysinger2006-08-251-7/+7
|
* fix from psm: enable readahead prototypeMike Frysinger2006-08-241-1/+3
|
* sync with psm: update errno handling to be the same on all archesMike Frysinger2006-08-231-7/+4
|
* sync with upstream via psmMike Frysinger2006-08-236-67/+171
|
* import new headers from upstream via psmMike Frysinger2006-08-231-0/+48
|
* bits/profil-counter.h and bits/atomicity.h are leftovers from the old gprofEric Andersen2006-08-211-98/+0
| | | | | based profiling I nuked ages ago since tools like oprofile are non invasive and work so much better.
* Joseph S. Myers writes: The MIPS <bits/mman.h> header is missing definitions ↵Mike Frysinger2006-04-211-0/+9
| | | | of POSIX_MADV_*
* sync with glibcMike Frysinger2006-04-211-1/+9
|
* sync with glibcMike Frysinger2006-03-293-29/+69
|
* Mark __syscall_*sigaction hidden and add guard to the headerPeter S. Mazinger2006-02-281-1/+6
|
* add prototype to get rid of warningMike Frysinger2006-02-011-0/+3
|
* disable usage of .setMike Frysinger2006-01-291-1/+1
|
* Allow for targets that don't know about signed zero floats."Jan-Benedict Glaw"2006-01-261-0/+3
|
* Change to sane defaultsPeter S. Mazinger2006-01-191-5/+10
|
* move a bunch of arch-specific checks out of common files and into an arch ↵Mike Frysinger2006-01-191-0/+33
| | | | specific header file to make porting/updates a lot easier
* sync __SYSCALL_CLOBBERS macro from glibcMike Frysinger2006-01-051-16/+11
|
* previous st_dev change from unsigned long (4bytes) to __dev_t (8bytes) ↵Mike Frysinger2006-01-011-5/+5
| | | | needed to shrink the pads as well to maintain ABI compat
* get rid of mips-specific types.h since common one contains more fixesMike Frysinger2005-12-012-148/+2
|
* define MREMAP_FIXEDMike Frysinger2005-11-271-0/+1
|
* update copyright and license, add _BITS_SETJMP_H protection around the file, ↵Mike Frysinger2005-11-161-2/+7
| | | | make sure we are only included by setjmp.h and pthread.h, and fix casting of address/jumpbugf in _JMPBUF_UNWINDS
* Update from (older) glibc code.Manuel Novoa III2005-08-032-1/+50
|
* POSIX requires that fields st_dev and st_rdev to be of type dev_t.Manuel Novoa III2005-08-031-4/+4
|
* Since we're now always using IPC_64, we need this. Otherwise, some of the ↵Manuel Novoa III2005-07-301-2/+21
| | | | perl tests fail on mipsel.
* s/__kernel_time_t/__time_tJoakim Tjernlund2005-07-281-2/+2
|
* A while back, the sysvipc code was changed to use IPC_64 in the calls.Manuel Novoa III2005-07-281-0/+85
| | | | | | Unfortunatly, the semid_ds structs were not changed as needed. So import the necessary (tweaked) files from glibc. Only tested on x86 today, but I'll be testing mips tomorrow.
* Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"2005-05-121-0/+303
| | | | 'include/atomic.h' to add in new atomic operations for use by NPTL. There are multiple files for PowerPC and Sparc for 'atomic.h'. I will let those architecture maintainers choose the correct file. The files come from glibc in 'sysdeps/ARCH/bits'.
* Hopefully fix the problem reported by Peter Mazinger,Joakim Tjernlund2005-05-071-0/+94
| | | | | | | see http://uclibc.org/lists/uclibc/2005-May/011667.html for details. Not tested by me but I am sure Peter will :) The toolchain needs to be rebuilt.
* Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund2005-04-242-0/+129
| | | | syscalls. This won't work on 2.2 kernels(I think).
* Further rework the mips syscallsEric Andersen2005-04-131-183/+221
|
* Cleanup the mips syscalls a bit more, and fix a fewEric Andersen2005-04-011-34/+34
| | | | annoying warnings.