Home | History | Annotate | only in /src/lib/libc/arch/m68k
History log of /src/lib/libc/arch/m68k
RevisionDateAuthorComments
 1.2 28-Dec-1995  jtc removed :errfix; const qualifier makes it unnecessary
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines, with shared library support.
 1.3 13-Dec-1995  thorpej New-style RCS ids.
 1.2 29-Jan-1994  mycroft Just use definitions from machine/asm.h.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines, with shared library support.
 1.19 10-Sep-2025  nat Switch over m68k soffloat build to libc/softfloat.

m68k would previously use softfloat functions contained in libgcc_s.

This change aligns m68k with other platforms built with softfloat.

It is still possible to build the gcc_s softfloat impementation by setting
MKSOFFTFLOAT=yes MKLIBCSOFTFLOAT=no

Addresses PR/59393.
 1.18 31-Oct-2021  thorpej Tidy up how __sigaction14_sigtramp.c is added to SRCS.
 1.17 04-Mar-2014  matt The fixuns* come from compiler_rt so softfloat doesn't need to provide them.
 1.16 18-Jul-2013  matt Move hardfloat support to its own directory
 1.15 17-Jul-2013  matt branches: 1.15.2;
Add genassym / assym.h support
 1.14 22-Nov-2011  joerg branches: 1.14.6;
Add TLS support for m68k.
 1.13 09-Feb-2008  mrg branches: 1.13.28;
m68k/Makefile.inc:
- add __mmap.S to SRCS.
- add _lwp_getprivate.S mremap.S to ASM.
sys/Makefile.inc:
- look for __glue.S as well as glue.S.
- introduce a new ASM_MD and set it to "_lwp_getprivate.S mremap.S".
this is used for assembler files that may have non-default
implementations.

now m68k and m68000 mostly build again.
 1.12 17-Jun-2006  uwe branches: 1.12.10;
G/c KMSRCS and KMINCLUDES now that we have common/lib/libc
 1.11 09-Mar-2006  christos Welcome to the new compat layout.
 1.10 26-Sep-2004  jmmv Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.9 22-Sep-2003  cl SA_SIGINFO support for m68k (libc)
 1.8 10-Jul-2002  thorpej Enable the libc-provided signal trampoline. The old __sigaction14
entry point has been replaced by the new __sigaction14() which is a
wrapper around the __sigaction_sigtramp system call (which is itself
not directly exposed outside of libc).

No shared library version change is necessary; no new symbols
are exposed outside of libc.
 1.7 15-Jan-1999  bouyer branches: 1.7.12;
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.
 1.6 04-Aug-1998  perry add memmove.S to libkern.
 1.5 22-Feb-1998  mycroft Copy more files to libkern.
 1.4 01-Jun-1996  jtc Added ashldi3.S, ashrdi3.S, and lshrdi3.S to KMSRCS
 1.3 18-Apr-1996  cgd have copy-to-libkern copy strcat.S, not strcat.c
 1.2 13-Dec-1995  thorpej New-style RCS ids.
 1.1 29-Mar-1994  chopps Need for copy-to-libkern-machdep in ../../Makefile
 1.7.12.1 01-Aug-2002  nathanw Catch up to -current.
 1.12.10.1 23-Mar-2008  matt sync with HEAD
 1.13.28.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.13.28.1 17-Apr-2012  yamt sync with head
 1.14.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.2.1 23-Jul-2013  riastradh sync with HEAD
 1.18 24-Jul-2013  matt Only jump to CERROR if carry is set, not clear.
 1.17 16-Jul-2013  matt Make CERROR hidden. Use END() appropriately.
 1.16 07-Aug-2003  agc branches: 1.16.56; 1.16.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.15 26-May-2002  wiz Revert previous: .S files are currently compiled with -traditional-cpp,
so __STDC__ is _not_ always defined.
 1.14 26-May-2002  wiz __STDC__ is always defined on NetBSD.
 1.13 14-Jan-2002  thorpej * Add WSYSCALL() to SYS.h, which creates a system call with an
internal name and a weak alias for the name.
* Add a WEAKASM syscall list, and process it.
* Make sysarch() have an internal name (_sysarch()).
 1.12 25-Oct-1999  thorpej branches: 1.12.8;
Add register prefixes.
 1.11 02-May-1999  kleink branches: 1.11.2;
Call cerror through the PLT.
 1.10 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.9 02-May-1997  kleink Consistency: distinguish between PSEUDO() and PSEUDO_NOERROR().
 1.8 08-Mar-1997  thorpej Define immediate values properly for the __STDC__ preprocessor case,
from Hiroshi HORIMOTO <horimoto@cs-aoi.cs.sist.ac.jp>, PR #3222.
 1.7 19-Nov-1996  jtc Fix typo
 1.6 17-Oct-1996  jtc Added new macros:
SYSTRAP(x): Expands to the code used to call syscall x.
This is used to simplify other macros.

SYSCALL_NOERROR(x): Like SYSCALL except that "x" is a syscall
that can never fail.

RSYSCALL_NOERROR(x): Like RSYSCALL except that "x" is a syscall
that can never fail.
 1.5 13-Dec-1995  thorpej New-style RCS ids.
 1.4 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.3 08-Feb-1994  chopps branches: 1.3.2;
handle __STDC__ preprocessor.
 1.2 30-Jan-1994  mycroft Use machine/asm.h for ENTRY() macros.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines, with shared library support.
 1.3.2.1 05-Aug-1994  mycroft update from trunk
 1.11.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.8.2 21-Jun-2002  nathanw Catch up to -current.
 1.12.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.16.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.16.56.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 21-Nov-2021  thorpej Decorate the m68k signal trampoline with the appropriate .cfi
directives to allow exception unwind / backtrace across a signal
handler.
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Add genassym / assym.h support
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file genassym.cf was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file genassym.cf was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.5 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.4 18-Jul-2013  matt ${MACHINE_ARCH} != "m68000" --> ${MACHINE_ARCH} == "m68k"
 1.3 21-Mar-2006  he branches: 1.3.44; 1.3.50; 1.3.56;
It's .endif, not .fi.
 1.2 20-Mar-2006  kleink Don't build extended-precision routines on m68000; from Havard.
 1.1 15-Mar-2006  kleink Add strtof(3) and strtold(3); welcome libc 12.137.
 1.3.56.1 23-Jul-2013  riastradh sync with HEAD
 1.3.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.44.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.1 25-Jan-2006  kleink Add machine-dependent definitions for gdtoa.
 1.1 25-Jan-2006  kleink Add machine-dependent definitions for gdtoa.
 1.40 04-Oct-2025  nat flt_rounds.S is only used for gcc_s softfloat.

libc/softfloat (the default) uses softfloat/flt_rounds.c.
 1.39 10-Sep-2025  nat Switch over m68k soffloat build to libc/softfloat.

m68k would previously use softfloat functions contained in libgcc_s.

This change aligns m68k with other platforms built with softfloat.

It is still possible to build the gcc_s softfloat impementation by setting
MKSOFFTFLOAT=yes MKLIBCSOFTFLOAT=no

Addresses PR/59393.
 1.38 31-May-2020  rin Add m68k assembler version of __muldi3().

This is intended for 68060:
- GCC does not emit __muldi3() for 68020-40, that have 32 * 32 --> 64 mulul
- mulsl (and moveml), used in this code, are not implemented for 68010

In comparison with that from compiler_rt, this version saves:
- 12% of processing time
- 12 bytes of stack
- 50 bytes of code size
Also, slightly faster, memory saving, and smaller than libgcc version.

By examining with evcnt(9), __muldi3() is invoked more than 1000 times per
sec by kernel, which should justify to introduce assembler version of this
function.
 1.37 22-Apr-2020  rin Restrict usage of m68k assembler versions of {,u}divsi3 and {,u}divsi3 to
kernel and bootloader for 68010.

They requires a special calling convention to udivsi3, and cannot to be
mixed up in normal routines provided by libgcc or compiler_rt. Although,
there's no problem for using them in a controlled situation, i.e., kernel
and standalone programs.

Note that this does not affect at all m68k ports other than sun2, since
codes generated by gcc do not call these routines.

Assembler files are moved from common/lib/libc/arch/m68k/gen to
sys/lib/libkern/arch/m68k in order not to be compiled in libc.

Revert hack introduced to lib/libc/compiler_rt/Makefile.inc rev 1.37:
http://cvsweb.netbsd.org/bsdweb.cgi/src/lib/libc/compiler_rt/Makefile.inc#rev1.37

Proposed on port-sun2@ with no response...
(Again, this does not affect m68k ports other than sun2.)
http://mail-index.netbsd.org/port-sun2/2020/03/10/msg000102.html
 1.36 26-Apr-2019  maya Unify signbitl implementations.
(Unclear why they were different, it was only the comments that
differed)

Add a comment describing why the generic version works for both 80-bit
and 128-bit double.
 1.35 22-Mar-2017  chs branches: 1.35.12;
provide a common softfloat fenv implemenation and use it for softfloat builds.
restore ABI compatibility with previous releases for ieeefp.h on sh3.
add namespace.h protection for all the fenv interfaces.
use MKSOFTFLOAT on sh3 instead of assuming softfloat.
standardize on comparing MKSOFTFLOAT with "no".
remove the arm-specific softfloat fenv code (which also had several bugs).
fix logic errors in the arm hardfloat feraiseexcept() and feupdateenv().
 1.34 07-Oct-2016  christos branches: 1.34.2;
Sync with compat and remove dup implementations of ldexp and modf, switching
mips and m68k to the compat copies.
 1.33 18-Mar-2014  riastradh branches: 1.33.8;
Merge riastradh-drm2 to HEAD.
 1.32 18-Jul-2013  matt Cleanup. hardfloat stuff is now in its own directory
 1.31 22-Nov-2011  joerg branches: 1.31.6; 1.31.10;
Add TLS support for m68k.
 1.30 06-Dec-2009  uebayasi branches: 1.30.6;
Rename ${SRCS.{alpha,arm,...}.gen} to ${LSRCS.{alpha,arm,...}.gen} because
they ended up in ${LSRCS}, not ${SRCS}. ${SRCS.*} namespace will be used
for more useful things. No functional changes intended.
 1.29 28-Nov-2009  christos Add no/op routines for m68000 for the sticky, mask, and round settings.
 1.28 03-Jul-2006  drochner build frexp_ieee754 in the "compat" subtree
(The Makefile logics for ldexp and modf is too involved for me to deal
with this now.)
 1.27 09-Mar-2006  christos Welcome to the new compat layout.
 1.26 15-Apr-2005  kleink Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.

IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.25 26-Sep-2004  jmmv branches: 1.25.2;
Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.24 04-Mar-2004  kleink * Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
 1.23 15-Jan-2004  kleink Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros.
 1.22 26-Oct-2003  kleink Use the generic `long double' == `double' versions on m68000.
 1.21 25-Oct-2003  kleink Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
 1.20 25-Oct-2003  cl replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
 1.19 24-Oct-2003  kleink * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
 1.18 01-Aug-2003  lukem Rework how dependency generation is performed:

* DPSRCS contains extra dependencies, but is _NOT_ added to CLEANFILES.
This is a change of behaviour. If a Makefile wants the clean semantics
it must specifically append to CLEANFILES.
Resolves PR toolchain/5204.

* To recap: .d (depend) files are generated for all files in SRCS and DPSRCS
that have a suffix of: .c .m .s .S .C .cc .cpp .cxx

* If YHEADER is set, automatically add the .y->.h to DPSRCS & CLEANFILES

* Ensure that ${OBJS} ${POBJS} ${LOBJS} ${SOBJS} *.d depend upon ${DPSRCS}

* Deprecate the (short lived) DEPENDSRCS


