#
259065 |
|
07-Dec-2013 |
gjb |
- Copy stable/10 (r259064) to releng/10.0 as part of the 10.0-RELEASE cycle. - Update __FreeBSD_version [1] - Set branch name to -RC1
[1] 10.0-CURRENT __FreeBSD_version value ended at '55', so start releng/10.0 at '100' so the branch is started with a value ending in zero.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation |
#
256281 |
|
10-Oct-2013 |
gjb |
Copy head (r256279) to stable/10 as part of the 10.0-RELEASE cycle.
Approved by: re (implicit) Sponsored by: The FreeBSD Foundation
|
#
230429 |
|
21-Jan-2012 |
kib |
Add API for obtaining extended machine context states that cannot be 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
|
#
226606 |
|
21-Oct-2011 |
das |
Replace a proliferation of buggy MD implementations of modf() with a 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.
|
#
143658 |
|
15-Mar-2005 |
das |
Remove fpsetsticky(). This was added for SysV compatibility, but due to mistakes from day 1, it has always had semantics inconsistent with SVR4 and its successors. In particular, given argument M:
- On Solaris and FreeBSD/{alpha,sparc64}, it clobbers the old flags and *sets* the new flag word to M. (NetBSD, too?) - On FreeBSD/{amd64,i386}, it *clears* the flags that are specified in M and leaves the remaining flags unchanged (modulo a small bug on amd64.) - On FreeBSD/ia64, it is not implemented.
There is no way to fix fpsetsticky() to DTRT for both old FreeBSD apps and apps ported from other operating systems, so the best approach seems to be to kill the function and fix any apps that break. I couldn't find any ports that use it, and any such ports would already be broken on FreeBSD/ia64 and Linux anyway.
By the way, the routine has always been undocumented in FreeBSD, except for an MLINK to a manpage that doesn't describe it. This manpage has stated since 5.3-RELEASE that the functions it describes are deprecated, so that must mean that functions that it is *supposed* to describe but doesn't are even *more* deprecated. ;-)
Note that fpresetsticky() has been retained on FreeBSD/i386. As far as I can tell, no other operating systems or ports of FreeBSD implement it, so there's nothing for it to be inconsistent with.
PR: 75862 Suggested by: bde
|
#
133754 |
|
15-Aug-2004 |
dfr |
Add support for TLS in statically linked programs.
|
#
132383 |
|
19-Jul-2004 |
das |
Make FLT_ROUNDS correctly reflect the dynamic rounding mode.
|
#
132366 |
|
18-Jul-2004 |
das |
Replace seven nominally MD implementations of frexp() that are broken for subnormals with one implementation that works.
|
#
131852 |
|
09-Jul-2004 |
das |
Implement the classification macros isfinite(), isinf(), isnan(), and isnormal() the hard way, rather than relying on fpclassify(). This is a lose in the sense that we need a total of 12 functions, but it is necessary for binary compatibility because we have never bumped libm's major version number. In particular, isinf(), isnan(), and isnanf() were BSD libc functions before they were C99 macros, so we can't reimplement them in terms of fpclassify() without adding a dependency on libc.so.5. I have tried to arrange things so that programs that could be compiled in FreeBSD 4.X will generate the same external references when compiled in 5.X. At the same time, the new macros should remain C99-compliant.
The isinf() and isnan() functions remain in libc for historical reasons; however, I have moved the functions that implement the macros isfinite() and isnormal() to libm where they belong. Moreover, half a dozen MD versions of isinf() and isnan() have been replaced with MI versions that work equally well.
Prodded by: kris
|
#
121074 |
|
13-Oct-2003 |
alc |
Add rfork_thread(3).
|
#
117864 |
|
22-Jul-2003 |
peter |
Instantiate explicit callable versions of the machine/ieeefp.h inlines for the use of non-GCC compilers and C++ code.
|
#
117755 |
|
19-Jul-2003 |
deischen |
Add amd64 versions of makecontext() and signalcontext() needed for libkse (makecontext() is also needed for libthr). These probably will need some tweaking.
|
#
114866 |
|
09-May-2003 |
peter |
Update ldexp.c for amd64.
|
#
114815 |
|
07-May-2003 |
peter |
Turn off alloca.S - it cannot possibly work like this since on AMD64, gcc doesn't use stack frames. It uses offsets relative to %rsp, not %rbp. So we cannot just change %rsp like this.
Approved by: re (blanket amd64)
|
#
114308 |
|
30-Apr-2003 |
peter |
Reduce the SRCS to what compiles
|
#
106980 |
|
16-Nov-2002 |
deischen |
Disconnect the userland get/set/swapcontext() functions from libc. I want to keep these in some version for the thread library/ies, but don't know whether to have them repo-copied to libc_r or renamed and kept in libc.
Change the name of an alpha macro that was changed with the system call commit.
|
#
103501 |
|
17-Sep-2002 |
bde |
Fixed editing error in previous commit (*blush*).
|
#
103488 |
|
17-Sep-2002 |
bde |
Fixed unsorting of SRCS.
|
#
103406 |
|
16-Sep-2002 |
mini |
Save and restore FPU state properly in ucontext_t's.
Reviewed by: deischen, julian Approved by: -arch
|
#
92862 |
|
21-Mar-2002 |
peter |
Move swapcontext.c to the ${MACHINE_ARCH}/gen/Makefile.inc area, otherwise it causes undefined references to getcontext() and setcontext() on platforms other than i386 and alpha.
|
#
89267 |
|
11-Jan-2002 |
bde |
Fixed unsorting and splitting of SRCS in previous commit.
|
#
89177 |
|
10-Jan-2002 |
deischen |
Add getcontext, setcontext, makecontext, and swapcontext. These functions are defined in SUSv2 and the latest POSIX spec.
Thanks to Bernd Walter <ticso@cicely8.cicely.de> for helping debug my alpha assembly.
Approved by: -arch
|
#
64000 |
|
29-Jul-2000 |
peter |
rfork(2) wrapper for simple rfork-style threads. I have lost count of the number of times I have given this to people and got asked: why isn't it in libc? It is impossible to do this without assembler glue to reset the stack for the new child process.
int rfork_thread(flags, stack_addr, start_fnc, start_arg) int flags; Flags to rfork system call. See rfork(2). void *stack_addr; Top of stack for thread. int (*start_fnc)(void *); Address of thread function to call in child. void *start_arg; Argument to pass to the thread function in child.
This is deliberately not documented or prototyped in includes until the corresponding alpha version is written.
|
#
50476 |
|
27-Aug-1999 |
peter |
$Id$ -> $FreeBSD$
|
#
30401 |
|
14-Oct-1997 |
bde |
Moved `SRCS+= frexp.c' to the correct Makefile.inc.
Sorted SRCS.
|
#
22993 |
|
22-Feb-1997 |
peter |
Revert $FreeBSD$ to $Id$
|
#
21673 |
|
14-Jan-1997 |
jkh |
Make the long-awaited change from $Id$ to $FreeBSD$
This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long.
Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
|
#
11221 |
|
05-Oct-1995 |
phk |
remove GCC support functions from libc. Should never have been here in the first place.
|
#
5790 |
|
22-Jan-1995 |
dg |
First round of changes to clean up the RCSID mess in libc:
1) Changed LIB_SCCS and SYSLIB_SCCS to LIB_RCS and SYSLIB_RCS. 2) Changed sccsid[] variables to rcsid[] 3) Moved all RCSID strings into .text 4) Converted all SCCSID's to RCS $Id$'s 5) Added missing $Id$'s after copyright.
|
#
3851 |
|
25-Oct-1994 |
bde |
Reenable sigsetjmp.S. Preserve the FP state. Rearrange offsets to match setjmp.S.
|
#
2157 |
|
20-Aug-1994 |
jkh |
Put __infinity back here again until someone does the right thing and repartitions libc into something human again. I don't have that kind of time right now myself, unfortunately. Submitted by: jkh
|
#
1849 |
|
04-Aug-1994 |
wollman |
First crack at making libc work with the new make macros. It compiles on my machine, and a simple static (genassym) and shared (sysctl) executable both work. Still to be done: RPCand YP merge.
|
#
1573 |
|
27-May-1994 |
rgrimes |
BSD 4.4 Lite Lib Sources
|