summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/vax/gen (follow)
Commit message (Collapse)AuthorAgeFilesLines
* We are done providing support for the vax.deraadt2016-03-0917-947/+0
| | | | lots of agreement.
* Wrap the remaining math functions in libc: __fpclassify*(), __flt_rounds(),guenther2015-10-272-3/+7
| | | | | | and ldexp(). ok millert@
* Do provide hidden _libc_* aliases for sig{block,setmask} and use them inguenther2015-09-131-2/+2
| | | | | | | the ASM *setjmp implementations. Skip the PLT when calling them on amd64 (other archs to do this after testing) ok miod@
* VAX ELF userland bits. Consists mostly of register prefix additions.miod2013-07-058-121/+137
|
* Switch libc and libm to use strong aliases rather than weak aliasesmartynas2013-03-289-79/+24
| | | | | | | | | | | where appropriate. Among other things makes the symbols consistent across all architectures (notably where ldbl mantissa is 53 bits). While at it, kill unused LINTLIBRARY/PROTOLIB1 cruft which was there to trick lint into recording the right prototypes for aliased functions. Most of the work done at the awesome n2k13 hackathon. Agreed by kettenis@, guenther@, matthew@.
* Remove excessive sys/cdefs.h inclusionderaadt2012-12-057-14/+11
| | | | ok guenther millert kettenis
* rely on the compiler giving us a built-in alloca. any new architecturederaadt2012-04-192-47/+3
| | | | | or compiler we use will. ok millert
* alloca.c cannot be usedderaadt2012-04-121-2/+1
|
* sigstack() is long dead, and the compat sigaltstack syscall is gone too.guenther2011-11-221-2/+2
| | | | | | Correct the namespace protections for sigreturn(), sigwait(), and psignal() ok millert@
* Revert (leaving the complex math part alone). Some stuff is dependingmartynas2011-07-084-2/+166
| | | | | 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-084-166/+2
| | | | them in libc for a very long time. OK guenther@.
* Trick lint into recording the right prototypes in the llib-lc.lnmartynas2011-07-027-29/+56
| | | | database on the vax, similarly like has been done in gen.
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-3/+3
| | | | are available. spotted by theo
* __isinff and __isnanfmartynas2008-12-122-4/+4
|
* do the same as was done in mi version: do not include math.h, since isinf,martynas2008-12-122-4/+2
| | | | and isnan would expand to macros and compatibility aliases won't work
* no spaces allowed in the macro arguments. completely insanity!deraadt2008-12-102-4/+4
|
* use sys/cdefs.h; pointed out by theomartynas2008-12-107-14/+14
|
* ditto frexpl and ldexplmartynas2008-12-092-2/+10
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+2
|
* - add long double signbitmartynas2008-12-097-7/+72
| | | | | | | | | | | | | - make long double versions weak aliases to double versions, on archs where long doubles are 64 bits - no need to have two finites. finite() and finitef() are non-standard 3BSD obsolete versions of isfinite. remove from libm. make them weak_alias in libc to __isfinite and __isfinitef instead. similarly make 3BSD obsolete versions of isinf, isinff, isnan, isnanf weak_aliases to C99's __isinf, __isinff, __isnan, __isnanf - bump major ok millert@
* - move isinf, isnan dups to gen, since most is ieee 754martynas2008-07-247-7/+176
| | | | | | | | | | | | | | | | - 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
* Use _C_LABEL when appropriate.miod2008-05-213-10/+10
|
* if we pull in a .S file, we must fake out the lint with a .c filederaadt2005-11-291-2/+5
| | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
* zap rcsid.espie2005-08-0712-58/+12
| | | | okay deraadt@ (tested them all)
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-011-2/+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@
* Remove the advertising clause in the UCB license which Berkeleymillert2003-06-0211-67/+23
| | | | rescinded 22 July 1999. Proofed by myself and Theo.
* From NetBSD; Use _C_LABEL, not SYSNAME to call sigaltstack, sigblock,millert2002-11-061-5/+5
| | | | | | sigreturn. sigblock has not been a syscall since 4.3BSD and using SYSCALL directly seems like a bad idea in general. Fixes a build problem on vax. OK miod@
* Use the LBL isnan() and isinf() on all platforms with ieee floating point.millert2001-09-101-1/+3
|
* Fix the syscall wrappers name generation in, so that libc_r gets themiod2001-08-231-5/+5
| | | | | | correct entry points and programs can link to it. I would have commited this later, but fgs@ insisted.
* Most of the systems we run on require an emulated EMODD, so avoid usinghugh2001-04-181-2/+8
| | | | | | | it if a CVTDL would do instead. This path is 80x faster on such systems, and falling back to EMODD if necessary hurts little. Helps programs like nawk, a heavy modf user.
* Fix lots of register masks.bjc2001-03-186-14/+14
|
* Fresh infinity from NetBSD.hugh2000-10-101-4/+5
|
* tabifykstailey1997-07-231-5/+5
|
* Fix RCS idstholo1996-08-1913-43/+43
| | | | Make sure everything uses {SYS,}LIBC_SCCS properly
* From NetBSD: Add explicit return typeniklas1996-02-241-1/+3
|
* from netbsd; sigsetjmp/siglongjmp was missing. Code fix by Arne H. Juul.deraadt1995-12-142-2/+70
|
* initial import of NetBSD treederaadt1995-10-1812-0/+770