Home | History | Annotate | only in /src/lib/libc/arch/sparc/sys
History log of /src/lib/libc/arch/sparc/sys
RevisionDateAuthorComments
 1.5 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 02-Dec-1998  thorpej 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.
 1.2 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.6 28-Apr-2008  martin branches: 1.6.8;
Remove clause 3 and 4 from TNF licenses
 1.5 28-Dec-2006  martin branches: 1.5.10;
Provide a full frame stack space in the clone'd child.
 1.4 28-Dec-2006  martin Use CCFSZ instead of 96 for standard save operations.
 1.3 23-Jan-2004  martin branches: 1.3.16;
If the syscall fails, the carry bit will be set - not the zero bit.
 1.2 02-Jan-2004  martin Restore stack frames on error return.
 1.1 23-Jul-2001  christos branches: 1.1.2;
add an implementation of __clone(2)
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 23-Jul-2001  nathanw file __clone.S was added on branch nathanw_sa on 2001-10-08 20:18:21 +0000
 1.3.16.2 04-Jan-2007  bouyer Pull up following revision(s) (requested by martin in ticket #313):
lib/libc/arch/sparc/sys/__clone.S: revision 1.5
Provide a full frame stack space in the clone'd child.
 1.3.16.1 04-Jan-2007  bouyer Pull up following revision(s) (requested by martin in ticket #312):
lib/libc/arch/sparc/gen/setjmp.S: revision 1.10
lib/libc/arch/sparc/sys/__clone.S: revision 1.4
lib/libc/arch/sparc/sys/cerror.S: revision 1.9
Use CCFSZ instead of 96 for standard save operations.
 1.5.10.1 18-May-2008  yamt sync with head.
 1.6.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.6.8.1 28-Apr-2008  martin file __clone.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.2 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.1 25-Aug-1999  thorpej 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.
 1.8 26-Oct-2021  christos Merge all MD __sigaction14_sigtramp.c copies into one:
- sparc and sparc64 were not using version 0 sigcontext when there were
no arguments in the signal version. This was probably a bug.
- vax is using +1 the version numbers of the other archs.
- Only hppa was defining __LIBC12_SOURCE__ so it was getting a working
sigcontext before. all the other ports that supported sigcontext had
the compat code disabled.
[pointed out by thorpej, thanks!]
If we want to remove sigcontext support from userland at least now there
is less work to do so.
 1.7 28-Apr-2008  martin branches: 1.7.8;
Remove clause 3 and 4 from TNF licenses
 1.6 19-Feb-2006  christos branches: 1.6.18;
make these consistent.
 1.5 12-Jun-2005  lukem Add missing __RCSID()
 1.4 23-Mar-2004  drochner 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
 1.3 12-Oct-2003  pk SIGINFO __sigaction & trampoline code.
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 09-Jul-2002  thorpej branches: 1.1.2;
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.
 1.1.2.3 02-Oct-2002  thorpej libc:
Internally rename __sigaction14 to __libc_sigaction14. Provide a
weak alias of __sigaction14 -> __libc_sigaction14.

libpthread:
Use __libc_sigaction14 to actually register the signal handler, rather
than using __sigaction_sigtramp() directly with a hard-coded trampoline
version. While we don't actually use the libc trampoline, we want to
avoid depending on any COMPAT_* kernel options down the road (this is
already the case for the VAX port).

Be explicit about which version of the signal interface we're interposing
(...14), and build pthread_sig.c with __LIBC12_SOURCE__ (required to get
the libc-internal interfaces).
 1.1.2.2 01-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 09-Jul-2002  nathanw file __sigaction14_sigtramp.c was added on branch nathanw_sa on 2002-08-01 03:28:06 +0000
 1.6.18.1 18-May-2008  yamt sync with head.
 1.7.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.7.8.1 28-Apr-2008  martin file __sigaction14_sigtramp.c was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.4 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.3 26-Mar-2004  drochner fix references to the syscall formerly known as SYS___sigreturn14
 1.2 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.1 29-Sep-1998  christos Make the sparc work again; some work from jason, some from me.
 1.5 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.4 26-Mar-2004  drochner fix references to the syscall formerly known as SYS___sigreturn14
 1.3 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.2 11-Jul-2002  thorpej branches: 1.2.2;
Need <machine/psl.h> and <machine/signal.h>. Problem pointed out
by Juergen Hannken-Illjes <hannken@eis.cs.tu-bs.de>.
 1.1 09-Jul-2002  thorpej 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.
 1.2.2.2 01-Aug-2002  nathanw Catch up to -current.
 1.2.2.1 11-Jul-2002  nathanw file __sigtramp1.S was added on branch nathanw_sa on 2002-08-01 03:28:06 +0000
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 12-Oct-2003  pk branches: 1.1.30;
SIGINFO __sigaction & trampoline code.
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2.8.1 28-Apr-2008  martin file __sigtramp2.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 13-Dec-2000  pk branches: 1.1.34;
Add required __syscall.S stub.
 1.1.34.1 18-May-2008  yamt sync with head.
 1.2.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2.8.1 28-Apr-2008  martin file __syscall.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.2 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.1 04-Jan-1998  thorpej 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.)
 1.16 12-Sep-2013  joerg Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.15 06-Nov-2008  nakayama branches: 1.15.2; 1.15.10; 1.15.16;
Redo rev.1.13. We must refer to CURBRK via GOT in case of PIC.
 1.14 10-Mar-2008  he branches: 1.14.8;
As mrg@ informs me, delay slots are indented 1 and not 2 spaces.
 1.13 10-Mar-2008  he Fix the problem that CURBRK can't be referenced directly via R_SPARC_GOT13
here anymore (apparently libc grew too big). Use sethi and %hi/%lo instead.
 1.12 08-Oct-2007  uwe branches: 1.12.4;
In handwritten asm use -fPIC code instead of -fpic, our libc has grown
large enough for GOT to be larger than 8k.

While here kill redundant PIC ifdefs in setjmp.S - sparc "call"
instruction is piccy by itself.

Tested by martin@
 1.11 26-Dec-2003  martin branches: 1.11.22;
Use an unsigned comparison against minbrk.
From OpenBSD, changed by Miod Vallat.
 1.10 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.9 26-Jun-2000  kleink Thinko in previous: we do always use an internal name.
 1.8 23-Jun-2000  kleink Add internal names for brk() and sbrk().
 1.7 03-Jun-1999  kleink branches: 1.7.8;
Shameless hack to reference end if using a.out and _end if using ELF.
 1.6 31-Mar-1999  kleink While in transition, conditionally rename _ASM_LABEL(cerror) and
_ASM_LABEL(curbrk) to _C_LABEL(__cerror) and _C_LABEL(__curbrk), respectively,
depending on the object format chosen, to avoid user namespace clashes.
 1.5 14-Jan-1999  kleink * 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.
 1.4 01-Jul-1998  tv Change immediate label references to _C_LABEL().
 1.3 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.2 10-Feb-1994  pk Insert some Position Independent Code.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.7.8.1 22-Aug-2000  kleink Pull up revs. 1.8-1.9 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.11.22.2 23-Mar-2008  matt sync with HEAD
 1.11.22.1 06-Nov-2007  matt sync with HEAD
 1.12.4.1 24-Mar-2008  keiichi sync with head.
 1.14.8.1 07-Nov-2008  snj Pull up following revision(s) (requested by nakayama in ticket #23):
lib/libc/arch/sparc/sys/brk.S: revision 1.15
Redo rev.1.13. We must refer to CURBRK via GOT in case of PIC.
 1.15.16.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.10.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.15.2.2 06-Nov-2008  nakayama Redo rev.1.13. We must refer to CURBRK via GOT in case of PIC.
 1.15.2.1 06-Nov-2008  nakayama file brk.S was added on branch christos-time_t on 2008-11-06 13:42:56 +0000
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.11 12-Sep-2013  joerg Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.10 08-Oct-2007  uwe branches: 1.10.30; 1.10.36;
In handwritten asm use -fPIC code instead of -fpic, our libc has grown
large enough for GOT to be larger than 8k.

While here kill redundant PIC ifdefs in setjmp.S - sparc "call"
instruction is piccy by itself.

Tested by martin@
 1.9 28-Dec-2006  martin branches: 1.9.4;
Use CCFSZ instead of 96 for standard save operations.
 1.8 07-Aug-2003  agc branches: 1.8.16;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.7 31-Mar-1999  kleink While in transition, conditionally rename _ASM_LABEL(cerror) and
_ASM_LABEL(curbrk) to _C_LABEL(__cerror) and _C_LABEL(__curbrk), respectively,
depending on the object format chosen, to avoid user namespace clashes.
 1.6 01-Jul-1998  tv Change immediate label references to _C_LABEL().
 1.5 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.4 16-Nov-1996  pk Remove DEFS.h, which has been just a placeholder for a long time.
 1.3 16-Nov-1996  pk Do the `_REENTRANT' song-and-dance.
 1.2 10-Feb-1994  pk Insert some Position Independent Code.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.8.16.1 04-Jan-2007  bouyer Pull up following revision(s) (requested by martin in ticket #312):
lib/libc/arch/sparc/gen/setjmp.S: revision 1.10
lib/libc/arch/sparc/sys/__clone.S: revision 1.4
lib/libc/arch/sparc/sys/cerror.S: revision 1.9
Use CCFSZ instead of 96 for standard save operations.
 1.9.4.1 06-Nov-2007  matt sync with HEAD
 1.10.36.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.30.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.4 07-Feb-2017  kamil Mark exect(3) obsolete and bind it to plain execve(2) on all platforms

The original exect(2) from BSD4.2 was enabling bit for tracing
(single-step mode) and calling execve(2). The purpose of it was to generate
a signal for a tracer once the application will change its image to a new
program.

This approach no longer works as:
- exect(2) traces (single-steps) libc and it requires hundreds or
thousands steps before entering a new image
- it's vax and x86 specific code
- this functionality has been moved to the kernel - once a process is
traced it will generate SIGTRAP with si_code TRAP_EXEC and route it to
its debugger
- the side effects and unportability make this interface unusable
- there are no known users of this interface
- it apparently never worked better since day0 of NetBSD ("day0 bug")

Users are requested to move to other execve(2) variants. Calling current
execve(2) as it is the most similar behavior to this one from BSD4.2.

Discussed several times on mailing lists and in PR/51700.

Add warning to exect(3) telling about marking this function obsolete.

This function is prepared to be removed in next libc major bump.

Sponsored by <The NetBSD Foundation>
 1.3 07-Aug-2003  agc branches: 1.3.80; 1.3.84;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.2 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.3.84.1 21-Apr-2017  bouyer Sync with HEAD
 1.3.80.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 13-Feb-2003  nathanw Implement pthread_atfork() (in libc, because the required threadlib
stub behavior is exactly the same as the usual behavior).
 1.3 26-Jun-2000  kleink Need an internal name for fork().
 1.2 16-Jul-1997  christos branches: 1.2.12;
RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2.12.1 22-Aug-2000  kleink Pull up rev. 1.3 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 19-Jan-2003  kleink branches: 1.1.30;
Move getcontext.S from gen to sys, where it belongs.
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2.8.1 28-Apr-2008  martin file getcontext.S was added on branch christos-time_t on 2008-04-28 20:22:58 +0000
 1.2 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.1 25-Aug-1999  thorpej 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.
 1.4 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 28-Sep-2000  kleink Need an internal name for pipe(2).
 1.2 16-Jul-1997  christos branches: 1.2.12;
RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2.12.1 29-Sep-2000  kleink Pull up rev. 1.3 (approved by thorpej):
Add internal name for pipe().
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.9 12-Sep-2013  joerg Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.8 08-Oct-2007  uwe branches: 1.8.30; 1.8.36;
In handwritten asm use -fPIC code instead of -fpic, our libc has grown
large enough for GOT to be larger than 8k.

While here kill redundant PIC ifdefs in setjmp.S - sparc "call"
instruction is piccy by itself.

Tested by martin@
 1.7 08-Jan-2006  martin branches: 1.7.10;
Cosmetics (pointed out by uwe): use trivial restore, not the explicit
version.
 1.6 08-Jan-2006  martin Use __errno in the _REENTRANT case (pointed out by Valeriy E. Ushakov).
While there, indent some delay slot instructions.
 1.5 07-Aug-2003  agc branches: 1.5.6; 1.5.10;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 01-Jul-1998  tv Change immediate label references to _C_LABEL().
 1.3 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.2 10-Feb-1994  pk Insert some Position Independent Code.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.5.10.2 11-Jan-2006  tron Pull up following revision(s) (requested by martin in ticket #1109):
lib/libc/arch/sparc/sys/ptrace.S: revision 1.7
Cosmetics (pointed out by uwe): use trivial restore, not the explicit
version.
 1.5.10.1 11-Jan-2006  tron Pull up following revision(s) (requested by martin in ticket #1109):
lib/libc/arch/sparc/sys/ptrace.S: revision 1.6
Use __errno in the _REENTRANT case (pointed out by Valeriy E. Ushakov).
While there, indent some delay slot instructions.
 1.5.6.2 11-Jan-2006  tron Pull up following revision(s) (requested by martin in ticket #1109):
lib/libc/arch/sparc/sys/ptrace.S: revision 1.7
Cosmetics (pointed out by uwe): use trivial restore, not the explicit
version.
 1.5.6.1 11-Jan-2006  tron Pull up following revision(s) (requested by martin in ticket #1109):
lib/libc/arch/sparc/sys/ptrace.S: revision 1.6
Use __errno in the _REENTRANT case (pointed out by Valeriy E. Ushakov).
While there, indent some delay slot instructions.
 1.7.10.1 06-Nov-2007  matt sync with HEAD
 1.8.36.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.30.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 11-Nov-1996  mycroft Treat reboot() like a normal system call. From PR 2458.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.11 12-Sep-2013  joerg Pass PICFLAGS down to cc-as-as and use __PIC__ to decide if it is small
vs big PIC mode. Retire -DPIC and -DBIGPIC.
 1.10 08-Oct-2007  uwe branches: 1.10.30; 1.10.36;
In handwritten asm use -fPIC code instead of -fpic, our libc has grown
large enough for GOT to be larger than 8k.

While here kill redundant PIC ifdefs in setjmp.S - sparc "call"
instruction is piccy by itself.

Tested by martin@
 1.9 07-Aug-2003  agc branches: 1.9.22;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8 26-Jun-2000  kleink Thinko in previous: we do always use an internal name.
 1.7 23-Jun-2000  kleink Add internal names for brk() and sbrk().
 1.6 03-Jun-1999  kleink branches: 1.6.8;
Shameless hack to reference end if using a.out and _end if using ELF.
 1.5 31-Mar-1999  kleink While in transition, conditionally rename _ASM_LABEL(cerror) and
_ASM_LABEL(curbrk) to _C_LABEL(__cerror) and _C_LABEL(__curbrk), respectively,
depending on the object format chosen, to avoid user namespace clashes.
 1.4 01-Jul-1998  tv Change immediate label references to _C_LABEL().
 1.3 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.2 10-Feb-1994  pk Insert some Position Independent Code.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.6.8.1 22-Aug-2000  kleink Pull up revs. 1.7-1.8 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.9.22.1 06-Nov-2007  matt sync with HEAD
 1.10.36.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.10.30.1 22-May-2014  yamt sync with head.

for a reference, the tree before this commit was tagged
as yamt-pagecache-tag8.

this commit was splitted into small chunks to avoid
a limitation of cvs. ("Protocol error: too many arguments")
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.6 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.5 01-Jul-1998  tv branches: 1.5.12;
Change immediate label references to _C_LABEL().
 1.4 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.3 10-Feb-1994  pk Insert some Position Independent Code.
 1.2 18-Dec-1993  jtc Fix bug #24 by renaming _logname_valid to __logname_valid.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.5.12.1 25-Feb-2002  nathanw Move setlogin() stub to C code, and namespace-protect it.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.1 07-Jul-2000  itohy 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.
 1.2 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.1 25-Aug-1999  thorpej 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.
 1.3 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.2 02-Dec-1998  thorpej 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.
 1.1 29-Sep-1998  christos Make the sparc work again; some work from jason, some from me.
 1.6 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 02-Dec-1998  thorpej 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.
 1.3 29-Sep-1998  christos Make the sparc work again; some work from jason, some from me.
 1.2 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.6 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 02-Dec-1998  thorpej 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.
 1.3 29-Sep-1998  christos Make the sparc work again; some work from jason, some from me.
 1.2 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.7 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.6 26-Mar-2004  drochner the WARN_REFERENCES text "include <signal.h> for correct reference" is pointless
as <signal.h> won't help you, so remove it
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 02-Dec-1998  thorpej 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.
 1.3 29-Sep-1998  christos Make the sparc work again; some work from jason, some from me.
 1.2 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.6 15-Oct-2005  uwe Switch sparc to the new compat code layout.
 1.5 07-Aug-2003  agc Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 02-Dec-1998  thorpej 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.
 1.3 29-Sep-1998  christos Make the sparc work again; some work from jason, some from me.
 1.2 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.5 18-Apr-2020  thorpej Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.
 1.4 07-Aug-2003  agc branches: 1.4.98;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.3 16-Jul-1997  christos RCSID fixes: Always use the NetBSD rcsid and the macro RCSID() defined in
<machine/asm.h>; Also syscalls should be protected using the SYSLIBC_SCCS
define not LIBC_SCCS
 1.2 18-Nov-1996  pk The code in here was just an expansion of RSYSCALL(syscall).
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it
 1.4.98.1 21-Apr-2020  martin Sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 07-Oct-1993  cgd make an arch directory in libc, and move all machine dirs into it

RSS XML Feed