summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips
Commit message (Collapse)AuthorAgeFilesLines
...
* Since __syscall_error is a C func, we need to store the syscall return valueManuel Novoa III2005-07-231-0/+5
| | | | in the appropriate register. Otherwise, errno is set to random garbage.
* update comments/syntax and make sure we include features.h for the hidden defineMike Frysinger2005-07-061-4/+4
|
* Remove TEXTREL relocations for ARM.Joakim Tjernlund2005-06-101-1/+1
| | | | | Hide __syscall_error from outside libc. From Peter Mazinger.
* silly rabbitEric Andersen2005-06-101-1/+1
|
* Finish updating mips for the new ABIEric Andersen2005-06-101-11/+11
|
* Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund2005-05-281-5/+4
| | | | | | | | be able to run apps built with 0.9.27. This also renames __uClibc_start_main to __uClibc_main. This compat option should be removed some time after 0.9.28 is released. Let me know if you don't like this change.
* Add back .size for __startJoakim Tjernlund2005-05-281-0/+1
|
* erik 0, stupid 1Eric Andersen2005-05-271-2/+2
|
* With a bit of luck, this might just get mips working againEric Andersen2005-05-273-72/+135
|
* minor tweak for correctnessEric Andersen2005-05-271-1/+1
|
* Add missing file to the clean list."Steven J. Hill"2005-05-141-0/+1
|
* 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
|
* merge parallel build supportMike Frysinger2005-01-251-5/+5
|
* Patch from Peter S. Mazinger:Eric Andersen2004-12-221-1/+3
| | | | Add pie support for mips
* Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen2004-12-221-5/+4
| | | | as the flags for all calls to 'as'
* Atsushi Nemoto writes:Eric Andersen2004-10-261-15/+25
| | | | | | | | | | | | | | | | | | | | | >>>>> On Tue, 19 Oct 2004 13:28:34 -0600, Erik Andersen <andersen@codepoet.org> said: >> BTW, top of uClibc TODO list is "Fix syscall() on mips". What is a >> problem? andersen> It appears that uClibc's syscall() for mips works ok for andersen> syscalls with a few arguments. But as I recall, it does not andersen> work properly with _syscall5, _syscall6, _syscall7, etc. andersen> Perhaps there is some mistake in its assumptions about the andersen> mips/linux ABI regarding which syscall arguments are passed andersen> via register vs which syscall arguments are passed on the andersen> stack. Hmm... I found a old fix in uClibc ML archive. http://www.uclibc.org/lists/uclibc/2002-September/004459.html But it seems somewhat broken. How about this fix instead? I tested mmap with syscall() in mips. mips64 is not tested.
* 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-214-108/+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-132-3/+36
| | | | -Erik
* Fix mips bug related to 2.6 headers by following glibc's lead. Based onManuel Novoa III2004-08-101-0/+15
| | | | the comment, newer kernels appended "64" to __NR_pread and __NR_pwrite.
* Apparently the sigaction code added was broken, as it generated illegalManuel Novoa III2004-08-101-1/+1
| | | | instruction errors. Disable it for now.
* s/___brk_addr/__curbrk/gEric Andersen2004-07-301-2/+2
| | | | | | | | Some utilities, such as valgrind, have a legitimate reason to know the address of the current brk. Since we know such utils will peek under our skirt, we might as well give them what they expect and not use a gratuitously different symbol name. -Erik
* Some mips updates. Add a couple of missing sys/*.h files and update a few ↵Manuel Novoa III2004-07-305-51/+684
| | | | others.
* Add sigaction for mipsEric Andersen2004-07-172-1/+124
|
* Atsushi Nemoto writes:Eric Andersen2004-07-151-18/+13
| | | | | | | | | | | | This is a patch for uClibc/libc/sysdeps/linux/mips/sys/procfs.h pulled from glibc CVS. This fixes gdb with threaded application (with glibc environment). Although debugging threaded programs seems not working on uClibc/mips yet, this patch will be required when it becomes working. This patch can be applied to any version of uClibc (including current CVS).
* __data_start needs to be added to all crt0.S files that don't currentlyEric Andersen2004-05-141-3/+8
| | | | have it. It is used by the boehm gc, amoung other things.
* It turns out that asm/reg.h is missing from the 2.6.x kernel headers,Eric Andersen2004-04-231-2/+167
| | | | | which prevents libthread_db (used by gdb) from compiling. Include a copy within include/sys/user.h for mips, per what was done in glibc.
* Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen2004-04-201-3/+3
|
* Generic fork works. Use it instead since this didn't handle errno_location.Manuel Novoa III2004-02-152-66/+1
|
* Mips can use the generic vforkEric Andersen2004-02-152-31/+1
|
* Add missing mips specific include/sys/user.hEric Andersen2004-02-121-0/+52
|
* 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 'mmap.c' instead of '_mmap.c'Eric Andersen2004-02-051-2/+2
|
* Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen2004-01-211-0/+0
| | | | -Erik
* remove some garbageEric Andersen2003-12-031-1/+0
|
* Patch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector.Manuel Novoa III2003-11-291-0/+3
|
* Another missing mips function, needed by the boehm garbage collector.Manuel Novoa III2003-11-282-1/+32
|
* Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.Manuel Novoa III2003-11-283-2/+7
|
* Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen2003-11-221-7/+2
| | | | | | | | | | used to generate the crti.S and crtn.S files. Since we don't use that anymore, keeping the workaround makes no sense. Furthermore, in most cases, SAFECFLAGS was not picking up all the needed flags, causing crti.o and crtn.o to not be built PIC. Which is very bad. Removing SAFECFLAGS and using CFLAGS fixes that as well.
* Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen2003-11-081-0/+4
| | | | broke a couple of days ago. :-(
* Continue the conversion to using per-arch crti.S and crtn.SEric Andersen2003-11-053-1/+122
|
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-4/+3
| | | | | | | | | | ln.patch: * Define $(LN) as ln in Rules.mak. * Change all occurrences of ln into $(LN). * Change all constructs like (cd path && ln -sf foo/file file) into $(LN) -sf foo/file path/file. The latter construct is already used in a number of places so it should not be an additional compatibility problem.
* Peter Kjellerstedt writes:Eric Andersen2003-10-181-3/+3
| | | | | | | rm.patch: * Define $(RM) as rm -f in Rules.mak and test/Rules.mak (this is the same definition as gmake uses by default). * Change all occurrences of rm and rm -f into $(RM).