summaryrefslogtreecommitdiffstats
path: root/lib/libc/mips/gen
Commit message (Collapse)AuthorAgeFilesLines
* Remove clause 3 and 4 from TNF licensesemaste2013-05-291-7/+0
| | | | | | | Per the NetBSD Foundation statement Third parties are encouraged to change the license on any files which have a 4-clause license contributed to the NetBSD Foundation to a 2-clause license.
* The getcontext() from the __fillcontextx() call in thekib2013-05-281-0/+7
| | | | | | | | | | | | | | | | | | | | | | | | | check_deferred_signal() returns twice, since handle_signal() emulates the return from the normal signal handler by sigreturn(2)ing the passed context. Second return is performed on the destroyed stack frame, because __fillcontextx() has already returned. This causes undefined and bad behaviour, usually the victim thread gets SIGSEGV. Avoid nested frame and the need to return from it by doing direct call to getcontext() in the check_deferred_signal() and using a new private libc helper __fillcontextx2() to complement the context with the extended CPU state if the deferred signal is still present. The __fillcontextx() is now unused, but is kept to allow older libthr.so to be used with the new libc. Mark __fillcontextx() as returning twice [1]. Reported by: pgj Pointy hat to: kib Discussed with: dim Tested by: pgj, dim Suggested by: jilles [1] MFC after: 1 week
* Implement _set_tpgonzo2012-03-061-0/+4
|
* Make the sys/ucontext.h self-contained by changing the return typekib2012-02-011-1/+1
| | | | | | | of __getcontextx_size(3) from size_t to int. PR: ports/164654 MFC after: 1 month
* Add API for obtaining extended machine context states that cannot bekib2012-01-212-1/+71
| | | | | | | | | | | fit into existing mcontext_t. On i386 and amd64 do return the extended FPU states using getcontextx(3). For other architectures, getcontextx(3) returns the same information as getcontext(2). Tested by: pho MFC after: 1 month
* Replace a proliferation of buggy MD implementations of modf() with adas2011-10-213-190/+1
| | | | | | | working MI one. The MI one only needs to be overridden on machines with non-IEEE754 arithmetic. (The last supported one was the VAX.) It can also be overridden if someone comes up with a faster one that actually passes the regression tests -- but this is harder than it sounds.
* Fix typos - remove duplicate "the".brucec2011-02-211-1/+1
| | | | | | PR: bin/154928 Submitted by: Eitan Adler <lists at eitanadler.com> MFC after: 3 days
* Merge jmallett@'s n64 work into HEAD - changeset 2jchandra2010-06-163-32/+110
| | | | | | | | | Update libc Makefiles. Add makecontext implementation. Changes from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs(mentor), jmallett
* Merge jmallett@'s n64 work into HEAD - changeset 1.jchandra2010-06-163-139/+143
| | | | | | | | | Update libc assembly code to use macros that work on both o32 and n64. Merge string functions from NetBSD. The changes are from http://svn.freebsd.org/base/user/jmallett/octeon Approved by: rrs (mentor), jmallett
* Merge r195025 from projects/mips to head by hand:imp2010-01-086-0/+0
| | | | | | | r195025 | gonzo | 2009-06-25 19:01:50 -0600 (Thu, 25 Jun 2009) | 4 lines - Move fpgetXXX.c/fpsetXXX.c sources to hardfloat subdir/ to prevenmt them from being mixed up with lib/libc/softfloat files with the same names
* Add mips support libc from the mips2-jnpr branch of perforce.imp2008-04-2621-0/+1424
|
* Remove these abortive MIPS bits.obrien2002-03-2317-1039/+0
|
* Fix the style of the SCM ID's.obrien2002-03-226-15/+13
| | | | I believe have made all of libc .c's as consistent as possible.
* Bring in initial libc support for mips. These files were taken fromimp1999-03-0317-0/+1041
the OpenBSD tree and should be considered preliminary. They are here to facilitate building of the tree.
OpenPOWER on IntegriCloud