summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips/bits
Commit message (Collapse)AuthorAgeFilesLines
...
* 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.
* Make mips/mipsel syscalls no longer complain about the "use of memory inputEric Andersen2005-03-141-6/+12
| | | | without lvalue in asm". Give the asm an lvalue so it can be happy.
* no more cvsMike Frysinger2005-02-121-1/+0
|
* Atsushi Nemoto writes:Eric Andersen2004-10-191-8/+8
| | | | | | | | | In a recent post to linux-mips ML (and libc-alpha ML), a problem with inline syscalls was reported. http://www.linux-mips.org/archives/linux-mips/2004-10/msg00142.html It seems uClibc should be fixed also for newer gcc. Here is a patch.
* Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen2004-08-212-95/+0
| | | | | | | | size and performance penalty to profiling applications this way, as well as Heisenberg effects, where the act of measuring changes what is measured. There are better tools for doing profiling, such as OProfile, that do not require gcc to instrument the application code. -Erik
* Logic was reversed.Manuel Novoa III2004-08-151-2/+2
|
* Fixup PAGE_SIZE problemsEric Andersen2004-08-131-0/+35
| | | | -Erik
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-3/+3
|
* Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen2004-02-061-0/+2
| | | | | | | | | '__kernel_old_dev_t'. And of course there is no good way to know which is in use except checking linux/version.h. Grumble. This is rather lame, but for now, define __kernel_old_dev_t to be the same as __kernel_dev_t. This will want to be revisited soon. -Erik
* Use the common version for bits/sem.h. Fixup the types toEric Andersen2003-08-141-85/+0
| | | | match the kernel type exactly.
* For sparc, powerpc, mips, and alpha we should also use theEric Andersen2003-08-041-55/+0
| | | | | common ipc.h header and struct definitions. -Erik
* Remove the arch specific shm.h and use the fixed up commonEric Andersen2003-08-011-89/+0
| | | | | one which now uses the kernel structs -Erik
* Patch from Liam Girdwood to fix mips profiling when usingEric Andersen2003-04-161-0/+5
| | | | newer gcc versions.
* Compliance with MIPS ABI and MIPS kernel changes."Steven J. Hill"2003-03-111-8/+0
|
* Initial effort at adding profiling support.Eric Andersen2003-03-034-0/+221
|
* Some stuff I forgot to check in about a month ago...Eric Andersen2003-02-232-27/+39
| | | | -Erik
* A few more needed updatesEric Andersen2003-01-242-1/+141
|
* Finish up fixing stat and setting various system types.Eric Andersen2003-01-241-10/+9
|
* Ok, people are probably going to hate me for this... This commit changes theEric Andersen2003-01-241-74/+5
| | | | | | | | | | | | | | | type of 'struct stat' and 'struct stat64' so they use consistant types. This change is the result of a bug I found while trying to use GNU tar. The problem was caused by our using kernel types within struct stat and trying to directly compare these values with standard types. Trying an 'if (a < b)' when 'a' is an 'unsigned long' and 'b' is an 'int' leads to very different results then when comparing entities of the same type (i.e. time_t values).... Grumble. Nasty stuff, but I'm glad I got this out of the way now. As a result of this fix, uClibc 0.9.17 will not be binary compatible with earlier releases. I have always warned people this can and will happen. -Erik
* Changed '__kernel_nlink_t' data type to match Linux/MIPS kernel type"Steven J. Hill"2003-01-221-1/+1
| | | | | definition and to be consistent with the ABI. Done per conversation with Ralf (Linux/MIPS) maintainer.
* Octal to hexEric Andersen2002-10-091-1/+1
|
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-052-3/+3
|
* Added __kernel_fsid_t to satisfy some apps that need it.David McCullough2002-08-271-0/+4
| | | | Definitions taken from 2.4 kernel sources for each of the platforms.
* Make bits/kernel_types.h include guard names match the includeEric Andersen2002-08-261-3/+9
| | | | | | | guard names used by the kernel's asm/posix_types.h to eliminate gratuitous conflicts and let our file win over the very-likely- to-be-broken kernel header file. -Erik
* Finish off the bits/kernel_stat.h cleanup for properEric Andersen2002-08-251-0/+48
| | | | | __USE_FILE_OFFSET64 handling. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-9/+1
| | | | | header, which is not directly usable for many architectures. -Erik
* Break dependancy of bits/types.h on the asm/posix_types.h kernelEric Andersen2002-08-241-0/+56
| | | | | header, which is not directly usable for many architectures. -Erik
* Split out the definition of struct stat into the new archEric Andersen2002-08-231-0/+78
| | | | | specific bits/kernel_stat.h file. -Erik
* Split out the arch dependant errno_values.h junk into arch dependant files.Eric Andersen2002-08-231-0/+135
| | | | -Erik
* Rework struct stat/stat64 handling to eliminate kernel headersEric Andersen2002-08-221-78/+0
| | | | -Erik
* Rework errno handling to be kernel header freeEric Andersen2002-08-221-56/+0
| | | | -Erik
* Revert mode_t change. Sigh. As Manuel so eloquently put it: "this is the wayEric Andersen2002-08-211-1/+1
| | | | | | we hose our code... hose our code... hose our code... this is the way we hose our code... all thanks to glibc" -Erik
* Eliminate wrapping of struct stat and use the kernel versionEric Andersen2002-08-192-78/+16
| | | | | | directly. Eliminate all the attendant baggage. Fix internal types to match kernel types more closely. -Erik
* Directly use kernel types for uid_t, gid_t, and dev_t to avoid theEric Andersen2002-08-181-5/+12
| | | | | need to translate these entities... -Erik
* Replace all instances of _LIBC_REENTRANT with __UCLIBC_HAS_THREADS__Eric Andersen2002-08-161-1/+1
| | | | -Erik
* Cleanup error returns to avoid warningsEric Andersen2002-08-091-8/+8
| | | | -Erik
* The __set_errno macro _must_ match that defined in include/bits/errno.h. WeEric Andersen2002-07-261-1/+9
| | | | | | | can't tack in the return -1 since then when people include errno.h, the return -1 mysteriously vanishes... Setting the __set_errno back and restoring the 'return -1;' calls to each _syscall[0-n] macro makes mips syscalls work again. -Erik
* ldso specific syscalls and userspace syscalls all in one file now."Steven J. Hill"2002-07-251-5/+214
|
* Rework syscall handling. Rewrite syscall handlers for x86 and ARM.Eric Andersen2002-07-221-4/+8
| | | | | | Prepare to kill the UNIFIED_SYSCALL option and instead have it be a per arch thing that is either enabled or not for that arch. -Erik
* Major rework of the include files to eliminate redundancyEric Andersen2002-03-0149-5931/+7
| | | | | and to better support each arch. This is a really big patch... -Erik
* Fix from John Rigby to fix stat() so it actually works.Eric Andersen2002-02-201-1/+4
|
* Be consistant about the ways in which asm/unistd.h mightEric Andersen2002-02-041-220/+6
| | | | | | be included to avoid gratuitous conflicts... This is a hack till we have proper _syscall macros for all archs. -Erik