cgd
2eb1943575
make these more amenable to being copied into libkern. (Gee, why wasn't
...
this done before? it's not like it was hard...)
2001-02-27 19:44:54 +00:00
cgd
181fee6ea8
pull up <machine/endian.h> and use BYTE_ORDER to decide endianness,
...
rather than MIPSEL and MIPSEB definitions.
2001-02-27 18:59:16 +00:00
simonb
1bb9a3396c
Remove all the .abicalls assembler directives - "SYS.h" already has that.
2000-12-13 23:29:06 +00:00
simonb
488ef36c45
Another bare minimum __syscall.
2000-12-13 23:18:40 +00:00
jeffs
4912e50a59
Make memcpy and memmove use bcopy assembly for mips. Tweak forward copy
...
code for backward copy to make overlap copy faster. This happens in
some SW like sleepycat db. Use temp labels in order to not confused
the profiling tools.
2000-10-10 21:51:54 +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
de9e80b40f
Missed in previous: replace the previously used _brk label with an ordinary
...
local label; problem noticed by Matthias Drochner.
2000-07-04 07:37:33 +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
castor
5510a708c4
Make __cerror be LEAF_NOPROFILE. I relies upon having v0 and v1 be unchanged
...
from the caller. From Ethan Solomita <ethan@geocast.com>
2000-05-29 15:07:41 +00:00
mycroft
78a4ddbd60
Do a little rearrangement here. No functional change, but it's a little
...
clearer what's going on.
The assembler still whines about the lack of `.cprestore' when profiling,
but I'm not going there right now.
2000-03-23 04:58:59 +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
shin
e68fefb855
remove unused files (MIPS SOFTFLOAT).
2000-03-05 05:45:46 +00:00
shin
ac9896415f
remove MIPS SOFTFLOAT.
2000-03-05 05:41:03 +00:00
mycroft
19b51e87a9
Remove pointless #ifdef.
2000-02-25 17:40:30 +00:00
mycroft
9ff0891c83
Fix bogons.
2000-02-22 03:28:04 +00:00
mycroft
5256a370bf
Do the minimum work to make this compile with -Werror.
2000-02-22 03:14:20 +00:00
mycroft
32d50d3388
Do the minimum work to make this compile with -Werror.
2000-02-22 01:18:28 +00:00
mycroft
c26054b799
Delint.
2000-01-22 22:40:58 +00:00
shin
509e885e3b
fix name space pollution by adding prefix '_mips_'.
...
closes PR 8770.
1999-12-26 00:22:31 +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
shin
54de12eae6
remove extra lw (SOFTFLOAT)
1999-10-11 05:25:35 +00:00
shin
f761ddb744
adjust #endif position (SOFTFLOAT)
1999-10-11 05:21:06 +00:00
takemura
cdabc2eb91
Hpcmips needs completely FPU instruction free user land.
...
XXX, this modification is kinda ad-hoc.
1999-09-29 13:19:13 +00:00
takemura
2f85eb6142
Import NetBSD/hpcmips source files from hpcmips repository.
...
file list:
sys/arch/hpcmips/
distrib/hpcmips/
etc/etc.hpcmips/
lib/libc/arch/mips/fplib/
lib/libc/arch/mips/fplib/Makefile.inc
lib/libc/arch/mips/fplib/environment.h
lib/libc/arch/mips/fplib/fplib_glue.c
lib/libc/arch/mips/fplib/fplib_libc.c
lib/libc/arch/mips/fplib/hpcmips-gcc.h
lib/libc/arch/mips/fplib/softfloat-macros.h
lib/libc/arch/mips/fplib/softfloat-specialize.h
lib/libc/arch/mips/fplib/softfloat.c
lib/libc/arch/mips/fplib/softfloat.h
lib/libc/arch/mips/gen/ieee.h
lib/libc/arch/mips/gen/sf_fabs.c
lib/libc/arch/mips/gen/sf_flt_rounds.c
lib/libc/arch/mips/gen/sf_fpgetmask.c
lib/libc/arch/mips/gen/sf_fpgetround.c
lib/libc/arch/mips/gen/sf_fpgetsticky.c
lib/libc/arch/mips/gen/sf_fpsetmask.c
lib/libc/arch/mips/gen/sf_fpsetround.c
lib/libc/arch/mips/gen/sf_fpsetsticky.c
lib/libc/arch/mips/gen/sf_isinf.c
lib/libc/arch/mips/gen/sf_ldexp.c
lib/libc/arch/mips/gen/sf_modf.c
1999-09-16 12:13:17 +00:00
mycroft
9cba4741ee
Use C versions of isinf() and isnan(). The assembler code is basically
...
identical, but was endian-dependent.
1999-08-29 23:01:40 +00:00
mycroft
ea4b733810
Trivial KNF.
1999-08-29 18:39:35 +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
291053e1e2
Use ieee.h.
1999-08-29 18:23:26 +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
kleink
5af7e7a902
Change references to `end' to `_end' as not to invade (or being invaded by)
...
the user's name space.
1999-03-31 11:53:07 +00:00
jonathan
cd6244f1cc
Assembly-coded, word-at-a-time unrolled memset().
1999-03-15 06:37:43 +00:00
jonathan
2d40554ce3
_setjmp.S needs OFFSETOF_SC_{FP,}REGS, so include <machine/signal.h>
...
even tho _setjmp()/_longjmp() don't manipulate signals. (more thought?)
1999-02-05 00:41:42 +00:00
castor
eede9d202f
Regularize with removal of genpubassym.cf. Structure offsets
...
now obtained from signal.h
1999-01-31 00:57:10 +00:00
castor
8605fac4eb
* Fix typo in Makefile.inc -- byte_swap_2.4 -> byte_swap_4.S
...
* Change bytes_swap_4.S to have consistent NLEAF and END for swap routine.
1999-01-18 04:32:49 +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
castor
7ad987bb7c
Userland support for 64-bit safe sigcontexts.
1999-01-15 03:53:33 +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
simonb
c93135c35a
s/vm_offset_t/vaddr_t/
1999-01-10 08:24:42 +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
adb7eb514d
sigaction() that calls the compat syscall (jonathan forgot to commit this).
1998-09-28 19:01:28 +00:00
jonathan
0c47ce2246
mips libc stubs for sig*14 signal API (128bit sigset_t),
...
plus backward-compatibility for the old 1.3 libc entrypoints.
1998-09-27 22:59:39 +00:00
mycroft
982e920022
const poisoning.
1998-07-26 14:13:00 +00:00
jonathan
7e49f8ba22
From Arne Juul <arnej@math.ntnu.no>:
...
Explicilty reload the mips-ABIcall GOT/$gp in cerror().
cerror() gets called from outside libc (e.g., from libposix's rename(),
and if we don't load $t9, cerror() makes wild references using
the libposix $gp and coredumps.
1998-07-25 03:01:45 +00:00