martin
ce099b4099
Remove clause 3 and 4 from TNF licenses
2008-04-28 20:22:51 +00:00
msaitoh
8ce1f4fff2
fix typos
2007-04-29 20:23:34 +00:00
drochner
58bd20f660
if setcontext(2) returns, _exit(2) with a return code of -1 instead
...
of relying on a sensible return value
2006-11-08 21:16:40 +00:00
christos
b1732b7a63
make these consistent.
2006-02-19 05:06:02 +00:00
drochner
a7eb670171
these went to compat
2005-09-16 18:29:55 +00:00
drochner
0341f6a45e
the WARN_REFERENCES text "include <signal.h> for correct reference" is pointless
...
as <signal.h> won't help you, so remove it
2004-03-26 22:15:03 +00:00
drochner
87d87e87fe
no need to define __HAVE_SIGINFO anymore
2004-03-26 21:29:07 +00:00
drochner
598cd4e454
fix siginfo adaption -- the "compat_16" prefix
...
shouldn't be exposed as a symbol
2004-03-26 21:24:14 +00:00
drochner
cd85223ee2
save errno while trying to install a !SA_SIGINFO trampoline -- this
...
is expected to fail with !COMPAT_16 kernels, and we shouldn't
overwrite errno in this case
2004-03-23 16:19:40 +00:00
christos
f57e3e8f0a
sync with the x86 one.
2003-10-18 18:33:51 +00:00
skd
b3ec0a1d45
Siginfo libc changes for alpha. Approved by thorpej@netbsd.org.
2003-10-07 17:08:07 +00:00
nathanw
4fb740b8de
Implement pthread_atfork() (in libc, because the required threadlib
...
stub behavior is exactly the same as the usual behavior).
2003-02-13 02:50:48 +00:00
thorpej
3fdac2b8c5
Merge the nathanw_sa branch.
2003-01-18 10:52:16 +00:00
thorpej
8aa4d3caec
New __sigaction14() system call stub which registers the signal
...
trampoline, and the signal trampolines themselves.
NOTE: These are not yet enabled; they will be enabled after further
testing on more architectures.
2002-07-09 23:32:35 +00:00
thorpej
4cd75d0d0a
Add a __clone(3) entry point.
2001-07-17 00:33:04 +00:00
kleink
6814785547
Make the END() argument match the entry name.
2001-05-07 17:19:17 +00:00
mycroft
344549013e
Add the obvious, trivial __syscall() stub.
2000-12-13 07:49:17 +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
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
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
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
thorpej
2af42e072f
Signal changes for Alpha.
1998-09-29 03:01:37 +00:00
thorpej
bedc7b48df
Add syscall stubs for __vfork14(). These are basically copies of Ovfork.S
...
with the syscall numbers changed.
Since 4.4BSD vfork(2) did not share address space, Ovfork.S could be changed
to be identical to fork.S (modulo syscall numbers). __vfork14.S, however,
needs to remain separate since with a shared address space, the stub needs to
pre-decrement the stack and do an indirect jump to the return address, so that
the shared stackframe is still there when the parent returns. (Obviously,
this does not apply to systems which to not build stackframes on leaf calls.)
1998-01-04 20:58:08 +00:00
cgd
0f191bd9d2
remove these, they are no longer necessary or appropriate
1997-11-05 22:33:28 +00:00
cgd
4a6fd887f0
File which provides lint stubs for the functions defined by
...
machine-dependent assembly code, whose source files live in its directory.
(Not necessarily complete yet.)
1996-12-22 11:44:55 +00:00
mycroft
c9ec05f4b2
Treat reboot() like a normal system call. From PR 2458.
1996-11-11 13:41:08 +00:00
cgd
1ae38b6471
if _REENTRANT is defined, store the error value in (*__errno()), rather than
...
in errno directly, to support threads packages.
1996-11-08 00:52:46 +00:00
cgd
c30a5d9842
kill "IMPORT(errno, 4)" since it is unnecessary
1996-11-08 00:51:24 +00:00
cgd
55c6bc901c
catch up with <machine/asm.h> changes, SYS.h changes, and the removal
...
of DEFS.h
1996-10-17 03:08:03 +00:00
cgd
731ac8686e
set the GP before accessing errno.
1996-09-17 21:16:12 +00:00
cgd
8df506ad69
user better names for local labels, as suggested by Matt Thomas and
...
slightly tweaked.
1996-09-09 00:57:59 +00:00
cgd
5b14175ea1
be more conservative when setting the gp
1995-11-04 00:23:04 +00:00
cgd
e4f5181d15
libc support for the alpha. more functions should be written in assembler,
...
but that's optimization. 8-)
1995-02-10 17:49:48 +00:00