summaryrefslogtreecommitdiffstats
path: root/libc/sysdeps/linux/mips
Commit message (Collapse)AuthorAgeFilesLines
* sync some headers and disable unused prototypesPeter S. Mazinger2009-11-221-0/+1
| | | | | | Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* whitespace fixesAustin Foxley2009-10-172-4/+3
| | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mips: do not save variables in "hi" or "lo" across system callsDaniel Jacobowitz2009-10-171-2/+2
| | | | | | | | | | The kernel does not save these registers across system calls. GCC 4.4 has gotten more aggressive about using them for temporary variables, so this shows up as intermittent crashes if you use a recent compiler. Signed-off-by: Daniel Jacobowitz <dan@codesourcery.com> Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* clean up O_CLOEXEC handlingMike Frysinger2009-10-161-0/+1
| | | | | | | | Drop the "#ifndef O_CLOEXEC" cruft, enable O_CLOEXEC in most fcntl.h headers, and import __ASSUME_O_CLOEXEC from glibc. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* mips nptl: Cleanup up _ABI64 warningsAustin Foxley2009-09-271-0/+2
| | | | | Signed-off-by: Austin Foxley <austinf@cetoncorp.com> Signed-off-by: Kevin Cernekee <cernekee@gmail.com>
* trim Experimentally off and uncommented hiddenAustin Foxley2009-09-182-2/+0
| | | | | | | | sed -i -e '/Experimentally off - /d' $(grep -rl "Experimentally off - " *) sed -i -e '/^\/\*[[:space:]]*libc_hidden_proto(/d' $(grep -rl "libc_hidden_proto" *) should be a nop Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* honour NO_LONG_DOUBLE_MATHBernhard Reutner-Fischer2009-09-031-2/+4
| | | | | | | | | This fixes compilation errors on hosts that turn off long double support for C99 like powerpc32. Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Build posix_fadvice{64} only when UCLIBC_HAS_ADVANCED_REALTIME is set.Khem Raj2009-09-031-1/+5
| | | | | | | | | | Right now for ARM, MIPS, Xtensa and powerpc posix_fadvise routines are included conditionally. They should only be enabled when UCLIBC_HAS_ADVANCED_REALTIME is set. Also fix code style in powerpc/posix_fadvise64.c Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* add missing UTIME_* defines for *at funcsMike Frysinger2009-08-191-2/+7
| | | | | | | I always forget that many arches have their own bits/stat.h ... Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* enable nanosecond stat support for everyoneMike Frysinger2009-08-192-42/+74
| | | | | | | | | | | | | | Fill out the stat structure so that the nanosecond resolution support is always available. There is a small code size increase for a few ports (three additional assignments in xstatconv), but otherwise everything should remain the same. While we're here, punt __old_kernel_stat from the few headers that still define it as it is unused in uClibc and causes compile errors after these nanosecond changes. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* It fixes the following warnings seen on mips build.Khem Raj2009-08-193-8/+20
| | | | | | | | | | | | libc/sysdeps/linux/mips/clone.S: Assembler messages: libc/sysdeps/linux/mips/clone.S:122: Warning: No .frame pseudo-op used in PIC code libc/sysdeps/linux/mips/clone.S:75: Warning: Pretending global symbol used as branch target is local. libc/sysdeps/linux/mips/crt1.S: Assembler messages: libc/sysdeps/linux/mips/crt1.S:134: Warning: No .cprestore pseudo-op used in PIC code Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* build: Include Makefile.commonarch from common Makefile.inCarmelo Amoroso2009-07-291-2/+0
| | | | | | | | Avoid including akefile.commonarch in each Makefile.arch. Include it instead from Makefile.in just after the arch specific Makefile.arch Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* syscall: unify part 2: NCS varietyMike Frysinger2009-07-091-2/+2
| | | | | | | | Declare common NCS (non-constant syscall) variants and convert the existing ports over to this. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* syscall: unify common syscall definesMike Frysinger2009-07-091-67/+0
| | | | | | | | | | Unify all the common syscall defines in syscalls-common.h and scrub all the duplicated code from relevant ports. This should also make converting existing ports to INLINE_SYSCALL() much easier as they don't have to get lost in all the unrelated noise, as well as creating new ports. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* uClibc_arch_features: sync defines between portsMike Frysinger2009-07-091-0/+9
| | | | | | | | Make sure each arch has the same complete list to make comparing between them easier. Signed-off-by: Mike Frysinger <vapier@gentoo.org> Signed-off-by: Austin Foxley <austinf@cetoncorp.com>
* Signal handling rework: two missing filesCarmelo Amoroso2009-01-221-85/+54
|
* Synch whole signal handling rework with trunk. Tested on nptl-sh4.Carmelo Amoroso2009-01-222-47/+19
| | | | | Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* signal.h consolidation from trunk.Denis Vlasenko2008-12-231-21/+2
| | | | | No object code difference (tested on i386).
* sync with trunk. Compile tested on i386Denis Vlasenko2008-12-231-4/+4
|
* Signed-off-by: Khem Raj <raj.khem@gmail.com>Khem Raj2008-12-091-1/+1
| | | | | | This patch makes mips nptl port compile again Replace remaining instances of asm by __asm__ and volatile by __volatile__ include bits/errno.h instead of obsolete bits/errno_values.h
* Sync with trunk r24277Khem Raj2008-12-041-2/+2
| | | | | Remove __NTH from the declation.
* Synch with trunk @ 24242Carmelo Amoroso2008-12-034-26/+32
| | | | | Step 18: some more synch: hidden_proto, size reduction and signal handling changes.
* Synch with trunk @ 24160Carmelo Amoroso2008-11-2711-44/+44
| | | | | | Step 14: miscellaneous merge for arch specific files in libc/sysdeps. Comments, cleanup, formatting, hidden_proto removal and others.
* some more asm keyword fixes (Yann E. MORIN)Carmelo Amoroso2008-08-061-2/+1
|
* Synch with trunk at rev 22997.Carmelo Amoroso2008-07-315-7/+7
| | | | | | | Basically trailing whitespaces removal, fix non standard keywords asm -> __asm__ inline -> __inline__ and some minor changes on trunk. Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Revert the mips related fixed that got in due to the trunk merge and also ↵Khem Raj2008-07-093-1/+23
| | | | add pt-__syscall_rt_sigaction.c for mips
* BIG BIG commit: all left files merged from trunk [rev 22714]. Currenntly ↵Carmelo Amoroso2008-07-092-16/+0
| | | | NPTL sh4 port build and work fine. All committed to allow Khem Ray working on a working branch to integrate the ARM nptl port. MIPS nptl port not tested but should still building and working fine. There are some other part non yet merged with trunk (misc/internals and some headers file that need some more work). Signed-off-by: Carmelo Amoroso <carmelo.amoroso@st.com>
* Synch with trunk: remove obsolete filesCarmelo Amoroso2008-07-091-135/+0
|
* Sync build machinery stuff from trunk. Some more fixed for mips nptl portKhem Raj2008-06-273-0/+34
|
* Synch libc mips specific with trunkCarmelo Amoroso2008-06-1841-886/+1606
|
* Fix broken syscall() function since the original patch did not work."Steven J. Hill"2007-07-121-2/+14
|
* Copy from trunk."Steven J. Hill"2006-12-161-0/+61
|
* Copy from trunk."Steven J. Hill"2006-08-241-0/+48
|
* Well, this is everything for my NPTL implementation. The 'uClibc-nptl' ↵"Steven J. Hill"2006-08-2411-173/+397
| | | | branch is now the exact code that I have. I am going to re-run tests now to verify everything one more time. The next step after that is to merge from trunk with the latest stuff from Mike and Peter.
* Merge from trunk."Steven J. Hill"2006-08-231-15/+1
|
* Remove files that are no longer in trunk."Steven J. Hill"2006-08-231-136/+0
|
* Removal as per trunk."Steven J. Hill"2006-08-221-98/+0
|
* Merge from trunk."Steven J. Hill"2006-02-287-40/+54
|
* Merge from trunk."Steven J. Hill"2006-02-151-4/+2
|
* Merge from trunk."Steven J. Hill"2006-02-142-44/+32
|
* Copy from trunk."Steven J. Hill"2006-02-131-0/+41
|
* Clean up the 'sysdep.h' header chain. Other architectures will have their ↵"Steven J. Hill"2006-02-056-322/+51
| | | | own 'sysdep.h' file in the various NPTL threads directories. Clean up other files having to do with the usage of it.
* Clean up '_res' such that it will now work for, NPTL, linuxthreads and"Steven J. Hill"2006-01-151-7/+0
| | | | | even no threads. Fix 'pthread_atfork' function and clean up duplicate of '__set_errno' that is not needed.
* Merge from trunk."Steven J. Hill"2006-01-145-26/+31
|
* Merge from trunk."Steven J. Hill"2006-01-061-3/+0
|
* And finally, make 'errno' and TLS variable. The TLS conversion of errno, ↵"Steven J. Hill"2006-01-051-1/+5
| | | | h_errno and __resp was a real challenge. I am glad that is over with.
* Import assembly version of 'syscall_error' so that it can be a hidden ↵"Steven J. Hill"2006-01-053-37/+89
| | | | function and NPTL can include as well.
* Finish merge from trunk, again, no really."Steven J. Hill"2005-12-102-6/+10
|
* Bring in sleep.c from trunk and update change sigaction.c for MIPS"Steven J. Hill"2005-12-101-2/+2
| | | | to call __memcpy, even though it produces a compiler warning.
* Finish up changes for sigaction and NPTL."Steven J. Hill"2005-12-101-3/+4
|