summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/alpha (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Do not use <machine/float.h>, that is an deformed BSD-ism.deraadt2012-06-251-2/+2
| | | | | It turns out <float.h> is the right file to pull in. ok millert
* __tfork() needs to set the stack address of the new thread in the kernel,guenther2012-06-211-5/+4
| | | | | | | | | so that it can't get a signal while still running on the parent thread's stack. Also, pass in sizeof(struct __tfork) to provide forward compat when more members are added. This is an ABI change, so switch syscall numbers and bump lib majors this time. ok deraadt@ matthew@
* alloca.c cannot be usedderaadt2012-04-121-3/+1
|
* remove rfork(); ok guenther miodderaadt2012-04-121-36/+0
|
* Move __tfork_thread() from rthreads (libpthread) to libc so thatguenther2012-03-221-0/+57
| | | | | | it can be used for not-strictly-threading purposes ok matthew@ kurt@
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-082-2/+39
| | | | | on this historical behavior; so we're stuck in this stupid situation. No cookie for me.
* Move fabs(3), frexp(3), and modf(3) to libm--nothing has been usingmartynas2011-07-082-39/+2
| | | | them in libc for a very long time. OK guenther@.
* Move __cerror to ___cerror with a weak alias so that rthreads can override it.guenther2011-04-041-3/+5
| | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@
* more rcsid/sccs cleanupderaadt2009-10-286-36/+6
|
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-2/+2
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-193-245/+2
| | | | | | - remove frexp in hppa64, cloned from hppa - move generic ieee754 implementations of modf and ldexp to gen ok kettenis@, "looks good" millert@
* use sys/cdefs.h; pointed out by theomartynas2008-12-101-2/+2
|
* ditto frexpl and ldexplmartynas2008-12-091-1/+4
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+2
|
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-073-0/+21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - provide proper dtoa locks - use the real strtof implementation - add strtold, __hdtoa, __hldtoa - add %a/%A support - don't lose precision in printf, don't round to double anymore - implement extended-precision versions of libc functions: fpclassify, isnan, isinf, signbit, isnormal, isfinite, now that the ieee.h is fixed - separate vax versions of strtof, and __hdtoa - add complex math support. added functions: cacos, casin, catan, ccos, csin, ctan, cacosh, casinh, catanh, ccosh, csinh, ctanh, cexp, clog, cabs, cpow, csqrt, carg, cimag, conj, cproj, creal, cacosf, casinf, catanf, ccosf, csinf, ctanf, cacoshf, casinhf, catanhf, ccoshf, csinhf, ctanhf, cexpf, clogf, cabsf, cpowf, csqrtf, cargf, cimagf, conjf, cprojf, crealf - add fdim, fmax, fmin - add log2. (adapted implementation e_log.c. could be more acruate & faster, but it's good enough for now) - remove wrappers & cruft in libm, supposed to work-around mistakes in SVID, etc.; use ieee versions. fixes issues in python 2.6 for djm@ - make _digittoint static - proper definitions for i386, and amd64 in ieee.h - sh, powerpc don't really have extended-precision - add missing definitions for mips64 (quad), m{6,8}k (96-bit) float.h for LDBL_* - merge lead to frac for m{6,8}k, for gdtoa to work properly - add FRAC*BITS & EXT_TO_ARRAY32 definitions in ieee.h, for hdtoa&ldtoa to use - add EXT_IMPLICIT_NBIT definition, which indicates implicit normalization bit - add regression tests for libc: fpclassify and printf - arith.h & gd_qnan.h definitions - update ieee.h: hppa doesn't have quad-precision, hppa64 does - add missing prototypes to gdtoaimp - on 64-bit platforms make sure gdtoa doesn't use a long when it really wants an int - etc., what i may have forgotten... - bump libm major, due to removed&changed symbols - no libc bump, since this is riding on djm's libc major crank from a day ago discussed with / requested by / testing theo, sthen@, djm@, jsg@, merdely@, jsing@, tedu@, brad@, jakemsr@, and others. looks good to millert@ parts of the diff ok kettenis@ this commit does not include: - man page changes
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-244-97/+11
| | | | | | | | | | | | | | | | - is{inf,nan} should be macros for real-floating, so rename to __is{inf,nan}, per C99 - implement C99 __fpclassify(), __fpclassifyf(), __isfinite(), __isfinitef(), __isnormal(), __isnormalf(), __signbit(), __signbitf() - long functions added, but not yet enabled, till ieee.h is fixed - implement vax equivalents of the functions - reimplement isinff, isnanf in a better way, and move to libc - add qnan bytes for all archs - bump major man pages will follow ok millert@. arm bits looked over by drahn@ discussed w/ theo, who showed the right direction, to put these functions in libc
* fix some lint 'xxx used, but not defined' warnings by properly addingotto2007-05-151-2/+2
| | | | stuff to LSRCS
* if we pull in a .S file, we must fake out the lint with a .c filederaadt2005-11-291-2/+4
| | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
* zap rcsid.espie2005-08-0733-186/+33
| | | | okay deraadt@ (tested them all)
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-012-76/+2
| | | | | | no need to have a copy for each platform with ieee floating point, only vax needs a special version (which probably has similar bugs). OK and with help from otto@
* add some missing $, ok djm@ 'That looks fine to me' millert@jsg2004-10-011-0/+1
|
* fix to use sigaltstack again. help miod ok miod deraadttedu2004-01-291-6/+6
|
* ABI breakage happened with the sigaltstack replacement. It is too late,deraadt2004-01-151-4/+4
| | | | | | | now we just have to cope. Since setjmp uses it, the alpha and sparc64 are unhappy with the structure change. In a few days, we will make the second hop here, for now, use the old system call until all binaries have the new struct in them.
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-023-21/+9
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* Add Doug Gwyn's portable alloca() for platforms w/o an assemblermillert2003-05-021-3/+3
| | | | | | | version. Normally, gcc provides its own alloca() (unless -fno-builtin is specified). The C version is decidedly suboptimal--we really need proper assembler versions but this will work as a stop-gap measure.
* duplicate words and spelling fixes in commentsdavid2003-03-101-3/+3
| | | | ok miod@
* Provide real ieee fp*() functions; from NetBSD.miod2003-03-015-48/+56
| | | | ok millert@
* Rename curbrk to __curbrk on alpha to avoid namespace pollution.art2002-10-062-9/+9
|
* Rename cerror to __cerror on alpha to avoid namespace pollution.art2002-10-062-6/+6
|
* rfork() needs a fork.S-like stub as well; ok artderaadt2002-02-171-0/+41
|
* system calls are made thru _thread_sys_* with weak symbols of the real namedrahn2002-01-041-23/+16
| | | | | pointing to the _thread_sys_ version. ok pval, fgs
* longjmp(..., 0) is not really legal, but all other archs I've lookedart2002-01-042-4/+11
| | | | | at make sure that setjmp doesn't return 0 if longjmp is passed a 0. Avoid surprises.
* Add PSEUDO_NOERROR similar to that used by NetBSD.millert2001-09-201-1/+9
| | | | | | | | | | | Some ports were setting errno in PSEUDO and some were not. Now errno is set for all in PSEUDO and PSEUDO_NOERROR is provided for the non-errno case (only used by _exit). Needs testing on vax and m88k. XXX - hppa and powerpc still lack a real PSEUDO_NOERROR implementation. Currently PSEUDO_NOERROR and PSEUDO are the same (so builds don't break on those platforms).
* Use the LBL isnan() and isinf() on all platforms with ieee floating point.millert2001-09-103-39/+93
|
* Use the LBL frexp() on all platforms with ieee floating point.millert2001-09-101-30/+50
|
* SYSLEAF, not LEAF. shared libc_r builds now on alpha.art2001-06-131-3/+3
|
* prettyart2001-06-131-2/+2
|
* "#endif _THREAD_SAFE" is not legalart2001-06-131-3/+3
|
* Add alignment on this ugly array.art2001-01-241-3/+4
| | | | Fixes the unaligned accesses in awk.
* replacement pipe() system call; copies data into place inside kernel, soderaadt1999-06-071-43/+0
| | | | that EFAULT return value is possible
* missing parts from last commitmillert1999-04-251-2/+2
|
* END -> SYSEND (typo fix)d1999-02-041-3/+3
|
* mi ptraced1999-02-011-45/+0
|
* use LIBCSRCDIRd1999-01-201-9/+9
|
* _THREAD_SAFE; nominal testing by friesd1999-01-067-34/+65
|
* Better lint(1) framework. Mostly from cgd@NetBSDtholo1998-02-081-46/+0
|
* pull in protosderaadt1997-08-011-2/+3
|
* tabifykstailey1997-07-231-4/+4
|
* generate reboot.o like other system callsderaadt1996-12-111-41/+0
|
* Bad include directive.etheisen1996-11-131-3/+3
|