Commit Graph

5538 Commits

Author SHA1 Message Date
kleink a98b4bac65 Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
2003-10-26 00:48:14 +00:00
kleink e9788d63be Whitespace cosmetics. 2003-10-25 22:43:26 +00:00
kleink 142c4159e8 libc.so.12.106: __infinityf, __infinityl. 2003-10-25 22:33:14 +00:00
kleink 9f3dbee22c Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
2003-10-25 22:31:20 +00:00
kleink 8e2428c2c6 Remove an unnecessary line continuation backslash from previous. 2003-10-25 21:54:30 +00:00
kleink c6126e1095 Sync with i386:
Update to account for separate handling of the explicit integer bit;
simplifies a little.
2003-10-25 21:48:34 +00:00
kleink 044354301a Update to account for separate handling of the explicit integer bit;
simplifies a little.
2003-10-25 21:42:07 +00:00
kleink 72315d3199 Update for FPA 80-bit extended-precision format. 2003-10-25 18:37:43 +00:00
kleink 25de9f5e2a Swap VFP and FPA sections to match the style of most other code;
no functional change.
2003-10-25 17:57:15 +00:00
cl 342cbd284f replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
2003-10-25 17:13:57 +00:00
kleink bb5e0820bc Redo the VFP/endianness conditional logic of this file, making it easier
to read.  No functional change except for the side-effect of fixing the
ARMEB FPA case, which wasn't supported anyway.
2003-10-25 16:17:44 +00:00
he 6afbde6005 Correct another typo. 2003-10-25 14:51:16 +00:00
kleink 15e03bd18f Pasto in previous. 2003-10-25 14:31:21 +00:00
kleink 661f76699f POSIX: when attempting to fdatasync(2) a file which is not open for
writing, fail with EBADF.
2003-10-25 01:18:01 +00:00
kleink 17bcc01b65 Oops, re-add line continuation. 2003-10-24 19:50:13 +00:00
kleink 4ca4f9f41a Add an error check to ensure these are used on platforms without a
distinct long doble type only.
2003-10-24 10:30:36 +00:00
uwe d469976b59 In PIC code "braf" to cerror, not "bsrf" to it! 2003-10-24 04:41:28 +00:00
kleink 712c8de209 * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
  platforms where `long double' == `double'; move others into
  machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
2003-10-24 00:58:01 +00:00
scw 2ffebceb85 Duh, fix the align-to-32-bits code. 2003-10-23 20:46:40 +00:00
jmc 0c336c7f37 Move include for reentrant.h inside CONFIG_H test so this works correctly
with tools/compat. Fixes PR#21344
2003-10-23 20:06:16 +00:00
kleink 6cded84c4b Fix an RCS Id botch that occured when renaming. 2003-10-23 00:04:57 +00:00
kleink 22396ac6f7 G/c __nanf2, which is neither being used nor the representation of a NaN. 2003-10-22 23:50:47 +00:00
kleink 77e57be326 For a double-extended NaN, the exponent must be EXT_EXP_INFNAN, not
DBL_EXP_INFNAN.
2003-10-22 21:37:34 +00:00
drochner 9122b04d59 the last argument to recvfrom() is a pointer, so use "NULL" for
consistency
2003-10-22 15:40:19 +00:00
drochner 71baa97c0b -don't update the RPC server address with the reply's sender address;
this breaks server failover under some circumstances, and Solaris doesn't
 seem to do it either
