aboutsummaryrefslogtreecommitdiff
path: root/lib/libc/arm
Commit message (Collapse)AuthorAgeFilesLines
* MFC: Add error handling for PSEUDO syscalls.Doug Rabson2008-05-041-14/+7
| | | | | | | PR: 123325 Notes: svn path=/stable/6/; revision=178759
* MFC rev 1.2:Olivier Houchard2007-02-261-0/+5
| | | | | | | Provide definitions suitable for arm big-endian. Notes: svn path=/stable/6/; revision=167028
* Use the correct values for softfloat, in both the little endian and the bigOlivier Houchard2005-03-202-8/+13
| | | | | | | endian cases. Notes: svn path=/head/; revision=143858
* Define LDBL_NBIT to be a mask indicating the position of the integerDavid Schultz2005-03-071-1/+2
| | | | | | | | | | | bit in a long double. For architectures that don't have such a bit, LDBL_NBIT is 0. This makes it possible to say `mantissa & ~LDBL_NBIT' in places that previously used an #ifdef to select the right expression. The optimizer should dispense with the extra arithmetic when LDBL_NBIT is 0. Notes: svn path=/head/; revision=143214
* Update my email address.David Schultz2005-02-061-1/+1
| | | | Notes: svn path=/head/; revision=141379
* Replace the ldexp() implementation in libc with a renamed copy of theDavid Schultz2005-01-221-155/+0
| | | | | | | | | | | | | | | | | | | scalbn() implementation from libm. (The two functions are defined to be identical, but ldexp() lives in libc for backwards compatibility.) The old ldexp() implementation... - was more complicated than this one - set errno instead of raising FP exceptions - got some corner cases wrong (e.g. ldexp(1.0, 2000) in round-to-zero mode) The new implementation lives in libc/gen instead of libc/$MACHINE_ARCH/gen, since we don't need N copies of a machine-independent file. The amd64 and i386 platforms retain their fast and correct MD implementations and override this one. Notes: svn path=/head/; revision=140607
* Eliminate gdtoa.mk and move its contents to ${MACHINE_ARCH}/Makefile.inc.David Schultz2005-01-152-5/+4
| | | | | | | | The purpose of having a separate file involved an abandoned scheme that would have kept contrib/gdtoa out of the include path for the rest of libc. Notes: svn path=/head/; revision=140279
* Use the RET macro.Olivier Houchard2004-11-0917-52/+52
| | | | | | | | For setjmp() and longjmp(), put the signal mask where it's supposed to be, instead of in the space reserved for fp regs. Notes: svn path=/head/; revision=137464
* Add a week alias __siglongjmp => siglongjmp.Olivier Houchard2004-11-091-0/+1
| | | | Notes: svn path=/head/; revision=137461
* MFKernel: Implement ffs with clz on Xscale.Olivier Houchard2004-11-071-0/+6
| | | | Notes: svn path=/head/; revision=137343
* Don't define SOFTFLOAT directly in source files, it's now done in the Makefile.Olivier Houchard2004-11-052-2/+1
| | | | Notes: svn path=/head/; revision=137287
* Fix signalcontext and makecontext.Olivier Houchard2004-11-053-14/+17
| | | | Notes: svn path=/head/; revision=137286
* Remove getcontext.S, it is not needed.Olivier Houchard2004-11-052-64/+1
| | | | Notes: svn path=/head/; revision=137285
* Import a Makefile for arm.Olivier Houchard2004-11-051-0/+8
| | | | Notes: svn path=/head/; revision=137284
* Make setjmp()/longjmp() use sigprocmask.Olivier Houchard2004-09-231-9/+9
| | | | Notes: svn path=/head/; revision=135685
* Add a dummy set_tp().Olivier Houchard2004-09-232-1/+36
| | | | Notes: svn path=/head/; revision=135684
* Always use bx for returning on Xscale.Olivier Houchard2004-09-231-76/+76
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=135683
* Fix the align-to-32-bits code.Olivier Houchard2004-09-231-2/+2
| | | | | | | Obtained from: NetBSD Notes: svn path=/head/; revision=135682
* Replace seven nominally MD implementations of frexp() that are brokenDavid Schultz2004-07-182-68/+1
| | | | | | | for subnormals with one implementation that works. Notes: svn path=/head/; revision=132366
* Implement the classification macros isfinite(), isinf(), isnan(), andDavid Schultz2004-07-092-71/+1
| | | | | | | | | | | | | | | | | | | | | | | | 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 Notes: svn path=/head/; revision=131852
* Import the FreeBSD/arm libc bits.Olivier Houchard2004-05-1452-0/+6225
Obtained from: NetBSD Notes: svn path=/head/; revision=129202