summaryrefslogtreecommitdiffstats
path: root/lib/libc/arch/arm (follow)
Commit message (Collapse)AuthorAgeFilesLines
* The kernel returns the pending set; this stub has to save it throughguenther2012-07-011-4/+8
| | | | | | the pointer ok miod@ kettenis@
* __tfork() needs to set the stack address of the new thread in the kernel,guenther2012-06-211-12/+5
| | | | | | | | | 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@
* rely on the compiler giving us a built-in alloca. any new architecturederaadt2012-04-192-48/+1
| | | | | or compiler we use will. ok millert
* alloca.c cannot be usedderaadt2012-04-121-2/+1
|
* remove rfork(); ok guenther miodderaadt2012-04-121-32/+0
|
* Move __tfork_thread() from rthreads (libpthread) to libc so thatguenther2012-03-221-0/+48
| | | | | | 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-3/+38
| | | | | 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-38/+3
| | | | them in libc for a very long time. OK guenther@.
* Move arm to the 'MI' softfloat code instead of the arm version.drahn2011-07-0529-7171/+2
| | | | YES!! miod@
* Move __cerror to ___cerror with a weak alias so that rthreads can override it.guenther2011-04-042-3/+6
| | | | | | On mips64, also correct the name called from plain cerror to __cerror. "looks correct" miod@
* more rcsid/sccs cleanupderaadt2009-10-282-6/+2
|
* Fix signed vs unsigned issue with memcmp/strncmp where the size parameterdrahn2009-05-032-10/+16
| | | | was incorrectly being treated as signed. ok miod@
* remove from gen so that lint doesn't check gen if assembly versionsmartynas2009-04-211-3/+3
| | | | are available. spotted by theo
* - ldexp implementation has issues. switch to the one from libmmartynas2009-04-193-253/+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-2/+3
|
* alias fabsl to fabs on these archsmartynas2008-12-091-1/+4
|
* - replace dtoa w/ David's gdtoa, version 2008-03-15martynas2008-09-073-0/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - 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-99/+19
| | | | | | | | | | | | | | | | - 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
* clear sign bit, instead of comparing to zero and setting x=-x.martynas2008-07-231-35/+22
| | | | | | | fixes special cases, such as neg. zero, and makes C99 conformant ok miod@, millert@ since there's nothing else in arm's fabs.c, replace 4-clause license w/ the one at /usr/share/misc/license.template
* First pass at removing clauses 3 and 4 from NetBSD licenses.ray2008-06-2614-112/+14
| | | | | | | | | Not sure what's more surprising: how long it took for NetBSD to catch up to the rest of the BSDs (including UCB), or the amount of code that NetBSD has claimed for itself without attributing to the actual authors. OK deraadt@
* LSRCS should refer to the C source version of asm files 'put it in' deraadt@drahn2007-05-171-2/+2
|
* Unbreak libc on arm. -mojmaja2007-05-171-2/+2
|
* fix some lint 'xxx used, but not defined' warnings by properly addingotto2007-05-151-1/+4
| | | | stuff to LSRCS
* Load the syscall number into the scratch register (r12) so that we dontdrahn2006-11-071-1/+3
| | | | need the copyin.
* typos from alexey dobriyan;jmc2006-02-061-2/+2
|
* if we pull in a .S file, we must fake out the lint with a .c filederaadt2005-11-291-12/+5
| | | | | for this first cut, we will do this for alloca() using alloca.c by adding it to LSRCS
* undo unrelated commitespie2005-08-071-2/+2
|
* .PATH betterderaadt2005-08-071-2/+2
|
* zap rcsid.espie2005-08-076-23/+7
| | | | okay deraadt@ (tested them all)
* Replace broken frexp() with a working one from FreeBSD. There'smillert2005-02-012-76/+1
| | | | | | 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 weak aliases for _thread_sys functions, proper libpthead linking.drahn2004-03-011-31/+18
| | | | rewrittent to more closely model other archs. ok deraadt@ miod@
* Remove WARN_REFERENCES incorrectly imported from NetBSD. ok miod@drahn2004-02-162-8/+2
|
* Update from netbsd, prodded by miod@drahn2004-02-121-2/+2
|
* Do not generate text relocations in PIC code.drahn2004-02-073-11/+11
|
* fix alias definition, was backwards.drahn2004-02-061-2/+2
|
* Correct modf (from alpha) instead of one which doesnt compile from NetBSDdrahn2004-02-032-29/+37
|
* add missing frexpdrahn2004-02-022-1/+76
|
* cleanupdrahn2004-02-021-17/+1
|
* This file was not supposed to committed.drahn2004-02-021-967/+0
|
* Use the real fpgetround found in softfloat.drahn2004-02-022-10/+1
|
* fix __weak_aliasdrahn2004-02-021-2/+2
|
* Add missing minbrk symbol, fixes profiling builds.drahn2004-02-021-1/+5
|
* sigh, watch for compile errors...drahn2004-02-021-4/+4
|
* ARGH, forgot tags.drahn2004-02-0169-1/+69
|
* arm libc support. From NetBSD. currently supports softfloat.drahn2004-02-0174-0/+11427