Commit Graph

464 Commits

Author SHA1 Message Date
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
eeh
ff34887c45 More fixes to signal handling code... 1999-01-03 16:22:04 +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
sakamoto
e3a695901c Add frexp.c and modf.c. 1998-11-26 07:50:56 +00:00
tsubai
106908bdb8 Add PIC version. 1998-11-24 11:14:54 +00:00
christos
7c990e0c7b delint 1998-11-14 19:31:01 +00:00
matt
cf2842a1b0 Some changes to disassembly easier without causing any performance penalty. 1998-10-20 06:46:19 +00:00
christos
f2e15d15fa Fix the non pic version too. 1998-10-16 14:11:53 +00:00
christos
3d8121f3df PR/6285: Tom Ivar Helbekkmo: sigsetjmp/siglongjmp broken after current signal
changes.
1998-10-16 13:28:39 +00:00
kleink
d541ca6d80 Need internal names for isinf() and isnan(). 1998-10-13 14:43:36 +00:00
matt
c1d0053032 PICify. (e.g. change movl $sym, rX to movab sym, rX) 1998-10-13 00:02:19 +00:00
matt
592306e323 Use __sigprocmask14, fix a few more bugs 1998-10-10 01:50:23 +00:00
matt
99d642287b Actually build __setjmp.S/__sigsetjmp.S for vax. PICifiy the setjmp code.
Fix libm Makefile to handle obj directories.
1998-10-10 00:08:50 +00:00
eeh
aba7891e3d Fix libc signal breakage (I hope). 1998-10-08 02:27:58 +00:00
kleink
ad0a7279e9 Add *__errno() redirection for _REENTRANT code. Also, some movel vs. movl
consistency.
1998-10-06 19:05:26 +00:00
kleink
9849eb57f8 Declare one of {__errno,errno}, depending on _REENTRANT. 1998-10-06 18:56:25 +00:00
thorpej
4359863000 Update for signal changes. 1998-10-05 02:34:18 +00:00
tsubai
00b455d632 New signal stuff for PowerPC. 1998-10-03 12:30:37 +00:00
matthias
ce5916bcb9 __setjmp14.S
fix a fatal bug I introduced when I merged my changes with Jason's.
__sigsetjmp.S
	cosmetics
1998-10-03 10:39:46 +00:00
matthias
d2a91d2279 SYS.h
Fix CALL to use _C_LABEL.
gen/Makefile.inc
	setjmp.S and sigsetjmp.S don't have lint stubs. Append them to
	SRCS, not ASSRCS.
gen/__setjmp14.S, gen/__sigsetjmp14.S
	some small optimizations
string/strcat.S string/strncat.S string/strncpy.S
	use _C_LABEL when calling functions
1998-10-01 22:46:35 +00:00
kleink
b5fe349eff Add *__errno() redirection for _REENTRANT code. 1998-10-01 19:25:05 +00:00
kleink
d8d9d85d13 (Fortunately harmless) typo in previous. 1998-10-01 19:20:44 +00:00
christos
d5c25c895a This should be close... 1998-10-01 18:59:16 +00:00
kleink
f73ad7167d Add *__errno() redirection for _REENTRANT code. 1998-10-01 09:26:31 +00:00
ragge
7f233b2f7a New libc signal handling stuff. 1998-09-30 18:37:39 +00:00
thorpej
c9c3e3bff4 ns32k signal changes. 1998-09-29 20:24:36 +00:00
thorpej
ca1e742680 NetBSD/arm32 signal changes. 1998-09-29 20:23:25 +00:00
christos
4d4de54f5f Make the sparc work again; some work from jason, some from me. 1998-09-29 05:55:48 +00:00
thorpej
2af42e072f Signal changes for Alpha. 1998-09-29 03:01:37 +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
christos
2e3d142a37 Add a compat sigaction. 1998-09-26 23:57:15 +00:00
christos
6bacaab8be Fix signal mess. Change old syscalls to use the right signal numbers
and add a versioned copy of sigreturn (from Jason)
1998-09-26 23:49:34 +00:00
christos
ccf1e97b10 Add setjmp versioned bits (from Jason).
XXX: Someone needs to make setjmp/longjmp save and restore the signal stack!
1998-09-26 23:46:01 +00:00
thorpej
3d3a3c610c Back out previous change; it was incorrect. 1998-09-14 00:57:51 +00:00
eeh
83116b3d6b Libc fixes, mostly to work around the new signal stuff. 1998-09-13 23:54:44 +00:00
eeh
07c6aca8ad Bring in definition for stack BIAS. 1998-09-12 16:54:14 +00:00
eeh
cf009bcc7a Add sparc64-specific libc. 1998-09-11 04:56:19 +00:00
mycroft
2142384565 Assign my copyrights to TNF. 1998-08-15 09:36:04 +00:00
tsubai
7992f14b3a s/asm/__asm/ 1998-08-09 12:43:33 +00:00
perry
c6300798a1 add memcmp.S 1998-08-04 03:35:32 +00:00
mark
ec628f2561 Update for machine/setjmp.h change (JMPBUF* -> _JB*) 1998-08-04 02:03:08 +00:00
perry
2cc5ae3efa add memcmp.S to libkern. 1998-08-04 01:35:57 +00:00
perry
73e9c49b2b add memmove.S to libkern. 1998-08-04 01:24:59 +00:00
mycroft
982e920022 const poisoning. 1998-07-26 14:13:00 +00:00