summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/mips
AgeCommit message (Collapse)Author
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
2003-12-03remove some garbageEric Andersen
2003-11-29Patch by "Bradley D. LaRonde" <brad@ltc.com> for boehm garbage collector.Manuel Novoa III
2003-11-28Another missing mips function, needed by the boehm garbage collector.Manuel Novoa III
2003-11-28Add sysmips(), based on a patch by Atsushi Nemoto <anemo@mba.ocn.ne.jp>.Manuel Novoa III
2003-11-22Remove SAFECFLAGS. It was a workaround for failures in old awk scriptEric Andersen
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.
2003-11-08Darn. Fix compilation for soft-float, which I inadvertantlyEric Andersen
broke a couple of days ago. :-(
2003-11-05Continue the conversion to using per-arch crti.S and crtn.SEric Andersen
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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.
2003-10-18Peter Kjellerstedt writes:Eric Andersen
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).
2003-10-08Patch from Atsushi Nemoto (with some additions):Eric Andersen
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.
2003-09-08Oops! I broke pread on mips with my last update. ThisEric Andersen
fixes it again so it both compiles and works, -Erik
2003-09-07Fix some more problems found by the ltpEric Andersen
2003-08-22Patch from Atsushi Nemoto, who writes:Eric Andersen
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.
2003-08-14Use the common version for bits/sem.h. Fixup the types toEric Andersen
match the kernel type exactly.
2003-08-04For sparc, powerpc, mips, and alpha we should also use theEric Andersen
common ipc.h header and struct definitions. -Erik
2003-08-01Remove the arch specific shm.h and use the fixed up commonEric Andersen
one which now uses the kernel structs -Erik
2003-05-30In a number of places we erroneously used tests such as '#ifdef PIC' when weEric Andersen
should instead have been testing for '#ifdef __PIC__'. This resulted in NON-PIC code getting mixed into the shared library. Oops!!! -Erik
2003-04-16Patch from Liam Girdwood to fix mips profiling when usingEric Andersen
newer gcc versions.
2003-03-11Compliance with MIPS ABI and MIPS kernel changes."Steven J. Hill"
2003-03-06For now, leave mmap on mips using mmap1, since mmap2 seemsEric Andersen
to have 'issues' (i.e. it doesn't work 100% properly). -Erik
2003-03-03Initial effort at adding profiling support.Eric Andersen
2003-02-26Prefer mmap2 for mips when available. Fix the mmap test.Eric Andersen
-Erik
2003-02-23Some stuff I forgot to check in about a month ago...Eric Andersen
-Erik
2003-02-09Fix a warningEric Andersen
2003-02-09Fix a compile errorEric Andersen
2003-01-31hehEric Andersen
2003-01-31Fix copyrightEric Andersen
2003-01-30Patch from Marshall M. Midden @ brecis.com:Eric Andersen
pipe.c for mips was broken with freeswan. No error checking.
2003-01-30Patch from Christophe Massiot:Eric Andersen
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.
2003-01-25This seems to be needed or else apps will blow up.Eric Andersen
-Erik
2003-01-24A few more needed updatesEric Andersen
2003-01-24Finish up fixing stat and setting various system types.Eric Andersen
2003-01-24Ok, people are probably going to hate me for this... This commit changes theEric Andersen
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
2003-01-23Update architecture specific support to consistantlyEric Andersen
generate a crt0 and crt1 file. Most arches still need to be updated to call __uClibc_start_main() rather than __uClibc_main().
2003-01-22Changed '__kernel_nlink_t' data type to match Linux/MIPS kernel type"Steven J. Hill"
definition and to be consistent with the ABI. Done per conversation with Ralf (Linux/MIPS) maintainer.
2002-12-12Based on discussions with Stefan Allius, change it so that we alwaysEric Andersen
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
2002-11-27Make support for global constructors and global destructors beEric Andersen
configurable, so people who do not need or want ctor/dtor support can disable it and make their binaries a little bit smaller. -Erik
2002-11-06Update soft-float handlingEric Andersen
2002-10-09Octal to hexEric Andersen