Home | History | Annotate | only in /src/lib/libc/arch/mips/sys
History log of /src/lib/libc/arch/mips/sys
RevisionDateAuthorComments
 1.11 17-Sep-2005  tsutsui Switch mips to the new libc compat code layout.
 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 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.8 13-Dec-2000  simonb branches: 1.8.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.7 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.6 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.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.8.2.1 11-Nov-2002  nathanw Catch up to -current
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.8 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.7 28-Apr-2008  martin branches: 1.7.8; 1.7.14;
Remove clause 3 and 4 from TNF licenses
 1.6 08-Feb-2003  simonb branches: 1.6.32;
Fix a tyop in a comment.
 1.5 08-Feb-2003  cgd * fix handling of invalid arguments (was jumping to wrong label!)
(found by... running the regress test!)
* clean up punctuation.
* create a proper frame for the child fn that follows the o32 calling
conventions. In particular, leave 4 stack slots that the child
fn can write on, put the GP above them, and invoke .cprestore
properly in light of the child fn arg area. (realized it was a
problem upon inspection, verified using the regress test compiled
-O0.)
 1.4 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.3 20-Jul-2001  thorpej branches: 1.3.2;
Duh, call the clone's entry point w/ jal, so that when it returns,
it returns to the correct $ra (not the parent's!!).
 1.2 17-Jul-2001  thorpej Cosmetic change.
 1.1 17-Jul-2001  thorpej Add a __clone(2) entry point.
 1.3.2.3 11-Nov-2002  nathanw Catch up to -current
 1.3.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.3.2.1 20-Jul-2001  nathanw file __clone.S was added on branch nathanw_sa on 2001-10-08 20:17:49 +0000
 1.6.32.1 18-May-2008  yamt sync with head.
 1.7.14.2 19-Aug-2009  matt Make this a bit closer to the orignal. Make the disassembled diff easier.
 1.7.14.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 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 __clone.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2 17-Sep-2005  tsutsui Switch mips to the new libc 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.20;
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 02-Nov-2003  christos Add userland portion of siginfo for mips. Many thanks to simon for letting
me use his machines down under.
 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:27:58 +0000
 1.6.20.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:57 +0000
 1.5 17-Sep-2005  tsutsui Switch mips to the new libc 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 13-Dec-2000  simonb Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.1 27-Sep-1998  jonathan mips libc stubs for sig*14 signal API (128bit sigset_t),
plus backward-compatibility for the old 1.3 libc entrypoints.
 1.3 17-Sep-2005  tsutsui Switch mips to the new libc compat code layout.
 1.2 26-Mar-2004  drochner fix references to the syscall formerly known as SYS___sigreturn14
 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.2 01-Aug-2002  nathanw Catch up to -current.
 1.1.2.1 09-Jul-2002  nathanw file __sigtramp1.S was added on branch nathanw_sa on 2002-08-01 03:27:58 +0000
 1.5 07-Apr-2022  andvar s/psuedo/pseudo/
 1.4 18-Nov-2021  thorpej Decorate the MIPS signal trampoline with the appropriate .cfi
directives to allow exception unwind / backtrace across a signal
handler.
 1.3 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.2 28-Apr-2008  martin branches: 1.2.8; 1.2.14;
Remove clause 3 and 4 from TNF licenses
 1.1 02-Nov-2003  christos branches: 1.1.32;
Add userland portion of siginfo for mips. Many thanks to simon for letting
me use his machines down under.
 1.1.32.1 18-May-2008  yamt sync with head.
 1.2.14.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 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:57 +0000
 1.4 19-Feb-2021  simonb Remove the incorrect register shuffle - we pass SYS___syscall as the
syscall number in v0 and pass all the original __syscall() args in their
original slots/regs.
 1.3 18-Apr-2020  thorpej Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.
 1.2 31-Jan-2014  matt branches: 1.2.26;
Since N32/N64 pass the first 8 arguments in registers, we can load all
the arguments into those registers before invoking the syscall having
the kernel syscall handler from having to do that.
 1.1 13-Dec-2000  simonb branches: 1.1.60; 1.1.66;
Another bare minimum __syscall.
 1.1.66.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.60.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.26.1 21-Apr-2020  martin Sync with HEAD
 1.6 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.5 07-Aug-2003  agc branches: 1.5.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.3 13-Dec-2000  simonb branches: 1.3.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.2 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.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.3.2.1 11-Nov-2002  nathanw Catch up to -current
 1.5.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.5.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.18 12-Dec-2010  tsutsui brk(2) should update __curbrk, not __minbrk or garbage.
 1.17 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.16 07-Aug-2003  agc branches: 1.16.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.15 23-May-2003  simonb Match END label with LEAF label.
 1.14 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.13 13-Dec-2000  simonb branches: 1.13.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.12 04-Jul-2000  kleink Missed in previous: replace the previously used _brk label with an ordinary
local label; problem noticed by Matthias Drochner.
 1.11 26-Jun-2000  kleink Thinko in previous: we do always use an internal name.
 1.10 23-Jun-2000  kleink Add internal names for brk() and sbrk().
 1.9 31-Mar-1999  kleink branches: 1.9.10;
Change references to `end' to `_end' as not to invade (or being invaded by)
the user's name space.
 1.8 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.7 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.6 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.5 25-Sep-1995  jonathan Fix an old bug, whereby ASMSTR() was used before #including "SYS.h", where
it was defined.
 1.4 20-Mar-1995  mycroft SYS_brk -> SYS_break, and other (minor) changes.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.9.10.1 22-Aug-2000  kleink Pull up revs. 1.10-1.12 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.13.2.1 11-Nov-2002  nathanw Catch up to -current
 1.16.46.4 29-Apr-2011  matt Pull in fixes from -current.
 1.16.46.3 05-Sep-2009  matt LP64 cleanup --> s/la/PTR_LA/
 1.16.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.16.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.21 03-Dec-2022  skrll Trailing whitespace
 1.20 06-Feb-2021  simonb For mips n32/n64 explicitly save the GP reg on the stack, and
restore it _after_ the call to __errno(). Fixes sending the
__errno() call off to nowhereland when this code is included
in another library (eg __posix_cerror() in libposix). Failure
picked up by the ATF lib/libposix/posix1/t_rename test.
 1.19 12-Sep-2013  joerg branches: 1.19.18; 1.19.28;
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.18 27-Feb-2012  tsutsui branches: 1.18.2;
Fix pasto.
 1.17 27-Feb-2012  joerg Make __cerror protected to restore ABI leak in older libc versions,
where e.g. librt referenced the copy from libc. This still allows libc
to use PC-relative jumps.
 1.16 17-Jan-2011  matt branches: 1.16.6; 1.16.8;
Make __cerror hidden.
 1.15 03-Sep-2010  matt Pullup fixes from matt-nb5-mips64.
This makes setjmp/longjmp work again.
 1.14 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.13 07-Aug-2003  agc branches: 1.13.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.12 07-Feb-2003  cgd looks like nobody ever seriously tried the _REENTRANT version of this
code (which, uh, seems the default for a fresh build)... it wasn't
setting up v1 properly (the instruction to set up v1 was after the
return jump, in "reorder" code... i.e. after the end of the function).
That would break error returns from 64-bit syscalls (e.g. checks
in dd and who knows what else) to see if input or output are pipes.
It looks like the non-_REENTRANT version was broken (on the nathanw-sa
branch) in rev 1.9.2.1 and fixed in 1.9.2.2, but the _REENTRANT version
was never fixed, and the broken bits were merged back on to the trunk.
 1.11 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.10 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.9 13-Dec-2000  simonb branches: 1.9.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.8 29-May-2000  castor Make __cerror be LEAF_NOPROFILE. I relies upon having v0 and v1 be unchanged
from the caller. From Ethan Solomita <ethan@geocast.com>
 1.7 14-Jan-1999  kleink branches: 1.7.8;
* 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.6 25-Jul-1998  jonathan 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.
 1.5 17-Sep-1996  jonathan branches: 1.5.4;
* Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.5.4.1 27-Sep-1998  cgd pull up rev 1.6 from trunk (jonathan).
 1.7.8.1 23-Jun-2000  minoura Sync w/ netbsd-1-5-base.
 1.9.2.3 20-Nov-2002  wdk Tidy up stack frame
 1.9.2.2 11-Nov-2002  nathanw Catch up to -current
 1.9.2.1 02-Jan-2002  wdk Use __errno() in order to be thread compliant.

Fixes bug in errno1 thread regression test
 1.13.46.5 16-Mar-2010  matt Restore GP before calling __errno() and then do a normal return (since gp is
only used to obtain address of __errno and never used afterwards). Otherwise
since __errno overwrites t3 we would restore a bogus gp value.

Bug reported by Juli Mallett from FreeBSD.
 1.13.46.4 05-Sep-2009  matt LP64 cleanup --> s/la/PTR_LA/
 1.13.46.3 24-Aug-2009  matt Fix an O32'ism. Store the error into the S0 slot, not the arguments array
above us (since that doesn't always exist in NewABI).
 1.13.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.13.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.16.8.2 27-Feb-2012  bouyer Pull up following revision(s) (requested by oster in ticket #61):
lib/libc/arch/mips/sys/cerror.S: revision 1.18
Fix pasto.
 1.16.8.1 27-Feb-2012  riz Pull up following revision(s) (requested by joerg in ticket #57):
lib/libc/arch/arm/sys/cerror.S: revision 1.8
lib/libc/arch/vax/SYS.h: revision 1.12
lib/libc/arch/powerpc64/sys/cerror.S: revision 1.3
lib/libc/arch/powerpc64/sys/cerror.S: revision 1.4
lib/libc/arch/i386/sys/cerror.S: revision 1.16
lib/libc/arch/x86_64/sys/cerror.S: revision 1.5
lib/libc/arch/powerpc/sys/cerror.S: revision 1.10
lib/libc/arch/mips/sys/cerror.S: revision 1.17
lib/libc/arch/powerpc/sys/cerror.S: revision 1.9
Make __cerror protected to restore ABI leak in older libc versions,
where e.g. librt referenced the copy from libc. This still allows libc
to use PC-relative jumps.
PowerPC doesn't have CERROR since it never had a.out.
Use _C_LABEL(__cerror) instead.
 1.16.6.2 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.16.6.1 17-Apr-2012  yamt sync with head
 1.18.2.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.19.28.1 06-Feb-2021  martin Pull up following revision(s) (requested by simonb in ticket #1199):

lib/libc/arch/mips/sys/cerror.S: revision 1.20

For mips n32/n64 explicitly save the GP reg on the stack, and
restore it _after_ the call to __errno(). Fixes sending the
__errno() call off to nowhereland when this code is included
in another library (eg __posix_cerror() in libposix). Failure
picked up by the ATF lib/libposix/posix1/t_rename test.
 1.19.18.1 06-Feb-2021  martin Pull up following revision(s) (requested by simonb in ticket #1648):

lib/libc/arch/mips/sys/cerror.S: revision 1.20

For mips n32/n64 explicitly save the GP reg on the stack, and
restore it _after_ the call to __errno(). Fixes sending the
__errno() call off to nowhereland when this code is included
in another library (eg __posix_cerror() in libposix). Failure
picked up by the ATF lib/libposix/posix1/t_rename test.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.11 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.10 14-Dec-2009  matt branches: 1.10.28; 1.10.32;
Merge from matt-nb5-mips64.
 1.9 07-Aug-2003  agc branches: 1.9.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.7 13-Dec-2000  simonb branches: 1.7.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.6 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.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.7.2.1 11-Nov-2002  nathanw Catch up to -current
 1.9.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.9.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.10.32.1 21-Apr-2017  bouyer Sync with HEAD
 1.10.28.1 20-Mar-2017  pgoyette Sync with HEAD
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.12 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.11 07-Aug-2003  agc branches: 1.11.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 13-Feb-2003  nathanw Implement pthread_atfork() (in libc, because the required threadlib
stub behavior is exactly the same as the usual behavior).
 1.9 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.8 13-Dec-2000  simonb branches: 1.8.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.7 26-Jun-2000  kleink Need an internal name for fork().
 1.6 14-Jan-1999  kleink branches: 1.6.10;
* 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.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.6.10.1 22-Aug-2000  kleink Pull up rev. 1.7 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.8.2.1 11-Nov-2002  nathanw Catch up to -current
 1.11.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.11.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.7 15-Oct-2020  skrll Remove '_OFFSETOF' prefix for genassm(1) generate CPP identifers for
consistency with other arches.

NFCI and libc.so is the same before and after.
 1.6 12-Aug-2016  skrll Provide _OFFSETOF_UC_GREGS_GP and use _OFFSETOF_UC_GREGS_* in getcontext
 1.5 10-Aug-2016  skrll We need to save the GP of the caller in the context for n32/n64
 1.4 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.3 28-Apr-2008  martin branches: 1.3.8; 1.3.14;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.32;
Merge the nathanw_sa branch.
 1.1 20-Nov-2001  wdk branches: 1.1.2;
file getcontext.S was initially added on branch nathanw_sa.
 1.1.2.4 05-Jan-2003  wdk Tidy up delay slot usage
 1.1.2.3 24-Nov-2001  wdk No PIC references in function, so remove PIC_PROLOGUE setup.
Also guarantees patent $gp is saved with the context instead of the $gp
local to _getcontext().
 1.1.2.2 21-Nov-2001  wdk ucontext support Klaus Klein <kleink@netbsd.org>
 1.1.2.1 20-Nov-2001  wdk MIPS specific context functions and LWP support

Compile tested only.
 1.2.32.1 18-May-2008  yamt sync with head.
 1.3.14.2 18-Aug-2009  uebayasi Include assym.h for _OFFSETOF_UC_GREGS.
 1.3.14.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.3.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3.8.1 28-Apr-2008  martin file getcontext.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2 17-Sep-2005  tsutsui Switch mips to the new libc 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.12 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.11 22-Apr-2005  simonb branches: 1.11.34;
Use the same function name in the LEAF() and END() directives.
 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 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.8 13-Dec-2000  simonb branches: 1.8.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.7 28-Sep-2000  kleink Need an internal name for pipe(2).
 1.6 14-Jan-1999  kleink branches: 1.6.10;
* 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.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.6.10.1 29-Sep-2000  kleink Pull up rev. 1.7 (approved by thorpej):
Add internal name for pipe().
 1.8.2.1 11-Nov-2002  nathanw Catch up to -current
 1.11.34.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.11.34.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.10 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.9 07-Aug-2003  agc branches: 1.9.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.7 13-Dec-2000  simonb branches: 1.7.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.6 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.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.7.2.1 11-Nov-2002  nathanw Catch up to -current
 1.9.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.9.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.6 11-Nov-1996  mycroft Treat reboot() like a normal system call. From PR 2458.
 1.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.19 26-Jun-2013  matt Use t1 instead of v1
 1.18 12-Dec-2010  tsutsui branches: 1.18.6; 1.18.12;
We can't assume syscall retains t0, unless it's documented as ABI.
 1.17 14-Dec-2009  matt Merge from matt-nb5-mips64.
 1.16 22-Apr-2005  simonb branches: 1.16.34;
Use the same function name in the LEAF() and END() directives.
 1.15 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.14 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.13 13-Dec-2000  simonb branches: 1.13.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.12 26-Jun-2000  kleink Thinko in previous: we do always use an internal name.
 1.11 23-Jun-2000  kleink Add internal names for brk() and sbrk().
 1.10 31-Mar-1999  kleink branches: 1.10.10;
Change references to `end' to `_end' as not to invade (or being invaded by)
the user's name space.
 1.9 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.8 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.7 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.6 25-Sep-1995  jonathan Fix an old bug, whereby ASMSTR() was used before #including "SYS.h", where
it was defined.
 1.5 20-Mar-1995  mycroft SYS_brk -> SYS_break, and other (minor) changes.
 1.4 15-Dec-1994  mycroft More underscores...
 1.3 28-Nov-1994  dean more underscore changes.
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.10.10.1 22-Aug-2000  kleink Pull up revs. 1.11-1.12 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.13.2.1 11-Nov-2002  nathanw Catch up to -current
 1.16.34.4 29-Apr-2011  matt Pull in fixes from -current.
 1.16.34.3 05-Sep-2009  matt LP64 cleanup --> s/la/PTR_LA/
 1.16.34.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.16.34.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.18.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.18.6.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.5 01-Mar-1995  mycroft Clean up deleted files.
 1.4 15-Dec-1994  mycroft More underscores...
 1.3 28-Nov-1994  dean more underscore changes.
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.10 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.9 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.8 13-Dec-2000  simonb branches: 1.8.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.7 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.6 16-Oct-1996  jonathan Add missing "t9, " to "la" insn in error-return case.
 1.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.8.2.1 25-Feb-2002  nathanw Move setlogin() stub to C code, and namespace-protect it.
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 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 17-Sep-2005  tsutsui Switch mips to the new libc 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 17-Sep-2005  tsutsui Switch mips to the new libc 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 28-Sep-1998  thorpej sigaction() that calls the compat syscall (jonathan forgot to commit this).
 1.12 17-Sep-2005  tsutsui Switch mips to the new libc compat code layout.
 1.11 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.10 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.9 13-Dec-2000  simonb branches: 1.9.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.8 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.7 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.6 27-Sep-1998  jonathan mips libc stubs for sig*14 signal API (128bit sigset_t),
plus backward-compatibility for the old 1.3 libc entrypoints.
 1.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.9.2.1 11-Nov-2002  nathanw Catch up to -current
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.12 17-Sep-2005  tsutsui Switch mips to the new libc compat code layout.
 1.11 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.10 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.9 13-Dec-2000  simonb branches: 1.9.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.8 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.7 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.6 27-Sep-1998  jonathan mips libc stubs for sig*14 signal API (128bit sigset_t),
plus backward-compatibility for the old 1.3 libc entrypoints.
 1.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.9.2.1 11-Nov-2002  nathanw Catch up to -current
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.9 17-Sep-2005  tsutsui Switch mips to the new libc compat code layout.
 1.8 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.7 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.6 13-Dec-2000  simonb Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.5 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.4 27-Sep-1998  jonathan mips libc stubs for sig*14 signal API (128bit sigset_t),
plus backward-compatibility for the old 1.3 libc entrypoints.
 1.3 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.2 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.12 17-Sep-2005  tsutsui Switch mips to the new libc compat code layout.
 1.11 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.10 10-Nov-2002  thorpej ABICALLS -> __ABICALLS__
 1.9 13-Dec-2000  simonb branches: 1.9.2;
Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.8 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.7 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.6 27-Sep-1998  jonathan mips libc stubs for sig*14 signal API (128bit sigset_t),
plus backward-compatibility for the old 1.3 libc entrypoints.
 1.5 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.4 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.9.2.1 11-Nov-2002  nathanw Catch up to -current
 1.4 01-Mar-1995  mycroft Clean up deleted files.
 1.3 15-Dec-1994  mycroft More underscores...
 1.2 14-Nov-1994  dean Prepended underscores
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.8 18-Apr-2020  thorpej Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.
 1.7 31-Jan-2014  matt branches: 1.7.26;
Since N32/N64 pass the first 8 arguments in registers, we can load all
the arguments into those registers before invoking the syscall having
the kernel syscall handler from having to do that.
 1.6 14-Dec-2009  matt branches: 1.6.6; 1.6.12;
Merge from matt-nb5-mips64.
 1.5 07-Aug-2003  agc branches: 1.5.46;
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-Dec-2000  simonb Remove all the .abicalls assembler directives - "SYS.h" already has that.
 1.3 17-Sep-1996  jonathan * Add Mips ABI changes for ELf shared library support.
From OpenBSD, patched into NetBSD by <bouyer@ensta.fr>.
* Include generic NetBSD/mips <mips/*.h> files, instead of old Sprite names.
 1.2 16-Sep-1996  jonathan Add NetBSD RCSid headers, and change assembly-code LIBC_SCCS id tag string
from "Id:" to "NetBSD:".
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled
 1.5.46.2 18-Aug-2009  matt Cleanup RCSIDs.
Use SYSTRAP instead li v0, SYS_*; syscall since that's what SYSTRAP does.
 1.5.46.1 16-Aug-2009  matt Move to new ABI agnostic mechanisms. Get rid of magic constants.
Use genassym.cf to generate them.
 1.6.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.6.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.7.26.1 21-Apr-2020  martin Sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 24-May-1994  glass libc support for mips. libkern hooks are disabled

RSS XML Feed