Update the various Makefiles to these new semantics; generally either
adding to CLEANFILES (because DPSRCS doesn't do that anymore), or replacing
specific .o dependencies with DPSRCS entries.

Tested with "make -j 8 distribution" and "make distribution".
 1.17 17-May-2003  thorpej Build _isinfl() and _isnanl().
 1.16 12-May-2003  kleink Rename ieee754_function.c to function_ieee754.c, following the convention
used in exec_format.c, loadfile_format.c, subsys_machdep.c etc.
Per discussion with Christos.
 1.15 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.14 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.13 13-Jun-2001  fredette Don't compile softfloat or integer support routines on 68000
machines, they have this support already in libgcc.
 1.12 23-Dec-1999  kleink branches: 1.12.6;
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.
 1.11 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.10 29-Aug-1999  mycroft Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
 1.9 15-Jan-1999  bouyer 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.
 1.8 05-Oct-1998  thorpej Update for signal changes.
 1.7 04-Nov-1997  is Fix typo, which resulted in always compiling the M68040/M68060-version
of ldexp.
 1.6 02-Oct-1997  is branches: 1.6.2;
ieee.h and ldexp.c taken from the powerpc port, for the benefit of
68040 and 68060 owners.
With ``make M68040=1'' or ``make M68060=1'', we build a libc where the ldexp()
doesn't use excessive amounts of system cpu time.
Without any of those defines, the normal assembler version using FSCALE is
included, for the benefit of M68020 and M68030 users, or M68040/M68060 users
where the ldexp performance is no bottleneck.
[Its not yet worked out how to include both library versions in a binary
distribution, but you can build your own from source now if you need it.]
For details, look at PR 3105.
 1.5 14-Jul-1997  veego Remove the duplicated __builtin_saveregs function.
We only need it in src/gnu/usr.bin/gcc/libgcc/libgcc2.c.
 1.4 03-May-1995  briggs m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
 1.3 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.2 25-Feb-1995  cgd don't forget inifinity.c
 1.1 25-Feb-1995  cgd need these for new gen/Makefile
 1.6.2.1 05-Nov-1997  mellon Pull rev 1.7 up from trunk (is)
 1.12.6.5 22-Mar-2002  nathanw Catch up to -current.
 1.12.6.4 08-Mar-2002  nathanw Catch up to -current.
 1.12.6.3 21-Nov-2001  scw _lwp_makecontext() for m68k, based on Nathan W's i386 implementation.

XXX: Nathan should decide on a copyright for both this and the i386 version.
 1.12.6.2 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.12.6.1 08-Oct-2001  nathanw Catch up to -current.
 1.25.2.1 19-Apr-2005  tron Pull up revision 1.26 (requested by kleink in ticket #163):
Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.
IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.30.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.30.6.1 17-Apr-2012  yamt sync with head
 1.31.10.1 23-Jul-2013  riastradh sync with HEAD
 1.31.6.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.33.8.2 26-Apr-2017  pgoyette Sync with HEAD
 1.33.8.1 04-Nov-2016  pgoyette Sync with HEAD
 1.34.2.1 21-Apr-2017  bouyer Sync with HEAD
 1.35.12.1 10-Jun-2019  christos Sync with HEAD
 1.3 09-Mar-2006  christos Welcome to the new compat layout.
 1.2 14-Sep-2005  he Patterned after the other fixes for __longjmp14.c, include
<compat/include/setjmp.h> also here to make these build.
 1.1 25-Oct-2003  cl replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
 1.7 09-Mar-2006  christos Welcome to the new compat layout.
 1.6 25-Oct-2003  cl replace __longjmp14 asm-implementation with __longjmp14 C-implementation
uses setcontext instead of __sigreturn14
fixes longjmp/siglongjmp when !COMPAT_16
 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-2000  scw Restore %a0 after the call to sigprogmask(2) since an ELF kernel
will stomp on it due to SVR4 ABI compliance...
 1.3 25-Oct-1999  thorpej branches: 1.3.6;
Add register prefixes.
 1.2 18-Oct-1999  itohy ELF PIC support.
Small optimization.
 1.1 05-Oct-1998  thorpej branches: 1.1.4;
Update for signal changes.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.6.1 15-Dec-2002  he Pull up revision 1.4 (requested by scw):
Restore %a0 after the call to sigprocmask(2), since an ELF kernel
will stomp on it due to SVR4 ABI compliance. Fixes PR#18644.
 1.5 09-Mar-2006  christos Welcome to the new compat 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 25-Oct-1999  thorpej Add register prefixes.
 1.2 18-Oct-1999  itohy ELF PIC support.
 1.1 05-Oct-1998  thorpej branches: 1.1.4;
Update for signal changes.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10 30-Nov-2024  christos Create a new header lwp_private.h to contain _lwp_getprivate_fast,
_lwp_gettcb_fast, _lwp_settcb and remove them from mcontext.h, so that:
1. we don't need special hacks to hide them
2. we can include <lwp.h> where needed to get the necessary prototypes
without redefining them locally.
 1.9 02-Apr-2023  skrll branches: 1.9.2;
Trailing whitespace
 1.8 18-Mar-2012  christos fix lint
 1.7 22-Nov-2011  joerg Add TLS support for m68k.
 1.6 24-Feb-2011  joerg branches: 1.6.4;
Allow storing and receiving the LWP private pointer via ucontext_t
on all platforms except VAX and IA64. Add fast access via register for
AMD64, i386 and SH3 ports. Use this fast access in libpthread to replace
the stack based pthread_self(). Implement skeleton support for Alpha,
HPPA, PowerPC, SPARC and SPARC64, but leave it disabled.

Ports that support this feature provide __HAVE____LWP_GETPRIVATE_FAST in
machine/types.h and a corresponding __lwp_getprivate_fast in
machine/mcontext.h.

This material is based upon work partially supported by
The NetBSD Foundation under a contract with Joerg Sonnenberger.
 1.5 28-Apr-2008  martin branches: 1.5.8; 1.5.20;
Remove clause 3 and 4 from TNF licenses
 1.4 12-Jun-2005  lukem branches: 1.4.18;
Add missing __RCSID()
 1.3 07-Apr-2003  kleink Make sure we reference getcontext() by its internal name.
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 21-Nov-2001  scw branches: 1.1.2;
file _lwp.c was initially added on branch nathanw_sa.
 1.1.2.2 16-Jan-2003  thorpej Add missing notice.
 1.1.2.1 21-Nov-2001  scw _lwp_makecontext() for m68k, based on Nathan W's i386 implementation.

XXX: Nathan should decide on a copyright for both this and the i386 version.
 1.4.18.1 18-May-2008  yamt sync with head.
 1.5.20.1 05-Mar-2011  bouyer Sync with HEAD
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file _lwp.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.6.4.1 17-Apr-2012  yamt sync with head
 1.9.2.1 02-Aug-2025  perseant Sync with HEAD
 1.9 16-Jul-2013  matt Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 18-Oct-1999  itohy ELF PIC support.
 1.4 01-Jul-1998  thorpej branches: 1.4.4;
Use _C_LABEL() to generate C labels.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 17-Jul-2013  matt Use a more portable series of instructions.
 1.8 16-Jul-2013  matt Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, return the pointer in a0, too.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.2 25-Oct-1999  thorpej Add register prefixes.
 1.1 15-Jan-1999  bouyer branches: 1.1.4;
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.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.2 25-Oct-1999  thorpej Add register prefixes.
 1.1 15-Jan-1999  bouyer branches: 1.1.4;
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.
 1.1.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.3 25-Oct-1999  thorpej Add register prefixes.
 1.2 08-Feb-1999  is branches: 1.2.4;
68060 optimization, doesnt hurt others
 1.1 15-Jan-1999  bouyer 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.
 1.2.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.14 27-Jan-2019  dholland fix another mergeo
 1.13 27-Jan-2019  pgoyette Merge the [pgoyette-compat] branch
 1.12 07-Nov-2018  riastradh On ports without __HAVE_LONG_DOUBLE, make fabsl alias fabs.

For some reason, fabs lives in libc, not in libm, and our tests now
detect when fabs or fabsl is missing from libm. For those ports that
sometimes have long double and sometimes don't, make it conditional.

Still missing: fabs _and_ fabsl on ia64. Need help from an itanium
wizard! Other portmasters: Please take a look and see if I missed
any ports that might have long double where this alias will not work.
 1.11 17-Jul-2013  matt branches: 1.11.26; 1.11.28;
Use __HAVE_FPU__ instead __HAVE_68881__
 1.10 16-Jul-2013  matt Add END(func)
 1.9 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.8 28-Apr-2008  martin branches: 1.8.4; 1.8.8; 1.8.28;
Remove clause 3 and 4 from TNF licenses
 1.7 18-May-2001  fredette branches: 1.7.32;
On m68000, all code is compiled softfloat, so functions
that return floats must do so in integer registers, as the
pre-SVR4 ABI code did. So in these functions we ignore
__SVR4_ABI__ if __HAVE_68881__ is not also set.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 02-May-1999  kleink branches: 1.5.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.4 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.3 26-Jun-1996  jtc new implementation that simply clears most significant bit
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.7.32.1 18-May-2008  yamt sync with head.
 1.8.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.8.8.1 28-Apr-2008  martin file fabs.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.8.4.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.11.28.1 10-Jun-2019  christos Sync with HEAD
 1.11.26.1 26-Nov-2018  pgoyette Sync with HEAD, resolve a couple of conflicts
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.10 16-Jul-2013  matt branches: 1.10.2;
Add END(func)
 1.9 04-Dec-2000  is branches: 1.9.60; 1.9.66;
The mapping is, effectively, an exclusive or with 0x01. Replace.
Savings: 10 bytes of code/constant data, 1 machine instruction (including
one memory access).
 1.8 25-Oct-1999  thorpej Add register prefixes.
 1.7 13-Dec-1995  thorpej branches: 1.7.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.6 09-Apr-1995  mycroft Put jtc's notice back, since these are now roughly identical.
 1.5 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.4 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.3 09-Apr-1995  mycroft Fix typo.
 1.2 09-Apr-1995  mycroft Optimize.
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.7.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.66.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.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.10.2.1 23-Jul-2013  riastradh sync with HEAD
 1.6 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.5 18-Jul-2013  matt Fix typo. Don't define map if it isn't used.
 1.4 16-Jul-2013  matt branches: 1.4.2;
Add END(func)
 1.3 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.2 26-Sep-2004  jmmv branches: 1.2.50; 1.2.56;
Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.1 17-May-2001  fredette branches: 1.1.2;
Added. These are part of the soft-float support on the 68010.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 17-May-2001  nathanw file flt_rounds_softfloat.S was added on branch nathanw_sa on 2001-10-08 20:17:39 +0000
 1.2.56.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.50.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.4.2.1 23-Jul-2013  riastradh sync with HEAD
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 17-Feb-2007  mhitch branches: 1.2.10;
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
 1.1 28-Oct-2003  kleink branches: 1.1.16;
C99 7.12.3.1: add IEEE library portions of fpclassify. Don't build these
yet as the VAX implementation is still subject to discussion.
 1.1.16.1 07-May-2007  pavel Pull up following revision(s) (requested by manu in ticket #607):
lib/libc/arch/i386/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoa.c: revision 1.2-1.3
lib/libc/arch/x86_64/gen/isnanl.c: revision 1.6
lib/libc/gdtoa/gdtoaimp.h: revision 1.6
sys/arch/m68k/include/ieee.h: revision 1.13
usr.bin/xlint/lint1/scan.l: revision 1.36-1.37
lib/libc/stdio/snprintf_ss.c: revision 1.4
lib/libc/arch/i386/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfscanf.c: revision 1.38
sys/arch/sparc/include/ieee.h: revision 1.11-1.12
lib/libc/gdtoa/dtoa.c: revision 1.4
lib/libc/stdio/Makefile.inc: revision 1.35
lib/libc/stdio/fvwrite.c: revision 1.17
lib/libc/arch/m68k/gen/fpclassifyl.c: revision 1.2
lib/libc/arch/i386/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isinfl.c: revision 1.6
lib/libc/arch/x86_64/gen/isfinitel.c: revision 1.2
lib/libc/stdio/vfprintf.c: revision 1.55-1.57
lib/libc/stdio/vsnprintf_ss.c: revision 1.3
lib/libc/stdio/vfwprintf.c: revision 1.10
sys/arch/x86/include/ieee.h: revision 1.10
lib/libc/gdtoa/dmisc.c: revision 1.3
lib/libc/gdtoa/Makefile.inc: revision 1.5
sys/arch/hppa/include/ieee.h: revision 1.10
lib/libc/arch/x86_64/gen/fpclassifyl.c: revision 1.3
lib/libc/arch/i386/gen/fpclassifyl.c: revision 1.2
sys/sys/ieee754.h: revision 1.7
lib/libc/gdtoa/gdtoa.h: revision 1.7
include/stdio.h: revision 1.67-1.68
lib/libc/gdtoa/hdtoa.c: revision 1.1-1.4
lib/libc/gdtoa/ldtoa.c: revision 1.1-1.4
defined(_NETBSD_SOURCE) is equivalent to (!defined(_ANSI_SOURCE) &&
!defined(_POSIX_C_SOURCE) && !defined(_XOPEN_SOURCE)), so there's no
need to check both of them.
Fix for issue reported in PR lib/35401 as well as related overflow bugs.
deal with hex doubles.
Instead of abusing stdio to get a signal-safe version of sprintf, provide one.
remove __SAFE
add long double and hex double support from freebsd.
make this compile.
add new prototypes.
add the new files to the build. Note I am not bumping libc now, because
these are not used yet.
Merge the int bit with the high fraction bit. Add constants/macros
needed by gdtoa.
add constants used by gdtoa
since the int bit is merged, do the explicit math.
ext_int bit is no more.
ext_int bit is no more.
- merge change from freebsd
- add support for building as vfprintf.c
- XXX: we strdup to simplify the freeing logic. This should be fixed for
efficiency in the vfprintf case.
use vfwprintf.c
enable wide doubles.
some int -> size_t
deal with sparc64 that has 112 bits of mantissa.
make extended precision gdtoa friendly.
int/size_t changes
make this gdtoa friendly.
remove dup definition
use dtoa() instead of returning empty when we don't have extended precision
information.
Fix previous, add forgotten pointer dereference in the call to dtoa().
Add a cheesy workaround marked XXX for the situation where the
strtod() implementation available in the environment does not
handle hex floats.
Discussed with and suggested by christos
From Christos: gdtoa fixes for m68k. M68k ports should build now, but
printing extended precision is a little off.
vax does not have <machine/ieee.h> or long double
It would be nice if the compiler provided something like __IEEE_MATH__
bring in FreeBSD's vfscanf() to gain multi-byte/collation support.
Unfortunately it is too difficult to make vfwscanf and this share
the same code like I did with printf, because for string parsing
the code is too different.
 1.2.10.1 18-May-2008  yamt sync with head.
 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 fpclassifyl.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2 20-Mar-2012  he Sprinkle some /* ARGSUSED */ before the dummy functions to appease lint.
 1.1 28-Nov-2009  christos branches: 1.1.6;
Add no/op routines for m68000 for the sticky, mask, and round settings.
 1.1.6.1 17-Apr-2012  yamt sync with head
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 13-Jan-2002  thorpej branches: 1.8.58; 1.8.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.7 25-Oct-1999  thorpej branches: 1.7.8;
Add register prefixes.
 1.6 13-Dec-1995  thorpej branches: 1.6.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.5 09-Apr-1995  mycroft Put jtc's notice back, since these are now roughly identical.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.6.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.8.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.58.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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.11 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.10 16-Jul-2013  matt branches: 1.10.2;
Add END(func)
 1.9 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.8 13-Jan-2002  thorpej branches: 1.8.58; 1.8.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.7 25-Oct-1999  thorpej branches: 1.7.8;
Add register prefixes.
 1.6 13-Dec-1995  thorpej branches: 1.6.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.5 09-Apr-1995  mycroft Put jtc's notice back, since these are now roughly identical.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.6.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.8.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.58.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.10.2.1 23-Jul-2013  riastradh sync with HEAD
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 13-Jan-2002  thorpej branches: 1.7.58; 1.7.64;
Add internal names for fp{get,set}{mask,round,sticky}(), and
externally-visible weak aliases for the internal names.
 1.6 25-Oct-1999  thorpej branches: 1.6.8;
Add register prefixes.
 1.5 13-Dec-1995  thorpej branches: 1.5.12;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 09-Apr-1995  mycroft Actually, bitfields are faster on the '040; optimize for it, but adjust the
fields so that the mask and sticky bits are the same.
 1.3 09-Apr-1995  mycroft Rewrite these to use the accrued exception byte for sticky flags, and to
avoid expensive bitfield instructions.
 1.2 09-Apr-1995  jtc removed commented-out #include <machine/asm.h>
 1.1 07-Apr-1995  jtc Added __flt_rounds(), fp{get,set}{round,mask,sticky}().
 1.5.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.7.64.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.58.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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.7 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.6 29-Aug-1999  mycroft branches: 1.6.10;
Trivial KNF.
 1.5 29-Aug-1999  mycroft Make the C version of frexp() consitent across platforms, and handle the
Inf/NaN case.
 1.4 10-Mar-1999  mycroft Use ieee.h structs and macros.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6.10.1 08-Mar-2002  nathanw Catch up to -current.
 1.7 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.6 13-Sep-2000  msaitoh branches: 1.6.2;
check LIBC_SCCS
 1.5 14-Nov-1998  christos delint
 1.4 26-Jul-1998  mycroft const poisoning.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6.2.1 08-Mar-2002  nathanw Catch up to -current.
 1.2 12-Jun-2005  lukem Add missing __RCSID()
 1.1 25-Oct-2003  kleink Add __infinityf and __infinityl, float respectively long double analogs
of __infinity.
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 29-Oct-2003  kleink branches: 1.1.30;
C99 7.12.3.2: add library portions of isfinite, but don't build these just
yet.
 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 isfinitel.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.9 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.8 22-Jan-2000  mycroft branches: 1.8.6;
Delint.
 1.7 29-Aug-1999  mycroft Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
 1.6 14-Nov-1998  christos delint
 1.5 13-Oct-1998  kleink Need internal names for isinf() and isnan().
 1.4 13-Jul-1997  christos Fix RCSID's
Add missing math.h include
 1.3 05-Feb-1996  jtc Add explicit return type
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus branches: 1.1.4;
Machine-dependent files for generic m68k machines (copied from hp300)
 1.1.4.1 18-Apr-1995  jtc namespace protect isnan() and isinf()
 1.8.6.1 08-Mar-2002  nathanw Catch up to -current.
 1.6 30-Jan-2009  mhitch The explicit integer bit is "don't care" for infinity, and now that it's
included in ext_frach, it needs to be masked off when testing for an
infinity value. Fixes the ieeefp/infinity regression test on the 68060
which clears the explicity integer bit when loading an infinity value.
 1.5 10-Jan-2008  martin branches: 1.5.10;
Modify the high part of the fraction so that we recognize our __infinityl
value.
XXX - seems like we could share this with LE archs
 1.4 04-Mar-2004  kleink branches: 1.4.22;
* Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
 1.3 27-Oct-2003  kleink Err, rename some members added in previous to make them reflect their
semantics better.
 1.2 27-Oct-2003  kleink Retire local union { floating-type; struct ieee_prec; } in favor of those
available from <machine/ieee.h>
 1.1 24-Oct-2003  kleink * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
 1.4.22.1 23-Mar-2008  matt sync with HEAD
 1.5.10.1 02-Feb-2009  snj Pull up following revision(s) (requested by mhitch in ticket #385):
lib/libc/arch/m68k/gen/isinfl.c: revision 1.6
The explicit integer bit is "don't care" for infinity, and now that it's
included in ext_frach, it needs to be masked off when testing for an
infinity value. Fixes the ieeefp/infinity regression test on the 68060
which clears the explicity integer bit when loading an infinity value.
 1.3 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.2 22-Jan-2000  mycroft branches: 1.2.6;
Delint.
 1.1 29-Aug-1999  mycroft Separate isnan() into a separate module, and make isinf()/isnan() use ieee.h.
 1.2.6.1 08-Mar-2002  nathanw Catch up to -current.
 1.5 04-Mar-2004  kleink * Turn isinf(3) and isnan(3) into C99-style macros.
* Make it possible for ports to override these (i.e., VAX).
* Remove isnanl(), which was internal to libc only.
 1.4 28-Oct-2003  kleink Ignore the explicit integer bit here, too; otherwise an infinity with the
explicit integer bit set could be classified as NaN.
 1.3 27-Oct-2003  kleink Err, rename some members added in previous to make them reflect their
semantics better.
 1.2 27-Oct-2003  kleink Retire local union { floating-type; struct ieee_prec; } in favor of those
available from <machine/ieee.h>
 1.1 24-Oct-2003  kleink * Since there is no single portable IEEE 754 format for a long double,
keep a common implementation of isinfl() and isnanl() to be used by
platforms where `long double' == `double'; move others into
machine-dependent code.
* In due course, consider __VFP_FP__ on arm.
 1.7 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.6 02-May-1999  kleink When using the SVR4 ABI, just return floating point values in fp0.
 1.5 09-Oct-1997  is Most calls of ldexp() won't be with a first parameter of 0.0. Don't penalize
them for a slight optimization of the zero case.
 1.4 25-Apr-1997  thorpej Use <machine/asm.h>
 1.3 26-Jun-1996  jtc branches: 1.3.2;
use fscalel instead of ftwotoxl/fmulx
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.7 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.6 29-Aug-1999  mycroft Don't ever return -0.0.
 1.5 29-Aug-1999  mycroft Minor style change.
 1.4 10-Mar-1999  mycroft Just some minor cleanup.
 1.3 02-Oct-1997  is ieee.h and ldexp.c taken from the powerpc port, for the benefit of
68040 and 68060 owners.
With ``make M68040=1'' or ``make M68060=1'', we build a libc where the ldexp()
doesn't use excessive amounts of system cpu time.
Without any of those defines, the normal assembler version using FSCALE is
included, for the benefit of M68020 and M68030 users, or M68040/M68060 users
where the ldexp performance is no bottleneck.
[Its not yet worked out how to include both library versions in a binary
distribution, but you can build your own from source now if you need it.]
For details, look at PR 3105.
 1.2 13-Jul-1997  christos Fix RCSID's
Add missing math.h include
 1.1 29-Mar-1997  thorpej Architecture-specific bits for libc on the PowerPC. From Wolfgang
Solfrank <ws@tools.de>
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.7 07-Nov-2001  drochner fix -Wshadow warnings
 1.6 30-Aug-1999  mycroft branches: 1.6.10;
Another microoptimization. Take advantage of the addition already having set
the flags for the <=0 comparison.
 1.5 30-Aug-1999  mycroft Reuse the trick of loading 0.0 (rather than 1.0) and then modifying the
exponent. It's a bit faster on some machines.
 1.4 30-Aug-1999  mycroft Nuke unused variable.
 1.3 29-Aug-1999  mycroft ldexp(denormal, exp>1023) would generate the wrong result in all non-overflow
cases. Totally rework this code to fix this bug *and* make it faster.
 1.2 29-Aug-1999  mycroft Oops; committed wrong version here.
 1.1 29-Aug-1999  mycroft Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.6.10.2 08-Mar-2002  nathanw Catch up to -current.
 1.6.10.1 14-Nov-2001  nathanw Catch up to -current.
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 07-Nov-2001  drochner branches: 1.2.32;
-Wshadow fix
 1.1 29-Aug-1999  mycroft branches: 1.1.10;
Reimplement the FSCALE version as C-with-assembler. (Make the compiler deal
with ABI crap.)
 1.1.10.1 14-Nov-2001  nathanw Catch up to -current.
 1.2.32.1 18-May-2008  yamt sync with head.
 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 ldexp_881.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.3 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.2 07-Nov-2001  drochner cpoy from the 040 version: -Wshadow warning fix
 1.1 17-May-2001  fredette branches: 1.1.2;
Added. These are part of the soft-float support on the 68010.
 1.1.2.4 08-Mar-2002  nathanw Catch up to -current.
 1.1.2.3 14-Nov-2001  nathanw Catch up to -current.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 17-May-2001  nathanw file ldexp_softfloat.c was added on branch nathanw_sa on 2001-10-08 20:17:40 +0000
 1.2 28-Apr-2008  martin branches: 1.2.8;
Remove clause 3 and 4 from TNF licenses
 1.1 09-Mar-2006  christos branches: 1.1.18;
Welcome to the new compat layout.
 1.1.18.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 longjmp.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 28-Apr-2008  martin branches: 1.3.8;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.30;
Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file makecontext.c was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.2.30.1 18-May-2008  yamt sync with head.
 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 makecontext.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.1 17-May-2001  fredette branches: 1.1.2;
Added. These are part of the soft-float support on the 68010.
 1.1.2.3 08-Mar-2002  nathanw Catch up to -current.
 1.1.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.1.2.1 17-May-2001  nathanw file modf_softfloat.c was added on branch nathanw_sa on 2001-10-08 20:17:40 +0000
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.10 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 02-May-1999  kleink branches: 1.5.2;
Oops, typo.
 1.4 02-May-1999  kleink When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.4 22-Feb-2009  martin Make NAN a compile time constant (with help from the compiler). Suggested
by krister. Fixes PR 40695.
Make references to the old construct (which we can't remove for binary
compatibility reasons) emit a linker warning.
 1.3 15-Apr-2005  kleink branches: 1.3.2; 1.3.32;
Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.

IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.2 19-Feb-2002  simonb Clean up some rampant code duplication wrt ieee number handling:
- Add alignment-safe double and float unions.
- Use the above for the __infinity and __nan constants on all
architectures that use the standard ieee754 representation of
those constants.
- Add a single copy of various ieee754 math functions (frexp, isinf,
isnan, ldexp and modf) that had numerous duplicates among the
arch-specific directories.
- Use the above functions on all architectures where the generic C
versions where used. Architectures that had local assembly
routines are untouched (for those functions only).
 1.1 23-Dec-1999  kleink branches: 1.1.6;
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.
 1.1.6.1 08-Mar-2002  nathanw Catch up to -current.
 1.3.32.1 13-May-2009  jym Sync with HEAD.

Third (and last) commit. See http://mail-index.netbsd.org/source-changes/2009/05/13/msg221222.html
 1.3.2.2 19-Apr-2005  tron Pull up revision 1.3 (requested by kleink in ticket #163):
Push back the descriptions of NaN formats, and descriptions of the
distinction between signalling NaNs and quiet NaNs back into the
machine-dependent headers; treat the implementation of __nanf in the
same spirit.
IEEE 754 leaves the distinction between signalling NaNs and quiet NANs
to the implementation, and unlike our headers used to suggest they're
not identical in the interpretation of the fraction's MSb; in due
course, make those of hppa, mips, sh3, and sh5 reflect reality.
 1.3.2.1 15-Apr-2005  tron file nanf.c was added on branch netbsd-3 on 2005-04-19 12:30:50 +0000
 1.10 17-Jul-2013  matt Use __HAVE_FPU__ instead __HAVE_68881__
 1.9 16-Jul-2013  matt Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 18-May-2001  fredette On m68000, all code is compiled softfloat, so functions
that return floats must do so in integer registers, as the
pre-SVR4 ABI code did. So in these functions we ignore
__SVR4_ABI__ if __HAVE_68881__ is not also set.
 1.5 25-Oct-1999  thorpej branches: 1.5.8;
Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.10 17-Jul-2013  matt Use __HAVE_FPU__ instead __HAVE_68881__
 1.9 16-Jul-2013  matt Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 18-May-2001  fredette On m68000, all code is compiled softfloat, so functions
that return floats must do so in integer registers, as the
pre-SVR4 ABI code did. So in these functions we ignore
__SVR4_ABI__ if __HAVE_68881__ is not also set.
 1.5 25-Oct-1999  thorpej branches: 1.5.8;
Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 17-Jul-2013  matt Use assym.h
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 28-Apr-2008  martin branches: 1.5.4; 1.5.8; 1.5.28;
Remove clause 3 and 4 from TNF licenses
 1.4 13-Dec-2006  martin branches: 1.4.10;
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:

> -check for a NULL uc_link before calling setcontext(2); do a real exit(3)
> instead with exit handlers and all that
> -If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
> than relying on a sensible return value to use as exit code. Makes
> it less likely that an ucontext corruption goes unnoticed.

This fixes regress/lib/libc/context for m68k.

Thanks to Steve Woodford for optimization hints.
 1.3 26-Jan-2003  kleink branches: 1.3.16;
Fix comment typo, and convert to C-style comments.
 1.2 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file resumecontext.S was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.3.16.1 15-Dec-2006  tron Pull up following revision(s) (requested by martin in ticket #273):
lib/libc/arch/m68k/gen/resumecontext.S: revision 1.4
Pull over rev. 1.5 of the i386 version (../../i386/resumecontext.S),
quoting Matthias Drochner:
-check for a NULL uc_link before calling setcontext(2); do a real exit(3)
instead with exit handlers and all that
-If setcontext(2) returns (which it shouldn't), do an _exit(-1) rather
than relying on a sensible return value to use as exit code. Makes
it less likely that an ucontext corruption goes unnoticed.
This fixes regress/lib/libc/context for m68k.
Thanks to Steve Woodford for optimization hints.
 1.4.10.1 18-May-2008  yamt sync with head.
 1.5.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file resumecontext.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.5.4.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.6 14-Jul-1997  veego Remove the duplicated __builtin_saveregs function.
We only need it in src/gnu/usr.bin/gcc/libgcc/libgcc2.c.
 1.5 14-Jul-1997  christos Builtin saveregs returns void *, not void.
 1.4 14-Jul-1997  christos Add missing prototypes. From Bernd.
 1.3 13-Jul-1997  christos Fix RCSID's
 1.2 13-Dec-1995  thorpej New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.15 17-Jul-2013  matt Use assym.h
 1.14 16-Jul-2013  matt Add END(func)
 1.13 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.12 09-Mar-2006  christos branches: 1.12.44; 1.12.50;
Welcome to the new compat 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 25-Oct-1999  thorpej Add register prefixes.
 1.9 18-Oct-1999  itohy ELF PIC support.
Small optimization.
 1.8 01-Jul-1998  thorpej branches: 1.8.4;
Use _C_LABEL() to generate C labels.
 1.7 05-Dec-1997  thorpej Use __sigaltstack14(), not sigaltstack().
 1.6 25-Apr-1997  thorpej Use <machine/asm.h>
 1.5 13-Dec-1995  thorpej branches: 1.5.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.4 05-Aug-1994  mycroft Revert this.
 1.3 04-Aug-1994  chopps inline call to sigreturn original idea from jason downs <downsj@CSOS.ORST.EDU>
we want this to be done for everything including non-PIC code as longjmp()
does non-standard things with regs and wouldn't like it if the user replaced
the sigreturn() stub.
 1.2 10-May-1994  chopps branches: 1.2.2;
update to use sigaltstack.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 05-Aug-1994  mycroft update from trunk
 1.5.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.8.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.12.44.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 26-Apr-2019  maya Unify signbitl implementations.
(Unclear why they were different, it was only the comments that
differed)

Add a comment describing why the generic version works for both 80-bit
and 128-bit double.
 1.2 28-Apr-2008  martin branches: 1.2.8; 1.2.64;
Remove clause 3 and 4 from TNF licenses
 1.1 15-Jan-2004  kleink branches: 1.1.30;
Add C99 fpclassify(), isfinite(), isnormal(), and signbit() macros.
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.64.1 10-Jun-2019  christos 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 signbitl.c was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.10 16-Jul-2013  matt Add END(func)
 1.9 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.8 09-Mar-2006  christos branches: 1.8.44; 1.8.50;
Welcome to the new compat layout.
 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 25-Oct-1999  thorpej Add register prefixes.
 1.5 18-Oct-1999  itohy ELF PIC support.
 1.4 01-Jul-1998  thorpej branches: 1.4.4;
Use _C_LABEL() to generate C labels.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 03-May-1995  briggs m68k sig{set,long}jmp from Henric Jungheim (uhenric@mcl.ucsb.edu) as
followup to GNATS report port-amiga/1009.
Passes regression tests.
I added a NetBSD string and changed jbra to jra.
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.8.50.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.44.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.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 17-Jul-2013  matt Use assym.h
 1.5 16-Jul-2013  matt Add END(func)
 1.4 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.3 28-Apr-2008  martin branches: 1.3.4; 1.3.8; 1.3.28;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.30;
Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file swapcontext.S was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.2.30.1 18-May-2008  yamt sync with head.
 1.3.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 swapcontext.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.3.4.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.9 18-Jul-2013  matt Remove hardfloat now that it's someplace else.
 1.8 16-Jul-2013  matt branches: 1.8.2;
Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-May-1999  kleink branches: 1.4.2;
When using the SVR4 ABI, just return floating point values in fp0.
 1.3 25-Apr-1997  thorpej Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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.8.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.7 16-Jul-2013  matt Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 07-Aug-2003  agc branches: 1.5.56; 1.5.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej branches: 1.2.2;
New-style RCS id's. In assmebly files, use the RCSID() macro where
appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2.2.1 16-Sep-1996  jtc snapshot namespace cleanup
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.5.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add the Makefile
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file Makefile.inc was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file Makefile.inc was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file Makefile.inc was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file adddf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file adddf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file addsf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file addsf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.3 18-Mar-2014  riastradh branches: 1.3.4; 1.3.8;
Merge riastradh-drm2 to HEAD.
 1.2 18-Jul-2013  matt Update to compile on coldfire.
 1.1 17-Jul-2013  matt branches: 1.1.2;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.2.1 23-Jul-2013  riastradh sync with HEAD
 1.3.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.1 18-Mar-2014  tls file cmpdf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.3.4.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.3.4.1 18-Mar-2014  yamt file cmpdf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.3 18-Mar-2014  riastradh branches: 1.3.4; 1.3.8;
Merge riastradh-drm2 to HEAD.
 1.2 18-Jul-2013  matt Update to compile on coldfire.
 1.1 17-Jul-2013  matt branches: 1.1.2;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.2.1 23-Jul-2013  riastradh sync with HEAD
 1.3.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.1 18-Mar-2014  tls file cmpsf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.3.4.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.3.4.1 18-Mar-2014  yamt file cmpsf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file divdf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file divdf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file divsf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file divsf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file extendsfdf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file extendsfdf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fixdfsi.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fixdfsi.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.3 18-Mar-2014  riastradh branches: 1.3.4; 1.3.8;
Merge riastradh-drm2 to HEAD.
 1.2 18-Jul-2013  matt Update to compile on coldfire.
 1.1 17-Jul-2013  matt branches: 1.1.2;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.2.1 23-Jul-2013  riastradh sync with HEAD
 1.3.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.1 18-Mar-2014  tls file fixunsdfsi.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.3.4.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.3.4.1 18-Mar-2014  yamt file fixunsdfsi.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add for softfloat compatibility
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file fixunssfsi.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file fixunssfsi.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file fixunssfsi.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file floatsidf.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file floatsidf.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add for softfloat compatibility
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file floatunsidf.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file floatunsidf.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file floatunsidf.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.3 18-Mar-2014  riastradh branches: 1.3.4; 1.3.8;
Merge riastradh-drm2 to HEAD.
 1.2 19-Jul-2013  matt branches: 1.2.2;
Don't use the fs* variants, just use the f* ones.
 1.1 18-Jul-2013  matt Add for softfloat compatibility
 1.2.2.2 23-Jul-2013  riastradh sync with HEAD
 1.2.2.1 19-Jul-2013  riastradh file floatunsisf.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.3.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.1 18-Mar-2014  tls file floatunsisf.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.3.4.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.3.4.1 18-Mar-2014  yamt file floatunsisf.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file flt_rounds.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file flt_rounds.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fpgetmask.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fpgetmask.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fpgetround.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fpgetround.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fpgetsticky.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fpgetsticky.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fpsetmask.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fpsetmask.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fpsetround.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fpsetround.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file fpsetsticky.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file fpsetsticky.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file ldexp_881.c was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file ldexp_881.c was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file ledf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file ledf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file ledf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file lesf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file lesf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file lesf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file ltdf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file ltdf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file ltdf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file ltsf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file ltsf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file ltsf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.3 18-Mar-2014  riastradh branches: 1.3.4; 1.3.8;
Merge riastradh-drm2 to HEAD.
 1.2 18-Jul-2013  matt Update to compile on coldfire.
 1.1 17-Jul-2013  matt branches: 1.1.2;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.2.1 23-Jul-2013  riastradh sync with HEAD
 1.3.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.3.8.1 18-Mar-2014  tls file modf.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.3.4.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.3.4.1 18-Mar-2014  yamt file modf.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file muldf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file muldf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file mulsf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file mulsf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file nedf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file nedf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file nedf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file nesf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file nesf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file nesf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file subdf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file subdf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file subsf3.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file subsf3.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 17-Jul-2013  matt branches: 1.1.6; 1.1.10;
Move the hardfloat stuff to its own directory.
Rewrite fp{get,set}{mask,round,sticky} in C
 1.1.10.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.10.1 17-Jul-2013  tls file truncdfsf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.1.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.1.6.1 17-Jul-2013  yamt file truncdfsf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file unorddf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file unorddf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file unorddf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.2 18-Mar-2014  riastradh branches: 1.2.4; 1.2.8;
Merge riastradh-drm2 to HEAD.
 1.1 18-Jul-2013  matt branches: 1.1.2;
Add more softfloat compatible functions
 1.1.2.2 23-Jul-2013  riastradh sync with HEAD
 1.1.2.1 18-Jul-2013  riastradh file unordsf2.S was added on branch riastradh-drm2 on 2013-07-23 21:07:28 +0000
 1.2.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.1 18-Mar-2014  tls file unordsf2.S was added on branch tls-maxphys on 2014-08-20 00:02:10 +0000
 1.2.4.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.2.4.1 18-Mar-2014  yamt file unordsf2.S was added on branch yamt-pagecache on 2014-05-22 11:36:47 +0000
 1.1 25-Feb-1995  cgd need these now, with new net Makefile.inc
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.7 18-Jul-2013  matt Use stack adjustment in the lnk instruction to adjust the stack.
Saves one word on the following moveml
 1.6 16-Jul-2013  matt branches: 1.6.2;
Add END(func)
 1.5 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.4 28-Apr-2008  martin branches: 1.4.4; 1.4.8; 1.4.28;
Remove clause 3 and 4 from TNF licenses
 1.3 25-Oct-1999  thorpej branches: 1.3.40;
Add register prefixes.
 1.2 30-Jul-1997  jtc branches: 1.2.6;
Fix files using old TNF copyright notice
 1.1 31-May-1996  jtc m68k assembly versions of 64 bit shift functions
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.40.1 18-May-2008  yamt sync with head.
 1.4.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file ashldi3.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.4.4.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.6.2.1 23-Jul-2013  riastradh sync with HEAD
 1.8 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.7 18-Jul-2013  matt Use stack adjustment in the lnk instruction to adjust the stack.
Saves one word on the following moveml
 1.6 16-Jul-2013  matt branches: 1.6.2;
Add END(func)
 1.5 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.4 28-Apr-2008  martin branches: 1.4.4; 1.4.8; 1.4.28;
Remove clause 3 and 4 from TNF licenses
 1.3 25-Oct-1999  thorpej branches: 1.3.40;
Add register prefixes.
 1.2 30-Jul-1997  jtc branches: 1.2.6;
Fix files using old TNF copyright notice
 1.1 31-May-1996  jtc m68k assembly versions of 64 bit shift functions
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.40.1 18-May-2008  yamt sync with head.
 1.4.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4.8.1 28-Apr-2008  martin file ashrdi3.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.4.4.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.6.2.1 23-Jul-2013  riastradh sync with HEAD
 1.9 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.8 18-Jul-2013  matt Use stack adjustment in the lnk instruction to adjust the stack.
Saves one word on the following moveml
 1.7 16-Jul-2013  matt branches: 1.7.2;
Add END(func)
 1.6 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.5 28-Apr-2008  martin branches: 1.5.4; 1.5.8; 1.5.28;
Remove clause 3 and 4 from TNF licenses
 1.4 28-Nov-2000  scw branches: 1.4.34;
Add a missing `%' register prefix.
 1.3 25-Oct-1999  thorpej Add register prefixes.
 1.2 30-Jul-1997  jtc branches: 1.2.6;
Fix files using old TNF copyright notice
 1.1 31-May-1996  jtc m68k assembly versions of 64 bit shift functions
 1.2.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.34.1 18-May-2008  yamt sync with head.
 1.5.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.5.8.1 28-Apr-2008  martin file lshrdi3.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.5.4.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.2.1 23-Jul-2013  riastradh sync with HEAD
 1.2 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.1 26-Sep-2004  jmmv Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.1 26-Sep-2004  jmmv Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.12 29-Sep-2025  nat Fix return values for softfloat functions to appease gcc.

Not sure if it is gcc and m68k only so it wrapped up in defines.
 1.11 17-Sep-2025  nat Shift the high word of floatx80 accordingly on m68k.

This is because gcc will store floatx80 as signbit(1)exponent(15) padding(32)
as opposed to sign and exponent in a short(16 bit) word.
 1.10 17-Sep-2025  nat Store 80 bit floats properly on m68k.

The libc/softfloat would store the high word as a short, where as gcc
will store it as a long with the sign and 15 bit exponent in the high bytes.

I had to use the __packed attribute as they were stored with an 8-byte
alignment....Why????
 1.9 06-Sep-2025  nat Fix byte ordering for extended longs for softfloat on m68k.

This helps many libc soft float libm tests pass.
 1.8 06-Sep-2025  nat Definition is static for libc soft float but not for libgcc_s.

NFCI
 1.7 01-Sep-2014  matt float32_is_signalling_nan needs a prototype if SOFTFLOATM68K_FOR_GCC is
defined.
 1.6 18-Mar-2014  riastradh branches: 1.6.4;
Merge riastradh-drm2 to HEAD.
 1.5 18-Jul-2013  matt Coldfire doesn't do FLOATX80
 1.4 07-Jul-2011  matt branches: 1.4.2; 1.4.8; 1.4.12;
Don't define a new enum. Just #define round_* to their FP_Rx instead.
 1.3 04-Jul-2011  matt Add __floatunsidf __floatunsisf __floatunsitf routines.
XXX i think they are correct but not sure.
 1.2 16-May-2006  mrg if SOFTFLOAT_FOR_GCC is not defined, don't declare float_detect_tininess.
 1.1 26-Sep-2004  jmmv Add support to build the mac68k port with soft-float enabled (i.e., setting
MKSOFTFLOAT=yes). The main purpose of this feature is to let NetBSD work
in machines with the 68040LC chip (those that have the FPU bug).

All the work has been done by Bruce O'Neel <edoneel AT sdf.lonestar.org>,
with some very minor changes by me; the patches were being posted to the
port-mac68k mailing list. It has been tested for a long time by several
users, including me.

I have just verified that regular releases, as well as soft-float ones,
continue to build.

There have been no objections to this patch since I asked for them in July
in the port-mac68k list.
 1.4.12.1 23-Jul-2013  riastradh sync with HEAD
 1.4.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.2.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.6.4.1 04-Feb-2015  snj Pull up following revision(s) (requested by chs in ticket #487):
lib/libc/arch/m68k/softfloat/softfloat.h: revision 1.7
float32_is_signalling_nan needs a prototype if SOFTFLOATM68K_FOR_GCC is
defined.
 1.7 11-Aug-2009  dsl Change NO_SRCS lines to specify .S in order to exclude the .c file from
SRCS but add it to LSRCS (sort of makes sense!).
 1.6 31-Jul-2009  dsl Add the 'abs', 'div' and 'erand48' sources to stdlib/Makefile.inc.
Change the arch files only include the .S files.
This adds imaxdiv() to some archs where it was missing.
 1.5 22-Mar-2006  drochner build erand48_ieee754.c on everything but vax
 1.4 11-Dec-2000  is Identical on m68k.
 1.3 06-Mar-2000  kleink Add ISO C99 long long integer general utility interfaces; partially addresses
PR standards/9482.
 1.2 16-Jan-2000  kleink (Re-)use the assembly version for labs(), too.
 1.1 05-Nov-1997  cgd branches: 1.1.2;
A foolish consistency... gen, net, and string all get MD sources
specified by including a Makefile.inc from the appropriate MD directory.
stdlib doesn't do that, but there's no reason that it shouldn't (and
it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
 1.1.2.2 08-Nov-1997  veego pull up changes from the trunk (approved by perry) from cgd:
>A foolish consistency... gen, net, and string all get MD sources
>specified by including a Makefile.inc from the appropriate MD directory.
>stdlib doesn't do that, but there's no reason that it shouldn't (and
>it'd be nice to eliminate the 'if's from the MI stdlib Makefile.inc).
 1.1.2.1 05-Nov-1997  veego file Makefile.inc was added on branch netbsd-1-3 on 1997-11-08 21:56:38 +0000
 1.8 16-Jul-2013  matt WEAK_ALIAS is always present
Use END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 11-Dec-2000  is Identical on m68k.
 1.4 25-Oct-1999  thorpej Add register prefixes.
 1.3 25-Apr-1997  thorpej branches: 1.3.6;
Use <machine/asm.h>
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2 17-Mar-1994  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.2 11-Dec-2000  is Identical on m68k.
 1.1 16-Jan-2000  kleink (Re-)use the assembly version for labs(), too.
 1.6 16-Jul-2013  matt WEAK_ALIAS is always present
Use END(func)
 1.5 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.4 04-Aug-2008  matt branches: 1.4.2; 1.4.6; 1.4.26;
Add C99 functions imaxabs and imaxdiv.
 1.3 07-Aug-2003  agc branches: 1.3.32;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.2 29-May-2001  kleink Add missing internal names and weak aliases to assembly versions.
 1.1 06-Mar-2000  kleink branches: 1.1.6;
Add ISO C99 long long integer general utility interfaces; partially addresses
PR standards/9482.
 1.1.6.1 08-Oct-2001  nathanw Catch up to -current.
 1.3.32.1 18-Sep-2008  wrstuden Sync with wrstuden-revivesa-base-2.
 1.4.26.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.4.6.2 04-Aug-2008  matt Add C99 functions imaxabs and imaxdiv.
 1.4.6.1 04-Aug-2008  matt file llabs.S was added on branch christos-time_t on 2008-08-04 21:29:29 +0000
 1.4.2.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 30-Jul-2009  dsl If SRCS contains any .S files then remove the corresponding .c file from
SRCS and add to LSRCS (for lint).
Change the 'string' Makefiles so that the arch/*/string/Makefile.inc
need only specify the .S files for that architecture and not the .c
files for all the files they don't override.
 1.4 17-Jul-2009  dsl Change all archs so that strchr.[cS] and strrchr.[cS] exist and generate
duplicate symbols for index() and rindex().
libc and kernel build ok for affected archs (i386, amd64, vax, sun3,
evbmips-eb) all seem ok.
(vax might lose an asm index() - but comments imply it is worse than the C)
 1.3 05-Feb-2001  scottr Implement a significantly improved version of memccpy(), with thanks to
Ignatios Souvatzis for correcting the SVR4 ABI code and for a few
micro-optimizations that followed from these changes.
 1.2 21-Oct-1995  jtc branches: 1.2.18;
Assembly language implementation of strcat(). Derived by merging existing
strlen() and strcpy() functions.
 1.1 20-Mar-1995  mycroft Separate machine dependencies.
 1.2.18.1 26-Feb-2001  he Pull up revision 1.3 (requested by scottr):
Implement a significantly improved version of memccpy().
 1.14 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.13 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.12 17-May-2001  fredette On the 68010, we are forced to do bytewise compares
and copies if the two addresses aren't of the same
evenness.
 1.11 25-Oct-1999  thorpej branches: 1.11.8;
Add register prefixes.
 1.10 15-May-1997  jtc branches: 1.10.6;
Fix typo
 1.9 13-May-1997  jtc Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.
 1.8 13-May-1997  jtc Faster versions of bcmp(), bcopy(), bzero(), and memset().

The implementation of these functions is losely based on the original
BSD code plus versions I was working on which would yeild code tuned
for a particular m68k or coldfire family cpu, code space or run time
efficiency, etc. depending on the values of various macros.

My original code was intended for use in OS-less embedded systems.
Because NetBSD can not benefit from the considerable complexity, I've
removed the extraneous preprocessor goop. The resulting code is tuned
for the '020 - '060. It will not function on the '000 or coldfire.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 30-Nov-1996  jtc Add L prefix to local labels
 1.4 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.10.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.11.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.18 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.17 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.16 17-May-2001  fredette On the 68010, we are forced to do bytewise compares
and copies if the two addresses aren't of the same
evenness.
 1.15 25-Oct-1999  thorpej branches: 1.15.8;
Add register prefixes.
 1.14 02-May-1999  kleink branches: 1.14.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.13 15-May-1997  jtc Fixup reverse bcopy
 1.12 13-May-1997  jtc Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.
 1.11 13-May-1997  jtc Faster versions of bcmp(), bcopy(), bzero(), and memset().

The implementation of these functions is losely based on the original
BSD code plus versions I was working on which would yeild code tuned
for a particular m68k or coldfire family cpu, code space or run time
efficiency, etc. depending on the values of various macros.

My original code was intended for use in OS-less embedded systems.
Because NetBSD can not benefit from the considerable complexity, I've
removed the extraneous preprocessor goop. The resulting code is tuned
for the '020 - '060. It will not function on the '000 or coldfire.
 1.10 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.9 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.8 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.7 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.6 29-Jun-1995  jtc remove single quote from comment
 1.5 08-Feb-1995  mycroft Make the coding style more consistent.
 1.4 08-Feb-1995  mycroft size_t is unsigned.
 1.3 07-Dec-1993  mycroft Fix typo.
 1.2 06-Dec-1993  mycroft Add code for memcpy() and memmove().
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.14.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.12 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.9 13-May-1997  jtc branches: 1.9.6;
Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.
 1.8 13-May-1997  jtc Faster versions of bcmp(), bcopy(), bzero(), and memset().

The implementation of these functions is losely based on the original
BSD code plus versions I was working on which would yeild code tuned
for a particular m68k or coldfire family cpu, code space or run time
efficiency, etc. depending on the values of various macros.

My original code was intended for use in OS-less embedded systems.
Because NetBSD can not benefit from the considerable complexity, I've
removed the extraneous preprocessor goop. The resulting code is tuned
for the '020 - '060. It will not function on the '000 or coldfire.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 30-Nov-1996  jtc Add L prefix to local labels
 1.4 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.10 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.9 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.8 17-May-2001  fredette On the 68010 only, assemble a different version of
this function, since the 68010 doesn't have bit
instructions.
 1.7 25-Oct-1999  thorpej branches: 1.7.8;
Add register prefixes.
 1.6 04-Jan-1997  jtc branches: 1.6.6;
#include <machine/asm.h> instead of "DEFS.h"
 1.5 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.4 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.3 09-Sep-1994  mycroft Use bfffo rather than a slow loop.
 1.2 30-Nov-1993  paulus Changed beq's to jeq's, because (a) the jeq gets optimized to a short branch,
and (b) gas currently assembles the beq's wrongly.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.6.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.3 04-Dec-1993  mycroft Clean up deleted files.
 1.2 30-Nov-1993  paulus Changed beq's to jeq's, because (a) the jeq gets optimized to a short branch,
and (b) gas currently assembles the beq's wrongly.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 02-May-1999  kleink branches: 1.8.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.4 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.3 08-Feb-1995  mycroft Make the coding style more consistent.
 1.2 08-Dec-1993  mycroft No reason these can't share code...
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.5 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.4 18-Jul-2013  matt Adjust for coldfire
 1.3 16-Jul-2013  matt branches: 1.3.2;
Add END(func)
 1.2 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.1 05-Feb-2001  scottr branches: 1.1.2; 1.1.62; 1.1.68;
Implement a significantly improved version of memccpy(), with thanks to
Ignatios Souvatzis for correcting the SVR4 ABI code and for a few
micro-optimizations that followed from these changes.

The overall improvement was measured at 3-4x for copies of at least
4 bytes on the 68030, and 8 bytes on the 68040. For smaller copies
the improvement was still measurable, if not as dramatic.
 1.1.68.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.62.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.1.2.2 26-Feb-2001  he Pull up revision 1.1 (new, requested by scottr):
Implement a significantly improved version of memccpy().
 1.1.2.1 05-Feb-2001  he file memccpy.S was added on branch netbsd-1-5 on 2001-02-26 16:32:19 +0000
 1.3.2.1 23-Jul-2013  riastradh sync with HEAD
 1.12 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.9 13-May-1997  jtc branches: 1.9.6;
Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.
 1.8 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.7 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.6 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.5 08-Feb-1995  mycroft Make the coding style more consistent.
 1.4 06-Dec-1993  mycroft Fix a couple of nits.
 1.3 06-Dec-1993  mycroft More assembler code.
 1.2 06-Dec-1993  mycroft Fudged an addressing mode.
 1.1 06-Dec-1993  mycroft Initially cloned from bcmp.S.
 1.9.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 07-Dec-1993  mycroft Fix typo.
 1.1 06-Dec-1993  mycroft #define the appropriate symbol and #include bcopy.S.
 1.4 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.3 09-Jan-1998  perry RCS Id Police.
 1.2 07-Dec-1993  mycroft Fix typo.
 1.1 06-Dec-1993  mycroft #define the appropriate symbol and #include bcopy.S.
 1.15 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.14 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.13 07-Sep-2001  fredette On the 68010, don't bother with the by-8-longwords loop, instead
only 16-bit align the region and use loop mode with longwords
to do the bulk of the work.

On the 68020+, fixed an optimization bug where all regions that start
on odd addresses would not be properly longword aligned.
 1.12 25-Oct-1999  thorpej branches: 1.12.8;
Add register prefixes.
 1.11 02-May-1999  kleink branches: 1.11.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.10 14-May-1997  jtc oops, bzero -> memset
 1.9 13-May-1997  jtc Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.
 1.8 13-May-1997  jtc Faster versions of bcmp(), bcopy(), bzero(), and memset().

The implementation of these functions is losely based on the original
BSD code plus versions I was working on which would yeild code tuned
for a particular m68k or coldfire family cpu, code space or run time
efficiency, etc. depending on the values of various macros.

My original code was intended for use in OS-less embedded systems.
Because NetBSD can not benefit from the considerable complexity, I've
removed the extraneous preprocessor goop. The resulting code is tuned
for the '020 - '060. It will not function on the '000 or coldfire.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.5 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.4 08-Feb-1995  mycroft Make the coding style more consistent.
 1.3 07-Dec-1993  mycroft Fix a bug, and speed up by a few cycles.
 1.2 06-Dec-1993  mycroft Fix a couple of nits.
 1.1 06-Dec-1993  mycroft More assembler code.
 1.11.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.12.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.11 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 02-May-1999  kleink branches: 1.8.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.4 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.3 08-Feb-1995  mycroft Make the coding style more consistent.
 1.2 08-Dec-1993  mycroft No reason these can't share code...
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 02-May-1999  kleink branches: 1.8.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 03-Jan-1997  jtc Add L prefix on local labels
 1.4 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 17-Nov-1995  jtc fix stupid typo
 1.1 21-Oct-1995  jtc Assembly language implementation of strcat(). Derived by merging existing
strlen() and strcpy() functions.
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 08-Dec-1993  mycroft No reason these can't share code...
 1.18 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.17 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.16 17-May-2001  fredette Use the EXTBL macro where we want the extbl instruction.
On the 68010 this expands to an extw/extl combination.
 1.15 28-Nov-2000  is branches: 1.15.2;
Another change by Hiroshi Horimoto.
 1.14 27-Oct-1999  is Fix spelling of contributors name
 1.13 25-Oct-1999  thorpej Add register prefixes.
 1.12 24-Jul-1997  jtc branches: 1.12.6;
Revert last change, some folks have reported problems
 1.11 21-Jul-1997  jtc Use insn sequence found by superoptimizer to compute return value. This
avoids the relatively expensive scc and ext instructions.
 1.10 18-May-1997  jtc I removed the extra instructions which compute the return value in Hiroshi
Horitomo's implementation a bit too hastily. They are required to handle
the unsigned comparison required by the standard.
 1.9 18-May-1997  jtc New implementations of strcmp() and strncmp().

This code uses subb instead of cmpb to compare chars. When they are
not equal, the function's return value is computed by sign extending
the difference. The basic idea was contributed by Hiroshi Horitomo
<horimoto@cs-aoi.cs.sist.ac.jp> in PR #3223, but his implementation
used additional instructions to compute the return value.

Also, the series of insns used to compare one pair of characters has
been unrolled 4 times. This helps the 680[23]0, where the cost of a
taken branch is significantly more than that of a not-taken branch.
 1.8 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.7 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.6 03-Jan-1997  jtc Add L prefix on local labels
 1.5 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.4 28-Nov-1995  thorpej Fix a typo.
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.12.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.15.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 02-May-1999  kleink branches: 1.8.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 03-Jan-1997  jtc Add L prefix on local labels
 1.4 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 04-Jan-1997  jtc branches: 1.8.6;
#include <machine/asm.h> instead of "DEFS.h"
 1.7 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.6 03-Jan-1997  jtc Add L prefix on local labels
 1.5 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.4 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.3 21-Oct-1995  jtc Rewrite to remove instruction in inside of loop. Instead of maintaining a
count, subtract the start address from the end address.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.8.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.16 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.15 26-Jul-2003  salo netbsd.org->NetBSD.org
 1.14 17-May-2001  fredette Use the EXTBL macro where we want the extbl instruction.
On the 68010 this expands to an extw/extl combination.
 1.13 27-Oct-1999  is branches: 1.13.8;
Fix spelling of contributors name
 1.12 25-Oct-1999  thorpej Add register prefixes.
 1.11 24-Jul-1997  jtc branches: 1.11.6;
Revert last change, some folks have reported problems
 1.10 21-Jul-1997  jtc Use insn sequence found by superoptimizer to compute return value. This
avoids the relatively expensive scc and ext instructions.
 1.9 18-May-1997  jtc I removed the extra instructions which compute the return value in Hiroshi
Horitomo's implementation a bit too hastily. They are required to handle
the unsigned comparison required by the standard.
 1.8 18-May-1997  jtc New implementations of strcmp() and strncmp().

This code uses subb instead of cmpb to compare chars. When they are
not equal, the function's return value is computed by sign extending
the difference. The basic idea was contributed by Hiroshi Horitomo
<horimoto@cs-aoi.cs.sist.ac.jp> in PR #3223, but his implementation
used additional instructions to compute the return value.

Also, the series of insns used to compare one pair of characters has
been unrolled 4 times. This helps the 680[23]0, where the cost of a
taken branch is significantly more than that of a not-taken branch.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 03-Jan-1997  jtc Add L prefix on local labels
 1.4 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.11.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.13.8.1 08-Oct-2001  nathanw Catch up to -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.13 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.12 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.11 27-Nov-2000  is Use dbeq loops, code submitted by Hiroshi Horimoto in PR 3223, integrated
and tested by Allen Briggs.
Needs 1/3 less time on 68030, 45% less time on 68040.
XXX On 68060, 1/2 less time for the padding part, but 40% more time on the
copy part. I've stared at the 68060 User Manual, but can't understand why;
must be some wierd (branch) cache interaction.
 1.10 25-Oct-1999  thorpej Add register prefixes.
 1.9 02-May-1999  kleink branches: 1.9.2;
When using the SVR4 ABI, return pointer results in a0, too.
 1.8 13-May-1997  jtc Change b{eq,ne,lt,le,gt,ge} -> j{eq,ne,lt,le,gt,ge}.
 1.7 04-Jan-1997  jtc #include <machine/asm.h> instead of "DEFS.h"
 1.6 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.5 03-Jan-1997  jtc Add L prefix on local labels
 1.4 28-Nov-1995  thorpej Fix a brain-o by me; if I'm going to use stuff in <machine/asm.h>, I better
darn well include it in the right place. "Hello, McFly!"
 1.3 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.2 08-Feb-1995  mycroft Make the coding style more consistent.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.9.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300)
 1.3 20-Dec-2005  christos Use reach-over sources from common/lib/libc
 1.2 09-Jan-1998  perry RCS Id Police.
 1.1 08-Dec-1993  mycroft No reason these can't share code...
 1.11 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.10 18-Jul-2013  matt Adjust for coldfire
 1.9 16-Jul-2013  matt branches: 1.9.2;
Add END(func)
 1.8 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.7 25-Oct-1999  thorpej branches: 1.7.66; 1.7.72;
Add register prefixes.
 1.6 04-Jan-1997  jtc branches: 1.6.6;
#include <machine/asm.h> instead of "DEFS.h"
 1.5 04-Jan-1997  jtc Use jCC instead of bCC, as the assembler will then use the (smaller,
faster) byte-displacement form of the instruction if the offset will
fit. This happens to be all occurances in this case, so I could have
used bCCs. However, a quick survey of the rest of NetBSD's m68k code
showed that jCC was used in similar cases. I did the same to be
consistant.
 1.4 17-Nov-1995  thorpej New style RCS ids, and employ the RCSID() macro.
 1.3 08-Feb-1995  mycroft Make the coding style more consistent.
 1.2 07-Jan-1995  mycroft Need to divide count by 2.
 1.1 06-Dec-1993  mycroft Assembler version.
 1.6.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.72.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.66.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.9.2.1 23-Jul-2013  riastradh sync with HEAD
 1.14 09-Mar-2006  christos Welcome to the new compat layout.
 1.13 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.12 07-Dec-2000  scw Use A1 to save the return address, since A0 is no longer preserved across
system calls.
 1.11 25-Oct-1999  thorpej Add register prefixes.
 1.10 18-Oct-1999  itohy ELF PIC support.
 1.9 02-May-1999  kleink branches: 1.9.2;
We can shave off a register-register move when using the SVR4 ABI: __errno()
will return its pointer result in a0.
 1.8 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.7 06-Oct-1998  kleink Add *__errno() redirection for _REENTRANT code. Also, some movel vs. movl
consistency.
 1.6 01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 1.5 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.4 27-Jan-1994  mycroft Trivial speedup inspired by SPARC code.
 1.3 27-Jan-1994  mycroft Random cleanup.
 1.2 04-Dec-1993  briggs Ovfork doesn't get .even any other way, so we must explicitly give it
one.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.9.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.5 16-Jul-2013  matt Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
 1.4 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.3 28-Apr-2008  martin branches: 1.3.4; 1.3.8; 1.3.28;
Remove clause 3 and 4 from TNF licenses
 1.2 20-Jul-2001  scw branches: 1.2.2; 1.2.34;
Compensate for the syscall args stack cleanup in the clone.
(Pointed out by Matthias Pfaller)
 1.1 19-Jul-2001  scw clone(2) syscall frontend for m68k.
 1.2.34.1 18-May-2008  yamt sync with head.
 1.2.2.2 08-Oct-2001  nathanw Catch up to -current.
 1.2.2.1 20-Jul-2001  nathanw file __clone.S was added on branch nathanw_sa on 2001-10-08 20:17:47 +0000
 1.3.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 __clone.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.3.4.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 16-Jul-2013  matt Add END(func)
 1.1 22-Nov-2011  joerg branches: 1.1.4; 1.1.8;
Add TLS support for m68k.
 1.1.8.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.4.3 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.1.4.2 17-Apr-2012  yamt sync with head
 1.1.4.1 22-Nov-2011  yamt file __m68k_read_tp.S was added on branch yamt-pagecache on 2012-04-17 00:05:13 +0000
 1.3 16-Jul-2013  matt Add END(func)
 1.2 28-Apr-2008  martin branches: 1.2.4; 1.2.8; 1.2.28;
Remove clause 3 and 4 from TNF licenses
 1.1 31-Dec-2007  martin branches: 1.1.2; 1.1.6;
Add missing stubs for syscalls returning addresses.
We can now run on a kernel that does not copy the syscall return value
to register A0.
As discussed in PR port-m68k/37631.
 1.1.6.1 18-May-2008  yamt sync with head.
 1.1.2.2 09-Jan-2008  matt sync with HEAD
 1.1.2.1 31-Dec-2007  matt file __mmap.S was added on branch matt-armv6 on 2008-01-09 01:33:57 +0000
 1.2.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 __mmap.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2.4.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 09-Mar-2006  christos Welcome to the new compat 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.10 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.9 28-Apr-2008  martin branches: 1.9.8;
Remove clause 3 and 4 from TNF licenses
 1.8 18-May-2006  christos branches: 1.8.18;
change __weak_extern to __weak_reference so that gcc4 works.
 1.7 19-Feb-2006  christos make these consistent.
 1.6 12-Jun-2005  lukem Add missing __RCSID()
 1.5 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.4 18-Oct-2003  christos Userland portion of SIGTRAMP_VALID() commit.
 1.3 22-Sep-2003  cl SA_SIGINFO support for m68k (libc)
 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:57 +0000
 1.8.18.1 18-May-2008  yamt sync with head.
 1.9.8.2 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.9.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.10 09-Mar-2006  christos Welcome to the new compat layout.
 1.9 26-Mar-2004  drochner no need to define __HAVE_SIGINFO anymore
 1.8 22-Sep-2003  cl SA_SIGINFO support for m68k (libc)
 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 30-May-2002  thorpej Make this work with an ISO C preprocessor.
 1.5 22-Jan-2002  aymeric Redefine ENTRY properly for both ELF and a.out
Now we can compile profiled m68k programs that use libc.
 1.4 25-Oct-1999  thorpej branches: 1.4.8;
Add register prefixes.
 1.3 02-May-1999  kleink branches: 1.3.2;
Call cerror through the PLT.
 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 05-Oct-1998  thorpej Update for signal changes.
 1.3.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.8.2 21-Jun-2002  nathanw Catch up to -current.
 1.4.8.1 28-Jan-2002  nathanw Catch up to -current.
 1.4 09-Mar-2006  christos Welcome to the new compat layout.
 1.3 26-Mar-2004  drochner no need to define __HAVE_SIGINFO anymore
 1.2 22-Sep-2003  cl SA_SIGINFO support for m68k (libc)
 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:57 +0000
 1.5 21-Nov-2021  thorpej Decorate the m68k signal trampoline with the appropriate .cfi
directives to allow exception unwind / backtrace across a signal
handler.
 1.4 16-Jul-2013  matt Add END(func)
Use SYSTRAP
 1.3 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.2 02-May-2008  martin branches: 1.2.4; 1.2.8; 1.2.28;
Fix nested comment and move to 2 clause license
 1.1 22-Sep-2003  cl branches: 1.1.30;
SA_SIGINFO support for m68k (libc)
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.2.8.2 02-May-2008  martin Fix nested comment and move to 2 clause license
 1.2.8.1 02-May-2008  martin file __sigtramp2.S was added on branch christos-time_t on 2008-05-02 18:34:18 +0000
 1.2.4.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.1 13-Dec-2000  scw The bare minimum to get m68k libc working again...
 1.12 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.11 16-Jul-2013  matt Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
 1.10 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.9 07-Aug-2003  agc branches: 1.9.56; 1.9.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.8 07-Dec-2000  scw The last change broke things if SYS___vfork14 returned an error; fix it.
 1.7 02-Dec-2000  scw Save the return address in %a1 across the vfork syscall instead of %a0.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 18-Oct-1999  itohy ELF PIC support.
 1.4 02-May-1999  kleink branches: 1.4.2;
We can shave off a register-register move when using the SVR4 ABI: __errno()
will return its pointer result in a0.
 1.3 06-Oct-1998  kleink Add *__errno() redirection for _REENTRANT code. Also, some movel vs. movl
consistency.
 1.2 01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 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.4.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.9.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.9.56.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.3 16-Jul-2013  matt Add END(func)
Use SYSTRAP
 1.2 28-Apr-2008  martin branches: 1.2.4; 1.2.8; 1.2.28;
Remove clause 3 and 4 from TNF licenses
 1.1 31-Dec-2007  martin branches: 1.1.2; 1.1.6;
Add missing stubs for syscalls returning addresses.
We can now run on a kernel that does not copy the syscall return value
to register A0.
As discussed in PR port-m68k/37631.
 1.1.6.1 18-May-2008  yamt sync with head.
 1.1.2.2 09-Jan-2008  matt sync with HEAD
 1.1.2.1 31-Dec-2007  matt file _lwp_getprivate.S was added on branch matt-armv6 on 2008-01-09 01:33:58 +0000
 1.2.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 _lwp_getprivate.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2.4.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.19 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.18 24-Jul-2013  matt Only jump to CERROR if carry is set, not clear.
 1.17 16-Jul-2013  matt Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
 1.16 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.15 26-Dec-2003  martin branches: 1.15.56; 1.15.62;
Use an unsigned comparison against minbrk.
From OpenBSD, changed by Miod Vallat.
 1.14 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.13 05-May-2001  kleink Shameless hack to reference end when using a.out and _end when using ELF.
 1.12 26-Jun-2000  kleink branches: 1.12.2;
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 25-Oct-1999  thorpej branches: 1.10.6;
Add register prefixes.
 1.9 18-Oct-1999  itohy ELF PIC support.
 1.8 02-May-1999  kleink branches: 1.8.2;
Call cerror through the PLT.
 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 01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 1.5 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.4 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.3 27-Jan-1994  mycroft branches: 1.3.2;
Separate curbrk and mincrk.
 1.2 27-Jan-1994  mycroft Random cleanup.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.3.2.1 05-Aug-1994  mycroft update from trunk
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.6.1 22-Aug-2000  kleink Pull up revs. 1.11-1.12 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.12.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.15.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.18 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.17 16-Jul-2013  matt Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
 1.16 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.15 03-Oct-2009  phx branches: 1.15.6; 1.15.12;
SystemV-R4 ABI for M68k returns pointers in %a0, so we have to make sure
that CERROR returns -1 in %a0 in addition to %d0 and %d1, to make functions
like mmap(2), mremap(2), shmat(2) or sbrk(2) return -1 in case of an error.
A side effect of this bug was a segfault caused by jemalloc, when mmap()
failed.
 1.14 07-Aug-2003  agc branches: 1.14.38; 1.14.46;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.13 25-Oct-1999  thorpej Add register prefixes.
 1.12 18-Oct-1999  itohy ELF PIC support.
 1.11 02-May-1999  kleink branches: 1.11.2;
We can shave off a register-register move when using the SVR4 ABI: __errno()
will return its pointer result in a0.
 1.10 29-Apr-1999  kleink Declare cerror using _ENTRY() to get, among other things, a .type statement.
 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 06-Oct-1998  kleink Declare one of {__errno,errno}, depending on _REENTRANT.
 1.7 01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 1.6 07-Nov-1996  jtc Change __REENTRANT to _REENTRANT, the latter is used Solaris and I can
think of no good reason to be different.
 1.5 07-Nov-1996  jtc Changed so that when __REENTRANT is defined, cerror calls __errno()
for the address of a variable used to store the error number instead
of writing to the global errno.

In a multi-threaded program, __errno() will return a pointer to a
thread-specific variable.
 1.4 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.3 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.2 02-Apr-1994  cgd branches: 1.2.2;
have cerror DTRT on returns, w.r.t. quads and -1. it needs to be done
here (think of syscall(SYS_lseek,...)). also, kill bogus lseek thang.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.2.2.1 05-Aug-1994  mycroft update from trunk
 1.11.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.14.46.1 21-Apr-2010  matt sync to netbsd-5
 1.14.38.1 10-Oct-2009  sborrill Pull up the following revisions(s) (requested by phx in ticket #1085):
lib/libc/arch/m68k/sys/cerror.S: revision 1.15

Ensure functions like mmap(2), mremap(2), shmat(2) or sbrk(2) return -1 in
case of an error. A side benefit of this is to fix a segfault caused by
jemalloc when mmap() failed.
 1.15.12.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.15.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.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.9 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.8 16-Jul-2013  matt branches: 1.8.10; 1.8.14;
Use SYSTRAP
Use a branch for CERROR (avoid the PLT)
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 02-May-1999  kleink branches: 1.5.2;
Call cerror through the PLT.
 1.4 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.3 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.2 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.1 25-Nov-1993  paulus branches: 1.1.2;
Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.1.2.1 05-Aug-1994  mycroft update from trunk
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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.8.14.1 21-Apr-2017  bouyer Sync with HEAD
 1.8.10.1 20-Mar-2017  pgoyette Sync with HEAD
 1.2 04-Dec-1993  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.8 16-Jul-2013  matt Add END(func)
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
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-Feb-2003  nathanw Implement pthread_atfork() (in libc, because the required threadlib
stub behavior is exactly the same as the usual behavior).
 1.5 26-Jun-2000  kleink Need an internal name for fork().
 1.4 25-Oct-1999  thorpej branches: 1.4.6;
Add register prefixes.
 1.3 13-Dec-1995  thorpej branches: 1.3.12;
New-style RCS ids. Use the RCSID() macro where appropriate.
 1.2 27-Jan-1994  mycroft Trivial speedup inspired by SPARC code.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.3.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.4.6.1 22-Aug-2000  kleink Pull up rev. 1.5 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.6 17-Jul-2013  matt Use assym.h
 1.5 16-Jul-2013  matt Add END(func)
 1.4 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.3 28-Apr-2008  martin branches: 1.3.4; 1.3.8; 1.3.28;
Remove clause 3 and 4 from TNF licenses
 1.2 18-Jan-2003  thorpej branches: 1.2.30;
Merge the nathanw_sa branch.
 1.1 10-Nov-2001  scw branches: 1.1.2;
file getcontext.S was initially added on branch nathanw_sa.
 1.1.2.1 10-Nov-2001  scw Userland mcontext glue for Scheduler Activations on m68k.
From Klaus Klein <kleink@netbsd.org>.
 1.2.30.1 18-May-2008  yamt sync with head.
 1.3.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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.3.4.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 02-Apr-1994  mycroft Clean up deleted files.
 1.1 31-Mar-1994  mycroft Set d1 to -1 before cerror.
 1.3 16-Jul-2013  matt Add END(func)
 1.2 28-Apr-2008  martin branches: 1.2.4; 1.2.8; 1.2.28;
Remove clause 3 and 4 from TNF licenses
 1.1 31-Dec-2007  martin branches: 1.1.2; 1.1.6;
Add missing stubs for syscalls returning addresses.
We can now run on a kernel that does not copy the syscall return value
to register A0.
As discussed in PR port-m68k/37631.
 1.1.6.1 18-May-2008  yamt sync with head.
 1.1.2.2 09-Jan-2008  matt sync with HEAD
 1.1.2.1 31-Dec-2007  matt file mremap.S was added on branch matt-armv6 on 2008-01-09 01:33:59 +0000
 1.2.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 mremap.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2.4.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 09-Mar-2006  christos Welcome to the new compat 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 16-Jul-2013  matt Add END(func)
 1.7 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.6 07-Aug-2003  agc branches: 1.6.56; 1.6.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.5 02-Oct-2000  kleink Whitespace botch in previous, noticed by Leo Weppelman and Thorsten Frueauf.
 1.4 28-Sep-2000  kleink Need an internal name for pipe(2).
 1.3 25-Oct-1999  thorpej branches: 1.3.6;
Add register prefixes.
 1.2 13-Dec-1995  thorpej branches: 1.2.12;
New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.2.12.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.3.6.2 03-Oct-2000  kleink Pull up rev. 1.5 (approved by thorpej):
Fix whitespace botch in previous.
 1.3.6.1 29-Sep-2000  kleink Pull up rev. 1.4 (approved by thorpej):
Add internal name for pipe().
 1.6.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.6.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.15 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.14 24-Jul-2013  matt Only jump to CERROR if carry is set, not clear.
 1.13 16-Jul-2013  matt Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
 1.12 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.11 07-Aug-2003  agc branches: 1.11.56; 1.11.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.10 25-Oct-1999  thorpej Add register prefixes.
 1.9 18-Oct-1999  itohy ELF PIC support.
 1.8 02-May-1999  kleink branches: 1.8.2;
Call cerror through the PLT.
 1.7 02-May-1999  kleink We can shave off a register-register move when using the SVR4 ABI: __errno()
will return its pointer result in a0.
 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 06-Oct-1998  kleink Add *__errno() redirection for _REENTRANT code. Also, some movel vs. movl
consistency.
 1.4 01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 1.3 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.2 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.1 25-Nov-1993  paulus branches: 1.1.2;
Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.1.2.1 05-Aug-1994  mycroft update from trunk
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.11.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.11.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.3 11-Nov-1996  mycroft Treat reboot() like a normal system call. From PR 2458.
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.17 24-Jul-2013  matt Only jump to CERROR if carry is set, not clear.
 1.16 16-Jul-2013  matt Use SYSTRAP.
Don't use the PLT to call CERROR
Use LEA_LCL / GOT_SETUP
Remove non-__ELF__ code.
Make __minbrk and __curbrk hidden and avoid using the GOT for them.
Convert to motorola syntax.
 1.15 16-Jul-2013  matt Convert to normal Motorola syntax for addressing.
%r@ -> (%r)
%r@- -> -(%r)
%r@+ -> (%r)+
%r@(n) n(%r)
etc.
No object differences.
 1.14 07-Aug-2003  agc branches: 1.14.56; 1.14.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.13 05-May-2001  kleink Shameless hack to reference end when using a.out and _end when using ELF.
 1.12 26-Jun-2000  kleink branches: 1.12.2;
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 25-Oct-1999  thorpej branches: 1.10.6;
Add register prefixes.
 1.9 18-Oct-1999  itohy ELF PIC support.
 1.8 02-May-1999  kleink branches: 1.8.2;
Call cerror through the PLT.
 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 01-Jul-1998  thorpej Use _C_LABEL() to generate C labels.
 1.5 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.4 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.3 27-Jan-1994  mycroft branches: 1.3.2;
Separate curbrk and mincrk.
 1.2 27-Jan-1994  mycroft Random cleanup.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.3.2.1 05-Aug-1994  mycroft update from trunk
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.10.6.1 22-Aug-2000  kleink Pull up revs. 1.11-1.12 (approved by thorpej):
Add internal names for brk(), sbrk() and fork().
 1.12.2.1 08-Oct-2001  nathanw Catch up to -current.
 1.14.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.14.56.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.8 18-Jan-2003  thorpej Merge the nathanw_sa branch.
 1.7 25-Oct-1999  thorpej branches: 1.7.8;
Add register prefixes.
 1.6 18-Oct-1999  itohy ELF PIC support.
 1.5 01-Jul-1998  thorpej branches: 1.5.4;
Use _C_LABEL() to generate C labels.
 1.4 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.3 27-Jan-1994  mycroft Random cleanup.
 1.2 18-Dec-1993  jtc Fix bug #24 by renaming _logname_valid to __logname_valid.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.5.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.8.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 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.3 16-Jul-2013  matt Add END(func)
 1.2 28-Apr-2008  martin branches: 1.2.4; 1.2.8; 1.2.28;
Remove clause 3 and 4 from TNF licenses
 1.1 07-Jul-2000  itohy branches: 1.1.34;
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.1.34.1 18-May-2008  yamt sync with head.
 1.2.28.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 shmat.S was added on branch christos-time_t on 2008-04-28 20:22:57 +0000
 1.2.4.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 09-Mar-2006  christos Welcome to the new compat 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 09-Mar-2006  christos Welcome to the new compat 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 05-Oct-1998  thorpej Update for signal changes.
 1.7 09-Mar-2006  christos Welcome to the new compat layout.
 1.6 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.5 25-Oct-1999  thorpej Add register prefixes.
 1.4 02-Dec-1998  thorpej branches: 1.4.4;
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 05-Oct-1998  thorpej Update for signal changes.
 1.2 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.4.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.11 09-Mar-2006  christos Welcome to the new compat 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 02-May-1999  kleink branches: 1.8.2;
Call cerror through the PLT.
 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() sigaction(), sigpending(),
sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
 1.5 05-Oct-1998  thorpej Update for signal changes.
 1.4 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.3 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.2 27-Jan-1994  mycroft branches: 1.2.2;
Random cleanup.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.2.2.1 05-Aug-1994  mycroft update from trunk
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.14 09-Mar-2006  christos Welcome to the new compat layout.
 1.13 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.12 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.11 30-May-2002  thorpej Make this work with an ISO C preprocessor.
 1.10 22-Jan-2002  aymeric Redefine ENTRY properly for both ELF and a.out
Now we can compile profiled m68k programs that use libc.
 1.9 28-Nov-2000  scw branches: 1.9.2;
Add missing register prefixes.
 1.8 02-May-1999  kleink Call cerror through the PLT.
 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() sigaction(), sigpending(),
sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
 1.5 05-Oct-1998  thorpej Update for signal changes.
 1.4 30-Nov-1996  jtc PROF -> GPROF
 1.3 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.2 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.1 25-Nov-1993  paulus branches: 1.1.2;
Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.1.2.1 05-Aug-1994  mycroft update from trunk
 1.9.2.2 21-Jun-2002  nathanw Catch up to -current.
 1.9.2.1 28-Jan-2002  nathanw Catch up to -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.11 09-Mar-2006  christos Welcome to the new compat 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 25-Oct-1999  thorpej Add register prefixes.
 1.8 02-May-1999  kleink branches: 1.8.2;
Call cerror through the PLT.
 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() sigaction(), sigpending(),
sigprocmask(), sigreturn(), and sigsuspend(), and direct the user to
include <signal.h> to generate the correct reference.
 1.5 05-Oct-1998  thorpej Update for signal changes.
 1.4 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.3 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.2 27-Jan-1994  mycroft branches: 1.2.2;
Random cleanup.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.2.2.1 05-Aug-1994  mycroft update from trunk
 1.8.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.10 18-Apr-2020  thorpej Rename "syscall" to "_syscall" and provide "syscall" as a weak alias.
 1.9 24-Jul-2013  matt branches: 1.9.26;
Only jump to CERROR if carry is set, not clear.
 1.8 16-Jul-2013  matt Use SYSTRAP
Use a branch for CERROR (avoid the PLT)
 1.7 07-Aug-2003  agc branches: 1.7.56; 1.7.62;
Move UCB-licensed code from 4-clause to 3-clause licence.

Patches provided by Joel Baker in PR 22280, verified by myself.
 1.6 25-Oct-1999  thorpej Add register prefixes.
 1.5 02-May-1999  kleink branches: 1.5.2;
Call cerror through the PLT.
 1.4 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.3 13-Dec-1995  thorpej New-style RCS ids. Use the RCSID() macro where appropriate.
 1.2 04-Aug-1994  chopps fixed ld.so to properly save all regs when binding PIC functions. We no
longer need the special case (PIC) code to push args when calling cerror.
 1.1 25-Nov-1993  paulus branches: 1.1.2;
Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.
 1.1.2.1 05-Aug-1994  mycroft update from trunk
 1.5.2.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.7.56.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.9.26.1 21-Apr-2020  martin Sync with HEAD
 1.2 01-Mar-1995  mycroft Clean up deleted files.
 1.1 25-Nov-1993  paulus Machine-dependent files for generic m68k machines (copied from hp300),
modified to support shared libraries.

RSS XML Feed