summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips
AgeCommit message (Collapse)Author
2005-09-27Speed up clean target, don't recurse where possible, remove unneeded actionsPeter S. Mazinger
2005-08-03Update from (older) glibc code.Manuel Novoa III
2005-08-03POSIX requires that fields st_dev and st_rdev to be of type dev_t.Manuel Novoa III
2005-07-31Old glibc fix for ltp's clone07 test. Another file that needs updating...Manuel Novoa III
2005-07-31This fixes the pread/pwrite bugs reported by ltp. But I really need to pull ↵Manuel Novoa III
in the latest glibc stuff.
2005-07-30Update with current glibc version.Manuel Novoa III
2005-07-30Since we're now always using IPC_64, we need this. Otherwise, some of the ↵Manuel Novoa III
perl tests fail on mipsel.
2005-07-28s/__kernel_time_t/__time_tJoakim Tjernlund
2005-07-28A while back, the sysvipc code was changed to use IPC_64 in the calls.Manuel Novoa III
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.
2005-07-23Since __syscall_error is a C func, we need to store the syscall return valueManuel Novoa III
in the appropriate register. Otherwise, errno is set to random garbage.
2005-07-06update comments/syntax and make sure we include features.h for the hidden defineMike Frysinger
2005-06-10Remove TEXTREL relocations for ARM.Joakim Tjernlund
Hide __syscall_error from outside libc. From Peter Mazinger.
2005-06-10silly rabbitEric Andersen
2005-06-10Finish updating mips for the new ABIEric Andersen
2005-05-28Add Peter Mazinger fini/crt compat patch. Select DL_FINI_CRT_COMPAT toJoakim Tjernlund
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.
2005-05-28Add back .size for __startJoakim Tjernlund
2005-05-27erik 0, stupid 1Eric Andersen
2005-05-27With a bit of luck, this might just get mips working againEric Andersen
2005-05-27minor tweak for correctnessEric Andersen
2005-05-14Add missing file to the clean list."Steven J. Hill"
2005-05-12Added new 'bits/atomic.h' for most of the architectures and the top-level ↵"Steven J. Hill"
'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'.
2005-05-07Hopefully fix the problem reported by Peter Mazinger,Joakim Tjernlund
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.
2005-04-24Fix bug 222: Move all archs to newer __IPC_64 interface for {msg,sem,shm}ctlJoakim Tjernlund
syscalls. This won't work on 2.2 kernels(I think).
2005-04-13Further rework the mips syscallsEric Andersen
2005-04-01Cleanup the mips syscalls a bit more, and fix a fewEric Andersen
annoying warnings.
2005-03-14Make mips/mipsel syscalls no longer complain about the "use of memory inputEric Andersen
without lvalue in asm". Give the asm an lvalue so it can be happy.
2005-02-12no more cvsMike Frysinger
2005-01-25merge parallel build supportMike Frysinger
2004-12-22Patch from Peter S. Mazinger:Eric Andersen
Add pie support for mips
2004-12-22Patch from Peter S. Mazinger to consistantly use "ASFLAGS"Eric Andersen
as the flags for all calls to 'as'
2004-10-26Atsushi Nemoto writes:Eric Andersen
>>>>> 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.
2004-10-19Atsushi Nemoto writes:Eric Andersen
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.
2004-08-21Kill off all support for 'gcc -pg' / 'gprof' style profiling. There is both aEric Andersen
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
2004-08-15Logic was reversed.Manuel Novoa III
2004-08-13Fixup PAGE_SIZE problemsEric Andersen
-Erik
2004-08-10Fix mips bug related to 2.6 headers by following glibc's lead. Based onManuel Novoa III
the comment, newer kernels appended "64" to __NR_pread and __NR_pwrite.
2004-08-10Apparently the sigaction code added was broken, as it generated illegalManuel Novoa III
instruction errors. Disable it for now.
2004-07-30s/___brk_addr/__curbrk/gEric Andersen
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
2004-07-30Some mips updates. Add a couple of missing sys/*.h files and update a few ↵Manuel Novoa III
others.
2004-07-17Add sigaction for mipsEric Andersen
2004-07-15Atsushi Nemoto writes:Eric Andersen
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).
2004-05-14__data_start needs to be added to all crt0.S files that don't currentlyEric Andersen
have it. It is used by the boehm gc, amoung other things.
2004-04-23It turns out that asm/reg.h is missing from the 2.6.x kernel headers,Eric Andersen
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.
2004-04-20Cope with gcc 3.4's more aggressive persuit of attribute unusedEric Andersen
2004-02-15Generic fork works. Use it instead since this didn't handle errno_location.Manuel Novoa III
2004-02-15Mips can use the generic vforkEric Andersen
2004-02-12Add missing mips specific include/sys/user.hEric Andersen
2004-02-06Sigh. The 2.6.x kernel removed '__kernel_dev_t' and renamed it asEric Andersen
'__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
2004-02-05Use 'mmap.c' instead of '_mmap.c'Eric Andersen
2004-01-21Split up syscalls.c, since it had grown to be quite large and ugly.Eric Andersen
-Erik