#
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.
|
#
134287 |
|
25-Aug-2004 |
marcel |
Make profiling actually work. The gcc compiler emits a call to the _mcount() stub when profiling is enabled. Emit this code sequence for assembly routines as welli (MCOUNT definition in <machine/asm.h>. We do not pass the GOT entry however as the 4th argument, because it's not used. The _mcount() stub calls __mcount(), which does the actual work. Define _MCOUNT_DECL to define __mcount. We do not have an implementation of mcount(), so we define MCOUNT as empty, but have a weak alias to _mcount() in _mcount.S. Note that the _mcount() stub in the kernel is slightly different from the stub in userland. This is because we do not have to worry about nested routines in the kernel.
|
#
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
|
#
116775 |
|
24-Jun-2003 |
marcel |
Implement signalcontext(). Needed by libpthread (aka libkse).
|
#
115518 |
|
31-May-2003 |
marcel |
Rough implement of makecontext() needed to support libthr. o Up to 8 arguments are allowed. This is the number of arguments passed in registers. Subsequent registers are passed on the stack. Trying to deal with this is not easy in C and likely forces us to use assembly code. Let's avoid that for now. There's no indication that more than 8 arguments is a strong requirement (Linux also has an 8 argument limit). o We expect that the stack base is 16-byte aligned and the stack size is a multiple of 16-byte. We bomb out if this is not the case. We probably want to be less strict by enforcing it ourselves. For now it's better to not hide gross alignment bogons by silently correcting it.
|
#
109096 |
|
11-Jan-2003 |
marcel |
Implement missing fpgetround() and fpsetround().
|
#
106973 |
|
15-Nov-2002 |
marcel |
Sort SRCS.
|
#
94569 |
|
13-Apr-2002 |
marcel |
Implement _Unwind_FindTableEntry(). This function is part of GCC for some configurations, but not for FreeBSD (yet?). Have one in libc in the mean time.
|
#
85974 |
|
03-Nov-2001 |
dfr |
Implement fpsetmask() and fpgetmask().
|
#
85228 |
|
20-Oct-2001 |
dfr |
Add __divdf3(), __divsf3() and __infinity[].
Obtained from: Intel (for the divide code)
|
#
67117 |
|
14-Oct-2000 |
dfr |
Initial libc port for ia64.
|