-minor cleanup
approved by fvdl
2003-10-22 15:38:31 +00:00
fvdl b279ed6377 Don't compare NULL against a character. 2003-10-21 00:07:17 +00:00
fvdl bc018099a2 Don't use NULL to compare against a char. 2003-10-21 00:03:47 +00:00
fvdl 39d7a2e359 Don't use NULL to compare against a character. 2003-10-21 00:00:34 +00:00
fvdl 9f7abac970 Use the int 0x80 path for context system calls. 2003-10-18 22:47:37 +00:00
briggs 7931285ae1 Need a couple more headers for the last change. 2003-10-18 20:11:04 +00:00
briggs 6646629469 Sync with the i386 version. 2003-10-18 18:36:35 +00:00
christos f57e3e8f0a sync with the x86 one. 2003-10-18 18:33:51 +00:00
christos c4990e5532 Userland portion of SIGTRAMP_VALID() commit. 2003-10-18 18:16:23 +00:00
fvdl 2b9ab2aab8 Get ucontext pointer back out of callee-saved register %r15. 2003-10-17 16:23:20 +00:00
wiz 58cc8234ca Slight improvements. 2003-10-15 20:04:48 +00:00
wiz 910124a085 Make the plural of `X' `X's instead of `Xs'.
Following a suggestion from jmc@openbsd.
2003-10-15 19:44:51 +00:00
wiz 538e6e3e1e Move siginfo(5) and ucontext(5) to siginfo(2) and ucontext(2) resp.,
and fix references.
Per a discussion on source-changes around Sep 14 2003.
2003-10-14 14:59:03 +00:00
christos e752a6f68a PR/23158: Johan Danielsson: Portable usage of the mk*temp() functions requires
six `X's.
2003-10-14 14:29:46 +00:00
yamt faf00d99a2 don't use uninitialized variable ('chlenbak').
the problem reported by Markus Illenseer on tech-userlevel@
and analyzed by enami tsugutomo.
2003-10-14 12:50:03 +00:00
scw 789335a49c Xscale-optimised mem* routines. Contributed by Wasabi Systems.
(Note: memcmp/memset improvements also benefit non-Xscale).

memcmp()  - Compare 32-bits at a time if possible. Special-case 6-byte
            comparisons, for the benefit of the network stack.

memset()  - More loop unrolling, plus use of 'strd' instruction,
bzero()     results in > 100% speedup on Xscale.

memcpy()  - Big-endian support, unrolled loops, 'strd/pld', plus special-
            cases for very common length/alignment combinations.
            Benchmarks show ~50% improvment on Xscale.

memmove() - Big-endian support. Use fast memcpy(), above, if the regions
bcopy()     don't overlap. Otherwise unchanged

XXX: The Xscale optimisations are not enabled by default, unless /etc/mk.conf
XXX: has the right compiler options. The intention is to pull them in via
XXX: something like libxscale.so, selected at runtime by ld.so.conf.
XXX: (Big-endian support is not affected by this).
2003-10-14 07:51:45 +00:00
wiz 8295081a25 & -> \*[Am]; mark up FD_SETSIZE; bump date for previous. 2003-10-14 07:44:43 +00:00
itojun 5435c421a0 note that programs that use rpc(3) cannot bump FD_SETSIZE. 2003-10-14 07:08:45 +00:00
agc 9f1aac5bb3 Move Jason Downs's code from a 4-clause to a 3-clause licence by
removing the advertising clause.  Diffs provided in PR 22410 by Joel
Baker, confirmed to the board by Jason Downs.

With additional thanks to Jason Thorpe.
2003-10-13 15:36:33 +00:00
agc b2b49933f4 Move Matt Green's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22396 by Joel Baker, the changes
were confirmed to the board by Matt Green.
2003-10-13 14:22:20 +00:00
agc ed6ed8e698 Move Keith Muller's code from a 4-clause to a 3-clause licence by removing
the advertising clause. Diffs provided in PR 22397 by Joel Baker, confirmed
to the board by Keith Muller.
2003-10-13 07:41:22 +00:00
pk f70031fee9 SIGINFO __sigaction & trampoline code. 2003-10-12 14:42:03 +00:00
christos 7152fa1070 use matt's powerpc implementation. It is simpler than mine, and it does
matter as far as performance goes.
2003-10-12 04:23:17 +00:00
enami f431b58f2b Back out rev. 1.56; `pointer points the byte just after the valid region'
is normal case.  If the parser wants something more, there should be
another bounds check for it.
2003-10-11 03:35:42 +00:00
simonb 62887f0740 Remove another unneeded cast to size_t.
Pointed out by Anil Madhavapeddy in private email.
2003-10-10 05:38:45 +00:00
ichiro c9be9cafc5 dont use __ARMEB__
It changed so that it might distinguish by BYTE_ORDER
2003-10-09 09:44:25 +00:00