mycroft
ffb377199e
Make this link right again!
2000-12-14 20:03:42 +00:00
matt
3a17b3526a
Don't need __syscall.S here either.
2000-12-13 07:44:34 +00:00
enami
44db4d16cc
KMSRCS is different from SRCS. Put __syscall.S in latter.
2000-12-13 07:05:55 +00:00
simonb
0e35eedd7e
Move __syscall.S to the arch specific Makefile.inc's where it is
...
implemented.
2000-12-12 22:38:42 +00:00
mycroft
0878972b4c
Adjust for changes in asm.h.
2000-12-12 07:35:39 +00:00
mycroft
62664869a2
Add trivial implementation.
2000-12-12 07:10:25 +00:00
mycroft
3340188285
Minor cleanup.
2000-12-12 07:10:14 +00:00
kleink
82fd76bb06
Need an internal name for pipe(2).
2000-09-28 08:38:53 +00:00
itohy
af83a97717
Add special treatment of shmat(2).
...
On m68k ELF calling standard (__SVR4_ABI__), if a function
returns a pointer, the return value should go to a0 as well as d0.
2000-07-07 08:20:50 +00:00
kleink
b8a4d7adf9
Need an internal name for fork().
2000-06-26 06:32:54 +00:00
kleink
15bc7ed349
Thinko in previous: we do always use an internal name.
2000-06-26 06:25:36 +00:00
kleink
03f996bd0c
Add internal names for brk() and sbrk().
2000-06-23 15:40:36 +00:00
cgd
d220ca5ba3
fix up NetBSD RCS Ids to match the standard, and the leading comment as
...
to match as well. No functional changes.
2000-06-14 06:48:47 +00:00
mark
a319e58c04
Fix alignment of __nanf and __infinity. Fixes PR9925.
2000-04-18 22:07:17 +00:00
soren
89c5a767f8
Fix doubled 'the's.
2000-03-13 22:55:05 +00:00
kleink
e4d7c2e329
Add ISO C99 long long integer general utility interfaces; partially addresses
...
PR standards/9482.
2000-03-06 18:32:22 +00:00
kleink
fb2f23e243
Oops, need to save r2 and r3 as well.
2000-01-27 15:11:17 +00:00
kleink
1a3fa11c95
Support *__errno() indirection.
2000-01-24 21:57:39 +00:00
mycroft
c26054b799
Delint.
2000-01-22 22:40:58 +00:00
kleink
11e6c54cfc
C99: Define a NAN macro in <math.h> which evaulates to a constant expression of
...
a single-precision quiet NaN; only to be defined on platforms that do support
this value.
1999-12-23 10:15:05 +00:00
is
e203553a11
Finish support for auto-generated libkern divsi3.S.
1999-09-21 09:43:38 +00:00
is
897dbf6c67
Use an identical source file for the libc and the libkern version of
...
divsi3.S, conditionally compiling the divide by zero case. This way,
after a change to the one, we can just copy it over to update the other
without creating ... problems. By Chris G. Demetriou.
1999-09-20 09:22:47 +00:00
is
bc086d24af
In the division core: if the highest bit of the dividend is set,
...
we have to be careful when shifting the divisor. Test this.
This fixes PR 7760 by Richard Earnshaw.
1999-09-16 09:15:05 +00:00
mycroft
b3b07a4c6e
Another microoptimization. Take advantage of the addition already having set
...
the flags for the <=0 comparison.
1999-08-30 18:28:24 +00:00
mycroft
0560606383
Reuse the trick of loading 0.0 (rather than 1.0) and then modifying the
...
exponent. It's a bit faster on some machines.
1999-08-30 18:01:40 +00:00
augustss
6a4d7f0bc4
Make it compile again by removing an unused variable.
1999-08-30 12:14:09 +00:00
mycroft
5f34ffabca
ldexp(denormal, exp>1023) would generate the wrong result in all non-overflow
...
cases. Totally rework this code to fix this bug *and* make it faster.
1999-08-29 22:45:32 +00:00
mycroft
02a48bde49
Don't ever return -0.0.
1999-08-29 19:04:02 +00:00
mycroft
0d708431b7
Minor style change.
1999-08-29 18:40:50 +00:00
mycroft
ea4b733810
Trivial KNF.
1999-08-29 18:39:35 +00:00
mycroft
6850b97bb3
Sync with SPARC version.
1999-08-29 18:35:51 +00:00
mycroft
099dd01a1d
Make the C version of frexp() consitent across platforms, and handle the
...
Inf/NaN case.
1999-08-29 18:30:14 +00:00
mycroft
17030e8106
Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
1999-08-29 18:08:27 +00:00
thorpej
30dca7f7db
Add __msgctl13(), __semctl13(), and __shmctl13() (symbols are __RENAME()'d
...
in their respective header files). Add PSEUDO stubs for the old versions
of these system calls.
Note that __semctl13() doesn't require the extra stub that the old
semctl()/__semctl() did, as the SUSv2 version takes variable arguments,
and thus does not require the extra indirection.
1999-08-25 05:09:27 +00:00
tron
d7678457d6
Fix definition of infinity. Patch supplied by Richard Earnshaw in
...
PR lib/7829.
1999-06-21 22:31:32 +00:00
kleink
5b4ea02521
_C_FUNC() -> _C_LABEL()
1999-05-06 14:01:20 +00:00
kleink
c66e4d7122
* Prefix softfloat symbols which require external linkage with _arm32_ to
...
move them out of user namespace; declare those not requiring external linkage
static.
* In due course, disable those functions that require neither external nor
internal linkage.
Addresses PR port-arm32/7517.
1999-05-06 13:56:28 +00:00
mycroft
2b504929fa
Just some minor cleanup.
1999-03-10 08:15:43 +00:00
mycroft
8bf9a67c76
One instruction shorter, and returns the same 32-bit result.
1999-01-22 09:13:17 +00:00
bouyer
dc306354b0
Move the bswap functions from libutil to libc (this bups the
...
minor of libc and the major of libutil). For little-endian architectures
merge the bnswap() assembly versions with nto* and hton* using symbols
aliasing. Use symbol renaming for the bswap function in this case to avoid
namespace pollution.
Declare bswap* in machine/bswap.h, not machine/endian.h. For little-endian
machines, common code for inline macros go in machine/byte_swap.h
Sync libkern with libc.
Adjust #include in kernel sources for machine/bswap.h.
1999-01-15 13:31:15 +00:00
kleink
6348b7d5b5
* On architectures using ELF, and conditionally on those in transition, rename
...
_ASM_LABEL(cerror) and _ASM_LABEL(curbrk) to _C_LABEL(__cerror) and
_C_LABEL(__curbrk) (or their respective architecture-specific equivalents) to
avoid possible name clashes with identifiers used in user applications.
* Do the same for minbrk on all architectures to avoid a GCC-specific (and
on ELF architectures effectively useless) symbol reference renaming in MI code.
1999-01-14 22:48:18 +00:00
mycroft
317ff12487
Slight cleanup.
1998-12-04 09:52:43 +00:00
thorpej
efd37a7da8
Warn about references to the compatibility vfork() (i.e. the vfork() with
...
the 4.4BSD non-shared-address-space semantics), and direct the user to
include <unistd.h> to generate the correct reference.
This warning isn't about an ABI compatibility issue, but the new vfork() is
considerably faster.
1998-12-02 19:29:56 +00:00
thorpej
e644246e6a
Warn about references to the compatibility() sigaction(), sigpending(),
...
sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
1998-12-02 01:01:03 +00:00
christos
7c990e0c7b
delint
1998-11-14 19:31:01 +00:00
kleink
d541ca6d80
Need internal names for isinf() and isnan().
1998-10-13 14:43:36 +00:00
thorpej
ca1e742680
NetBSD/arm32 signal changes.
1998-09-29 20:23:25 +00:00
mark
ec628f2561
Update for machine/setjmp.h change (JMPBUF* -> _JB*)
1998-08-04 02:03:08 +00:00
mycroft
982e920022
const poisoning.
1998-07-26 14:13:00 +00:00
christos
49278ef701
s/inline/__inline/ so that lint works.
1998-06-28 20:19:30 +00:00