summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips
Commit message (Collapse)AuthorAgeFilesLines
...
* Patch from Atsushi Nemoto (with some additions):Eric Andersen2003-10-082-0/+99
| | | | | | | Current uClibc contains only one fpu_control.h and it is i386 version. This is a patch to use platform specific fpu_control.h. All new files come from glibc 2.3.2. This patch is against 0.9.21 but also can be applied to CVS as is.
* Oops! I broke pread on mips with my last update. ThisEric Andersen2003-09-081-4/+4
| | | | | fixes it again so it both compiles and works, -Erik
* Fix some more problems found by the ltpEric Andersen2003-09-071-6/+9
|
* Patch from Atsushi Nemoto, who writes:Eric Andersen2003-08-222-1/+95
| | | | | | | | | | | I found that current pread/pwrite is broken on mips. On mips, kernel needs 6 arguments for pread/pwrite system call. (3 words for first 3 arguments + 1 padding word + 2 words for last 64bit argument). Also, mips64 kernel needs just 4 arguments so no wrapper will be required. This is a patch against 0.9.20.
* 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
* In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen2003-05-301-1/+1
| | | | | | should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -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
|
* For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen2003-03-061-0/+5
| | | | | to have 'issues' (i.e. it doesn't work 100% properly). -Erik
* Initial effort at adding profiling support.Eric Andersen2003-03-034-0/+221
|
* Prefer mmap2 for mips when available. Fix the mmap test.Eric Andersen2003-02-261-0/+5
| | | | -Erik
* Some stuff I forgot to check in about a month ago...Eric Andersen2003-02-232-27/+39
| | | | -Erik
* Fix a warningEric Andersen2003-02-091-52/+49
|
* Fix a compile errorEric Andersen2003-02-091-1/+0
|
* hehEric Andersen2003-01-311-3/+3
|
* Fix copyrightEric Andersen2003-01-311-3/+2
|
* Patch from Marshall M. Midden @ brecis.com:Eric Andersen2003-01-302-2/+41
| | | | pipe.c for mips was broken with freeswan. No error checking.
* Patch from Christophe Massiot:Eric Andersen2003-01-302-1/+28
| | | | | | | | | | | | Hello, When using uClibc to compile the modutils for a MIPS target, the linker outputs an "undefined symbol: _flush_cache". After some digging, it's a syscall only available on the MIPS architecture, and the _flush_cache symbol is in the GNU libc. Attached patch defines it in uClibc as well. I'm not sure if I made it the right way, though, but it works for me.
* This seems to be needed or else apps will blow up.Eric Andersen2003-01-251-9/+2
| | | | -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
* Update architecture specific support to consistantlyEric Andersen2003-01-232-14/+14
| | | | | | generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
* 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.
* Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen2002-12-122-8/+5
| | | | | | | build a crt0.o and a crt1.o. crt1.o will support ctors and dtors if such support is enabled. One more gratuitous toolchain support issue is thereby removed... -Erik
* Make support for global constructors and global destructors beEric Andersen2002-11-271-0/+4
| | | | | | configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
* Update soft-float handlingEric Andersen2002-11-062-3/+5
|
* Octal to hexEric Andersen2002-10-091-1/+1
|
* Support O_STREAMINGEric Andersen2002-10-091-0/+1
|
* Patch from Marshall M. Midden <m4@brecis.com> to fixup crt0 forEric Andersen2002-10-011-14/+12
| | | | mips where I had made a mess
* This commit contains a patch from Stefan Allius <allius@atecom.com> to changeEric Andersen2002-10-011-2/+15
| | | | | | | how uClibc handles _init and _fini, allowing shared lib constructors and destructors to initialize things in the correct sequence. Stefan ported the SH architecture. I then ported x86, arm, and mips. x86 and arm are working fine, but I don't think I quite got things correct for mips.
* Forgot one more #ifdef related to MIPS soft floating point."Steven J. Hill"2002-09-111-0/+2
|
* Don't unconditionally save/restore FP registers, we might be doing soft"Steven J. Hill"2002-09-102-0/+4
| | | | floating point. Thanks to Jay Carlson.
* Change <bits/syscall.h> to <bits/sysnum.h>.Miles Bader2002-09-053-5/+5
|
* 'syscall' now properly works for MIPS."Steven J. Hill"2002-09-043-46/+56
|
* 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