Home | History | Annotate | only in /src/lib/libarch
History log of /src/lib/libarch
RevisionDateAuthorComments
 1.31 24-Nov-2024  riastradh libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.30 23-Jan-2016  christos branches: 1.30.28;
Define _KERNTYPES for things that need it.
 1.29 08-Jun-2015  matt Avoid defining MLIBDIR. Use ${MLIBDIR:Unone} instead.
 1.28 10-Aug-2014  matt branches: 1.28.2;
MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU
 1.27 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.26 18-Jul-2013  matt Use MACHINE_CPU for m68k
 1.25 27-Apr-2013  matt branches: 1.25.2;
Changes for MKCOMPAT for earm.
 1.24 28-Jul-2011  dyoung branches: 1.24.2; 1.24.8;
Put libalpha back.
 1.23 17-Jul-2011  dyoung Don't descend into alpha/.

Up next: fix set lists.
 1.22 13-Dec-2009  mrg rename LD32DIR to MLIBDIR.
 1.21 26-Oct-2008  mrg branches: 1.21.2; 1.21.8;
build libi386 / libsparc in 32 bit mode on amd64 / sparc64, respectively.
 1.20 26-Nov-2002  pk Add a shared library containing sparc version 8 specific multiply, divide and
remainder functions (i.e. .[u]mul, .[u]div, .[u]rem).
 1.19 06-Jul-2002  fvdl Enable building libx86_64
 1.18 30-Mar-2002  thorpej Rename libarm32 -> libarm.
 1.17 26-Mar-2002  fredette Now also build libm68k when MACHINE_ARCH is m68000.
 1.16 28-Jul-2001  bjh21 Build libarm32 on arm26 as well.
 1.15 14-Jul-2001  matt Use libarm32 even on architecture arm
 1.14 26-Feb-2000  thorpej Traverse into alpha/.
 1.13 31-Aug-1999  simonb Makefile: define SHLIB_VERSION_FILE if SRCS defined.
arm32/Makefile.inc: don't need to set .PATH
i386/Makefile.inc: don't need to set .PATH, SHLIB_VERSION_FILE

Fixes PR lib/8298 from Richard Earnshaw in a more general way.
 1.12 10-Jun-1999  simonb Include all arch-dependant Makefile.inc's. In each arch-dependent
Makefile.inc, always add the man pages for that directory, and only
specify a SRCS= line (at whatever else is needed for that arch) inside
a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk>
only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
 1.11 05-Mar-1999  drochner make the mipse[lb]->mips translation really work
(harmless here because there is no libmips anyway)
 1.10 03-Mar-1999  jonathan Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
 1.9 09-Feb-1999  is Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.8 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.7 02-Jul-1994  cgd kill strange inclusion, just do lint and obj targets by hand
 1.6 26-Feb-1994  cgd do something better with obj: target, so happy in multiplatform env's.
 1.5 05-Dec-1993  cgd Add dummy install target for machines which don't have this
 1.4 20-Sep-1993  brezak And a dummy for depend too.
 1.3 20-Sep-1993  brezak Add dummy targets for clean, cleandir, and obj
 1.2 20-Sep-1993  brezak Don't barf if there is not arch dep library for this arch.
 1.1 19-Sep-1993  brezak Add architecture dependant library.
 1.21.8.1 14-Dec-2009  mrg s/LD32DIR/MLIBDIR/ in most places, also look for CSU_MACHINE_ARCH.
 1.21.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.24.8.2 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.24.8.1 23-Jun-2013  tls resync from head
 1.24.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.25.2.1 23-Jul-2013  riastradh sync with HEAD
 1.28.2.1 10-Jun-2015  snj Pull up following revision(s) (requested by martin in ticket #837):
common/lib/libc/arch/arm/features.mk: revision 1.2
lib/libarch/Makefile: revision 1.29
lib/libarch/i386/Makefile.inc: revision 1.15
lib/libarch/x86_64/Makefile.inc: revision 1.5
share/mk/bsd.gcc.mk: revision 1.11
share/mk/bsd.prog.mk: revision 1.292
Make LIBCRT* depend on the right files if MLIBDIR from MKCOMPAT is defined.
Use ${COPT} so it properly emits the right features doing MKCOMPAT
Avoid defining MLIBDIR. Use ${MLIBDIR:Unone} instead.
 1.30.28.1 02-Aug-2025  perseant Sync with HEAD
 1.5 10-Jun-1999  simonb Include all arch-dependant Makefile.inc's. In each arch-dependent
Makefile.inc, always add the man pages for that directory, and only
specify a SRCS= line (at whatever else is needed for that arch) inside
a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk>
only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
 1.4 05-Mar-1999  drochner make the mipse[lb]->mips translation really work
(harmless here because there is no libmips anyway)
 1.3 03-Mar-1999  jonathan Makefile ${MACHINE_ARCH} changes for mips{eb,el}, as suggested by
Izumi Tsutsui <tsutsui@ceres.dti.ne.jp>
 1.2 09-Feb-1999  is Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.1 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.3 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.2 28-Nov-1995  jtc merge in changes from 1.1 release branch
 1.1 08-Nov-1993  cgd branches: 1.1.4;
add shlib_version file, with version 0.0
 1.1.4.1 20-Oct-1995  pk Update minor version, per John Kohl (PR#1649).
 1.5 28-May-1997  thorpej This isn't supposed to be here... looks like Mr. Jacob is experiencing
CVS lossage that keeps this directory from being properly pruned.
 1.4 28-May-1997  mjacob missing 'objs' target.
 1.3 28-May-1997  mjacob A stub makefile has to hang around (as far as *I* can tell) for makes to
continue to work.
 1.2 30-Mar-1996  cgd Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to. (There are serious problems
with doing this, on multiprocessors.)
 1.1 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.3 26-Feb-2000  thorpej Oops, forgot this file.
 1.2 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.1 20-Dec-1995  cgd makefile for alpha libarch
 1.1 24-Nov-2024  riastradh branches: 1.1.4;
libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 24-Nov-2024  perseant file alpha.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:29 +0000
 1.4 22-Mar-2012  he Make 'i' unsigned to avoid signed/unsigned comparison warnings from lint.
 1.3 28-Apr-2008  martin branches: 1.3.4;
Remove clause 3 and 4 from TNF licenses
 1.2 17-Jul-2001  thorpej branches: 1.2.32;
De-lint, cleanup.
 1.1 26-Feb-2000  thorpej Userland interface to the bus window translation support now present
in the alpha sysarch(2). In a perfect world, these would go away in
favor of a generic bus space mapping framework, but XFree86 is a long
ways away from being able to use one.
 1.2.32.1 18-May-2008  yamt sync with head.
 1.3.4.1 17-Apr-2012  yamt sync with head
 1.2 30-Mar-1996  cgd Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to. (There are serious problems
with doing this, on multiprocessors.)
 1.1 20-Dec-1995  cgd internal libalpha header, and functions to init and read from the
memory mapped clock.
 1.2 30-Mar-1996  cgd Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to. (There are serious problems
with doing this, on multiprocessors.)
 1.1 20-Dec-1995  cgd internal libalpha header, and functions to init and read from the
memory mapped clock.
 1.3 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.2 17-Jul-2001  thorpej branches: 1.2.32;
De-lint, cleanup.
 1.1 26-Feb-2000  thorpej Userland interface to the bus window translation support now present
in the alpha sysarch(2). In a perfect world, these would go away in
favor of a generic bus space mapping framework, but XFree86 is a long
ways away from being able to use one.
 1.2.32.1 18-May-2008  yamt sync with head.
 1.8 20-Feb-2017  rin Fix -O0 build; <machine/bwx.h> should be included after ".arch ev56" pseudo-op.
 1.7 09-Jan-2013  he branches: 1.7.12; 1.7.16;
Include <machine/alpha_cpu.h> for alpha_mb() definition.
 1.6 22-Mar-2012  he branches: 1.6.2;
Add a cast of the shift count to int32_t, so that we don't try
to do int32_t << long, since ANSI C doesn't perform "balancing"
before the shift operation according to lint. Should not make a
difference, offset is limited to 0..3 anyway.
 1.5 28-Apr-2008  martin branches: 1.5.4;
Remove clause 3 and 4 from TNF licenses
 1.4 05-Mar-2007  mrg branches: 1.4.10;
fix more caddr_t -> void * fallout.
 1.3 24-Dec-2005  perry Remove leading __ from __(const|inline|signed|volatile) -- it is obsolete.
 1.2 17-Jul-2001  thorpej De-lint, cleanup.
 1.1 26-Feb-2000  thorpej Userland interface to the bus window translation support now present
in the alpha sysarch(2). In a perfect world, these would go away in
favor of a generic bus space mapping framework, but XFree86 is a long
ways away from being able to use one.
 1.4.10.1 18-May-2008  yamt sync with head.
 1.5.4.2 23-Jan-2013  yamt sync with head
 1.5.4.1 17-Apr-2012  yamt sync with head
 1.6.2.1 25-Feb-2013  tls resync with head
 1.7.16.1 21-Apr-2017  bouyer Sync with HEAD
 1.7.12.1 20-Mar-2017  pgoyette Sync with HEAD
 1.5 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.4 19-Jul-2002  mycroft branches: 1.4.30;
Fix multiple bugs:
* Select dense or sparse space based on the prefetchable flag, like the kernel
does. In particular, non-prefetchable mappings are forced to sparse space.
* If no window is matched, return MAP_FAILED, rather than falling through and
blowing chunks.
* Ignore addr_shift (set it to 0) for dense mappings.
 1.3 17-Jul-2001  thorpej De-lint, cleanup.
 1.2 30-Jun-2000  simonb Pass the abst to alpha_pci_mem_unmap() so that the real size of the
mapped area can be unmapped.
 1.1 26-Feb-2000  thorpej branches: 1.1.4;
Userland interface to the bus window translation support now present
in the alpha sysarch(2). In a perfect world, these would go away in
favor of a generic bus space mapping framework, but XFree86 is a long
ways away from being able to use one.
 1.1.4.1 03-Jul-2000  thorpej Pull up rev. 1.2:
Pass the abst to alpha_pci_mem_unmap() so that the real size of the
mapped area can be unmapped.
 1.4.30.1 18-May-2008  yamt sync with head.
 1.2 30-Mar-1996  cgd Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to. (There are serious problems
with doing this, on multiprocessors.)
 1.1 20-Dec-1995  cgd internal libalpha header, and functions to init and read from the
memory mapped clock.
 1.2 30-Mar-1996  cgd Remove alpha 'mmclock' memory-mapped clock interfaces. In retrospect,
while it's sort of nice, it's sufficiently hard to do this properly
for the general case that, in the long run, it probably won't make sense
to support in the way i was planning to. (There are serious problems
with doing this, on multiprocessors.)
 1.1 20-Dec-1995  cgd internal libalpha header, and functions to init and read from the
memory mapped clock.
 1.2 10-Sep-2001  simonb Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
some cases).
 1.1 26-Feb-2000  thorpej Userland interface to the bus window translation support now present
in the alpha sysarch(2). In a perfect world, these would go away in
favor of a generic bus space mapping framework, but XFree86 is a long
ways away from being able to use one.
 1.2 10-Aug-2014  matt MKCOMPAT fixes for when compat MACHINE_CPU != normal MACHINE_CPU
 1.1 30-Mar-2002  thorpej branches: 1.1.62;
Rename libarm32 -> libarm.
 1.1.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1 24-Nov-2024  riastradh branches: 1.1.4;
libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 24-Nov-2024  perseant file arm.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:29 +0000
 1.3 13-Feb-2004  wiz Uppercase CPU.
 1.2 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.1 30-Mar-2002  thorpej Rename libarm32 -> libarm.
 1.2 13-Jan-2017  christos fix compilation
 1.1 30-Mar-2002  thorpej branches: 1.1.80;
Rename libarm32 -> libarm.
 1.1.80.1 20-Mar-2017  pgoyette Sync with HEAD
 1.6 16-Jan-2014  matt Use uintptr_t & size_t instead of u_int and int for arm_sync_icache.
 1.5 13-Feb-2004  wiz branches: 1.5.54; 1.5.60;
Uppercase CPU.
 1.4 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.3 02-Oct-2002  wiz Correct spelling of 'synchronized'.
 1.2 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.1 30-Mar-2002  thorpej Rename libarm32 -> libarm.
 1.5.60.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.5.54.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-Jan-2014  matt Use uintptr_t & size_t instead of u_int and int for arm_sync_icache.
 1.1 30-Mar-2002  thorpej branches: 1.1.56; 1.1.62;
Rename libarm32 -> libarm.
 1.1.62.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.1.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.1 30-Mar-2002  thorpej Rename libarm32 -> libarm.
 1.2 10-Jun-1999  simonb Include all arch-dependant Makefile.inc's. In each arch-dependent
Makefile.inc, always add the man pages for that directory, and only
specify a SRCS= line (at whatever else is needed for that arch) inside
a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk>
only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
 1.1 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.17 12-Aug-2017  maxv All things considered, remove the i386_pmc API. I deprecated it some
months ago, and clearly no one should be using it.

(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
 1.16 12-Aug-2017  maxv Remove the i386_vm86 API (instead of just deprecating it). This API is not
available anymore, and any binary using it won't function correctly.
 1.15 08-Jun-2015  matt Avoid defining MLIBDIR. Use ${MLIBDIR:Unone} instead.
 1.14 13-Dec-2009  mrg branches: 1.14.24;
rename LD32DIR to MLIBDIR.
 1.13 26-Oct-2008  mrg branches: 1.13.2; 1.13.8;
build libi386 / libsparc in 32 bit mode on amd64 / sparc64, respectively.
 1.12 12-Apr-2006  drochner first step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove their manpages
 1.11 10-Nov-2001  gmcgarry Add and install new pages.
 1.10 10-Sep-2001  fvdl Add frontend for i386_mtrr_get/set system calls.
 1.9 13-Sep-2000  thorpej Stubs for the i386 performance counter interface.
 1.8 31-Aug-1999  simonb Makefile: define SHLIB_VERSION_FILE if SRCS defined.
arm32/Makefile.inc: don't need to set .PATH
i386/Makefile.inc: don't need to set .PATH, SHLIB_VERSION_FILE

Fixes PR lib/8298 from Richard Earnshaw in a more general way.
 1.7 10-Jun-1999  simonb Include all arch-dependant Makefile.inc's. In each arch-dependent
Makefile.inc, always add the man pages for that directory, and only
specify a SRCS= line (at whatever else is needed for that arch) inside
a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk>
only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
 1.6 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.5 21-Feb-1996  jtk add i386_vm86 sysarch() stub and documentation
 1.4 15-Oct-1995  mycroft branches: 1.4.2;
Add new sysarch calls, and fix #includes.
 1.3 22-Dec-1994  cgd specify man pages the new way.
 1.2 21-Sep-1993  brezak Add a man page for i386_get_ldt.
 1.1 19-Sep-1993  brezak syscalls for setting a per-process LDT.
 1.4.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.4.2.1 15-Oct-1995  mycroft file Makefile.inc was added on branch netbsd-1-1 on 1995-10-15 02:25:08 +0000
 1.13.8.1 14-Dec-2009  mrg s/LD32DIR/MLIBDIR/ in most places, also look for CSU_MACHINE_ARCH.
 1.13.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.14.24.1 10-Jun-2015  snj Pull up following revision(s) (requested by martin in ticket #837):
common/lib/libc/arch/arm/features.mk: revision 1.2
lib/libarch/Makefile: revision 1.29
lib/libarch/i386/Makefile.inc: revision 1.15
lib/libarch/x86_64/Makefile.inc: revision 1.5
share/mk/bsd.gcc.mk: revision 1.11
share/mk/bsd.prog.mk: revision 1.292
Make LIBCRT* depend on the right files if MLIBDIR from MKCOMPAT is defined.
Use ${COPT} so it properly emits the right features doing MKCOMPAT
Avoid defining MLIBDIR. Use ${MLIBDIR:Unone} instead.
 1.1 24-Nov-2024  riastradh branches: 1.1.4;
libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 24-Nov-2024  perseant file i386.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:29 +0000
 1.16 12-Apr-2006  drochner first step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove their manpages
 1.15 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.14 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.13 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.12 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.11 10-Nov-2001  wiz Sort sections.
 1.10 04-Jul-2001  kleink Use the architecture name in the document title's volume tag.
 1.9 20-Dec-1999  hubertf Document that bit #0 is the LSB of the first longword in the array.
Pointed out by Matt Thomas.
 1.8 02-Jul-1999  simonb branches: 1.8.4;
More trailing white space.
 1.7 22-Mar-1999  garbled Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.6 05-Feb-1998  perry add LIBRARY section to man page
 1.5 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.4 26-Apr-1997  tls document kernel changes
 1.3 27-Feb-1996  jtc Copyright assigned to the NetBSD Foundation
 1.2 05-Jan-1996  pk Updates per John Kohl (PR#1650).
 1.1 15-Oct-1995  mycroft branches: 1.1.2;
Add new sysarch calls, and fix #includes.
 1.1.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.1.2.1 15-Oct-1995  mycroft file i386_get_ioperm.2 was added on branch netbsd-1-1 on 1995-10-15 02:29:10 +0000
 1.8.4.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.7 21-Mar-2012  christos c89 prototypes
 1.6 28-Apr-2008  martin branches: 1.6.4;
Remove clause 3 and 4 from TNF licenses
 1.5 12-Apr-2006  drochner branches: 1.5.18;
second step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove declarations from public headers
(it still needs to be built for binary compatibility; one might consider
establishing a separate "compat" department as libc does, but these
little wrapper functions aren't worth the effort yet)
 1.4 25-Feb-1998  perry change second parm of sysarch() from char * to void *
 1.3 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.2 27-Feb-1996  jtc Copyright assigned to the NetBSD Foundation
 1.1 15-Oct-1995  mycroft branches: 1.1.2;
Add new sysarch calls, and fix #includes.
 1.1.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.1.2.1 15-Oct-1995  mycroft file i386_get_ioperm.c was added on branch netbsd-1-1 on 1995-10-15 02:29:11 +0000
 1.5.18.1 18-May-2008  yamt sync with head.
 1.6.4.1 17-Apr-2012  yamt sync with head
 1.14 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 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 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.11 02-Oct-2002  wiz architecture, not architecure, and EACCES, not EACESS.
 1.10 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.9 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.8 04-Jul-2001  kleink Use the architecture name in the document title's volume tag.
 1.7 03-Jul-1999  kleink Tyop; from Jim Spath <jspath@bcpl.net> in PR port-i386/7900.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 22-Mar-1999  garbled Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.4 05-Feb-1998  perry add LIBRARY section to man page
 1.3 05-Jan-1996  pk Updates per John Kohl (PR#1650).
 1.2 09-Oct-1993  cgd correct directory name in man page
 1.1 21-Sep-1993  brezak Add a man page for i386_get_ldt.
 1.7 21-Mar-2012  christos c89 prototypes
 1.6 02-Jul-1999  simonb branches: 1.6.64;
More trailing white space.
 1.5 25-Feb-1998  perry change second parm of sysarch() from char * to void *
 1.4 09-Jan-1998  perry RCS Id Police.
 1.3 15-Oct-1995  mycroft branches: 1.3.2;
Add new sysarch calls, and fix #includes.
 1.2 06-May-1995  mycroft Use global definitions of i386_[gs]et_ldt_args.
 1.1 19-Sep-1993  brezak syscalls for setting a per-process LDT.
 1.3.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.3.2.1 15-Oct-1995  mycroft file i386_get_ldt.c was added on branch netbsd-1-1 on 1995-10-15 02:25:11 +0000
 1.6.64.1 17-Apr-2012  yamt sync with head
 1.13 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.12 07-Oct-2004  snj branches: 1.12.24;
Bring over the changes from revision 1.7 of
lib/libarch/x86_64/x86_64_get_mtrr.2 (grammar fixes). Requested by
Nicolas Joly in PR lib/27172.
 1.11 07-May-2003  wiz s/busses/buses/
 1.10 02-May-2003  gmcgarry section 2, not 3.
 1.9 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.8 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.7 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.6 20-Feb-2002  gmcgarry Explain why you'd use these functions. Some formatting cleanup.
 1.5 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.4 10-Nov-2001  wiz Fix a formatting glitch, and remove a space while I'm here.
 1.3 10-Nov-2001  fvdl Make this a bit more verbose.
 1.2 10-Nov-2001  wiz Uppercase Dt, drop a trailing space.
 1.1 10-Nov-2001  gmcgarry Add and install new pages.
 1.12.24.1 18-May-2008  yamt sync with head.
 1.17 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.16 13-Apr-2006  wiz branches: 1.16.18;
Bump date for previous.
 1.15 12-Apr-2006  drochner first step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove their manpages
 1.14 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.13 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.12 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.11 10-Nov-2001  wiz Sort SEE ALSO.
 1.10 04-Jul-2001  kleink Use the architecture name in the document title's volume tag.
 1.9 05-Jul-2000  msaitoh remove extra period in SEE ALL section
 1.8 22-Mar-1999  garbled Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.7 05-Feb-1998  perry add LIBRARY section to man page
 1.6 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.5 26-Apr-1997  tls document kernel changes
 1.4 28-May-1996  fvdl Fix typo (PR 2461)
 1.3 27-Feb-1996  jtc Copyright assigned to the NetBSD Foundation
 1.2 05-Jan-1996  pk Updates per John Kohl (PR#1650).
 1.1 15-Oct-1995  mycroft branches: 1.1.2;
Add new sysarch calls, and fix #includes.
 1.1.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.1.2.1 15-Oct-1995  mycroft file i386_iopl.2 was added on branch netbsd-1-1 on 1995-10-15 02:29:12 +0000
 1.16.18.1 18-May-2008  yamt sync with head.
 1.6 21-Mar-2012  christos c89 prototypes
 1.5 28-Apr-2008  martin branches: 1.5.4;
Remove clause 3 and 4 from TNF licenses
 1.4 25-Feb-1998  perry branches: 1.4.42;
change second parm of sysarch() from char * to void *
 1.3 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.2 27-Feb-1996  jtc Copyright assigned to the NetBSD Foundation
 1.1 15-Oct-1995  mycroft branches: 1.1.2;
Add new sysarch calls, and fix #includes.
 1.1.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.1.2.1 15-Oct-1995  mycroft file i386_iopl.c was added on branch netbsd-1-1 on 1995-10-15 02:29:13 +0000
 1.4.42.1 18-May-2008  yamt sync with head.
 1.5.4.1 17-Apr-2012  yamt sync with head
 1.1 10-Sep-2001  fvdl Add frontend for i386_mtrr_get/set system calls.
 1.5 12-Aug-2017  maxv All things considered, remove the i386_pmc API. I deprecated it some
months ago, and clearly no one should be using it.

(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
 1.4 08-Mar-2017  maxv Deprecate the pmc functions in libi386. The parameters will be updated,
and we are not interested in maintaining this anyway. Now i386's pmc
interface is opaque, which is good.
 1.3 13-Sep-2000  thorpej branches: 1.3.80; 1.3.84;
param.h -> types.h
 1.2 13-Sep-2000  thorpej Don't need <machine/pmc.h>. From enami@netbsd.org.
 1.1 13-Sep-2000  thorpej Stubs for the i386 performance counter interface.
 1.3.84.1 21-Apr-2017  bouyer Sync with HEAD
 1.3.80.1 20-Mar-2017  pgoyette Sync with HEAD
 1.13 12-Aug-2017  maxv All things considered, remove the i386_pmc API. I deprecated it some
months ago, and clearly no one should be using it.

(reminder: our new PMCs use the same sysarch, but the arguments are
opaque and not compatible with the previous versions)
 1.12 06-Aug-2017  maxv Deprecate.
 1.11 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.10 26-Dec-2005  perry branches: 1.10.18;
u_intN_t -> uintN_t
 1.9 27-Jun-2003  wiz This man page is in section 2, not 3.
 1.8 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.7 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.6 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.5 07-Jun-2002  wiz Remove duplicate .Pp.
 1.4 07-Jun-2002  gmcgarry Add descriptions for types and flags.
 1.3 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.2 10-Nov-2001  wiz Uppercase Dt, drop a space and a comma.
 1.1 10-Nov-2001  gmcgarry Add and install new pages.
 1.10.18.1 18-May-2008  yamt sync with head.
 1.7 21-Mar-2012  christos c89 prototypes
 1.6 28-Apr-2008  martin branches: 1.6.4;
Remove clause 3 and 4 from TNF licenses
 1.5 12-Apr-2006  drochner branches: 1.5.18;
second step to retire the useless i386_set_ioperm/i386_get_ioperm
calls: remove declarations from public headers
(it still needs to be built for binary compatibility; one might consider
establishing a separate "compat" department as libc does, but these
little wrapper functions aren't worth the effort yet)
 1.4 25-Feb-1998  perry change second parm of sysarch() from char * to void *
 1.3 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.2 27-Feb-1996  jtc Copyright assigned to the NetBSD Foundation
 1.1 15-Oct-1995  mycroft branches: 1.1.2;
Add new sysarch calls, and fix #includes.
 1.1.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.1.2.1 15-Oct-1995  mycroft file i386_set_ioperm.c was added on branch netbsd-1-1 on 1995-10-15 02:29:14 +0000
 1.5.18.1 18-May-2008  yamt sync with head.
 1.6.4.1 17-Apr-2012  yamt sync with head
 1.7 21-Mar-2012  christos c89 prototypes
 1.6 02-Jul-1999  simonb branches: 1.6.64;
More trailing white space.
 1.5 25-Feb-1998  perry change second parm of sysarch() from char * to void *
 1.4 09-Jan-1998  perry RCS Id Police.
 1.3 15-Oct-1995  mycroft branches: 1.3.2;
Add new sysarch calls, and fix #includes.
 1.2 06-May-1995  mycroft Use global definitions of i386_[gs]et_ldt_args.
 1.1 19-Sep-1993  brezak syscalls for setting a per-process LDT.
 1.3.2.2 15-Oct-1995  mycroft Add new sysarch calls, and fix #includes.
 1.3.2.1 15-Oct-1995  mycroft file i386_set_ldt.c was added on branch netbsd-1-1 on 1995-10-15 02:25:16 +0000
 1.6.64.1 17-Apr-2012  yamt sync with head
 1.15 12-Aug-2017  maxv Remove the i386_vm86 API (instead of just deprecating it). This API is not
available anymore, and any binary using it won't function correctly.
 1.14 03-Jul-2017  wiz Remove workaround for ancient HTML generation code.
 1.13 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.12 11-Sep-2003  christos branches: 1.12.30;
bump major. i386_vm86 abi change.
 1.11 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.10 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.9 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.8 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.7 04-Jul-2001  kleink Use the architecture name in the document title's volume tag.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 23-Mar-1999  mycroft .Bl/.El cleanup.
 1.4 22-Mar-1999  garbled Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.3 05-Feb-1998  perry add LIBRARY section to man page
 1.2 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.1 21-Feb-1996  jtk add i386_vm86 sysarch() stub and documentation
 1.12.30.1 18-May-2008  yamt sync with head.
 1.11 12-Aug-2017  maxv Remove the i386_vm86 API (instead of just deprecating it). This API is not
available anymore, and any binary using it won't function correctly.
 1.10 21-Mar-2012  christos c89 prototypes
 1.9 26-Oct-2008  mrg branches: 1.9.18;
look for <i386/vm86.h>
 1.8 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.7 11-Sep-2003  christos branches: 1.7.30;
bump major. i386_vm86 abi change.
 1.6 02-Jul-1999  simonb More trailing white space.
 1.5 17-Sep-1998  thorpej Make this build again.
 1.4 25-Feb-1998  perry change second parm of sysarch() from char * to void *
 1.3 03-Feb-1998  perry remove obsolete register declarations
 1.2 30-Jul-1997  jtc Fix files using old TNF copyright notice
 1.1 21-Feb-1996  jtk add i386_vm86 sysarch() stub and documentation
 1.7.30.1 18-May-2008  yamt sync with head.
 1.9.18.1 17-Apr-2012  yamt sync with head
 1.7 12-Aug-2017  maxv Bump - removal of i386_vm86 and i386_pmc.
 1.6 11-Sep-2003  christos bump major. i386_vm86 abi change.
 1.5 10-Sep-2001  simonb Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
some cases).
 1.4 10-Sep-2001  fvdl Add frontend for i386_mtrr_get/set system calls.
 1.3 13-Sep-2000  thorpej Stubs for the i386 performance counter interface.
 1.2 05-Jan-1998  perry RCSID Police.
 1.1 21-Feb-1996  jtk rearrange build structure so different architecture-specific libraries
can have separate shared library versions, by building in the arch
subdirectory.
 1.4 10-Jun-1999  simonb Include all arch-dependant Makefile.inc's. In each arch-dependent
Makefile.inc, always add the man pages for that directory, and only
specify a SRCS= line (at whatever else is needed for that arch) inside
a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk>
only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
 1.3 17-Feb-1999  itohy Add m68k_sync_icache.2.
 1.2 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.1 09-Feb-1999  is Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.10 18-Mar-2014  riastradh Merge riastradh-drm2 to HEAD.
 1.9 18-Jul-2013  matt Use MACHINE_CPU for m68k
 1.8 18-Sep-2002  lukem branches: 1.8.54; 1.8.60; 1.8.66;
minor makefile delint
 1.7 26-Mar-2002  fredette Now also build libm68k when MACHINE_ARCH is m68000.
 1.6 12-Dec-2001  tv Readability cleanups; MKfoo=no -> NOfoo.
 1.5 10-Jun-1999  simonb Include all arch-dependant Makefile.inc's. In each arch-dependent
Makefile.inc, always add the man pages for that directory, and only
specify a SRCS= line (at whatever else is needed for that arch) inside
a ${MACHINE_ARCH} .ifdef. The top-level Makefile includes <bsd.lib.mk>
only if SRCS is defined, and otherwise just includes <bsd.man.mk>.
 1.4 09-Jun-1999  simonb Copied from Makefile,v
 1.3 17-Feb-1999  itohy Add m68k_sync_icache.2.
 1.2 13-Feb-1999  lukem convert from NOxxx= to MKxxx=no.
include <bsd.own.mk> if testing a MKxxx variable.
 1.1 09-Feb-1999  is Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.8.66.1 23-Jul-2013  riastradh sync with HEAD
 1.8.60.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 1.8.54.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 24-Nov-2024  riastradh branches: 1.1.4;
libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 24-Nov-2024  perseant file m68k.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:29 +0000
 1.11 27-Mar-2011  njoly Fix xref, arm32_sync_icache -> arm_sync_icache.
 1.10 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.9 16-Apr-2003  wiz branches: 1.9.30;
Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.8 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.7 08-Feb-2002  ross Generate <>& symbolically. I'm avoiding .../dist/... directories for now.
 1.6 04-Jul-2001  kleink Use the architecture name in the document title's volume tag.
 1.5 05-Jun-2001  wiz Uppercase Dt, and a nit.
 1.4 02-Jul-1999  simonb More trailing white space.
 1.3 13-Apr-1999  kleink Remove blank lines (causing uglified nroff output), and fix a typo.
 1.2 22-Mar-1999  garbled branches: 1.2.2;
Last of the .Os cleanups. .Os is defined in the tmac.doc-common file,
so we shouldn't override it with versions in the manpages. Wheee!
 1.1 09-Feb-1999  is Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.2.2.1 15-Apr-1999  kleink Pull up rev. 1.3; approved by perry.
 1.9.30.1 18-May-2008  yamt sync with head.
 1.4 28-Apr-2008  martin Remove clause 3 and 4 from TNF licenses
 1.3 09-Apr-2000  itohy branches: 1.3.36;
Add missing #. (Hi, is!)
Sigh, libm68k has been useless for more than one year....
 1.2 10-Nov-1999  thorpej Add register prefixes.
 1.1 09-Feb-1999  is branches: 1.1.2; 1.1.6;
Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.1.6.1 27-Dec-1999  wrstuden Pull up to last week's -current.
 1.1.2.1 30-Apr-2000  he Pull up revision 1.3 (via patch, requested by itohy):
Make libm68k work.
 1.3.36.1 18-May-2008  yamt sync with head.
 1.2 10-Sep-2001  simonb Add "Remember to update distrib/sets..." lines (and NetBSD RCS IDs in
some cases).
 1.1 09-Feb-1999  is Provide a minimal instruction/data cache synchronization C binding.
(The function has always been in the kernels as special trap #12).
In response to PR 4951 by Hauke Fath.
 1.1 26-Nov-2002  pk Add a shared library containing sparc version 8 specific multiply, divide and
remainder functions (i.e. .[u]mul, .[u]div, .[u]rem).
 1.5 02-Oct-2013  christos use -Wa,
 1.4 01-Oct-2013  mrg pass -Av8 to the assembler. binutils 2.23 insists on it for v8
instructions.
 1.3 03-May-2008  nakayama branches: 1.3.4; 1.3.26;
libsparc_v8 is designed for overriding libc with ld.so.conf.
So avoid linking against libc.
 1.2 27-Nov-2002  pk branches: 1.2.30;
Don't build normal and profile archives.
 1.1 26-Nov-2002  pk Add a shared library containing sparc version 8 specific multiply, divide and
remainder functions (i.e. .[u]mul, .[u]div, .[u]rem).
 1.2.30.1 18-May-2008  yamt sync with head.
 1.3.26.1 20-Aug-2014  tls Rebase to HEAD as of a few days ago.
 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 09-Jan-2003  mrg this is a sparc file not an i386 file ... correct a comment.
 1.1 26-Nov-2002  pk Add a shared library containing sparc version 8 specific multiply, divide and
remainder functions (i.e. .[u]mul, .[u]div, .[u]rem).
 1.3 11-Sep-2023  uwe sparc_v8.S: fix v8 .mul/.umul versions to conform to psABI

Both .mul and .umul are defined to return the most significant 32 bits
of the result in %o1, but v8 multiplication instructions put them in
%y. Move them to %o1. Nothing in the gcc generated code depends on
this, but hand-written assembly can rely on this and e.g. Self does.
 1.2 22-Sep-2015  joerg Drop .proc. It is ignored by GNU as anyway.
 1.1 26-Nov-2002  pk Add a shared library containing sparc version 8 specific multiply, divide and
remainder functions (i.e. .[u]mul, .[u]div, .[u]rem).
 1.1 24-Nov-2024  riastradh branches: 1.1.4;
libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 24-Nov-2024  perseant file sparc_v8.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:30 +0000
 1.5 08-Jun-2015  matt Avoid defining MLIBDIR. Use ${MLIBDIR:Unone} instead.
 1.4 13-Dec-2009  mrg branches: 1.4.24;
rename LD32DIR to MLIBDIR.
 1.3 26-Oct-2008  mrg branches: 1.3.2; 1.3.8;
build libi386 / libsparc in 32 bit mode on amd64 / sparc64, respectively.
 1.2 04-Jul-2002  fvdl Add and enable x86_64_iopl
 1.1 18-Jun-2002  fvdl libarch for x86_64, mtrr only for now. This must later be fixed so
that code is shared with i386.
 1.3.8.1 14-Dec-2009  mrg s/LD32DIR/MLIBDIR/ in most places, also look for CSU_MACHINE_ARCH.
 1.3.2.1 06-Jan-2011  riz Apply patch (requested by mrg in ticket #1499):

src/compat version 2. this allows building any number of alternate
library / program target ABIs. rather than duplicating the list of
subdirs and Makefiles to build, it re-traverses the necessary ones.
details:
- add support for MAKEDIRTARGETENV to share/mk
- renames LD32DIR to MLIBDIR
- fixes library builds for some subdirs (more was built than needed)
- fixes /bin & /sbin apps in compat mode
- reduces complexity in src/compat and the rest of the tree
- updates ldd netbsd32 support
 1.4.24.1 10-Jun-2015  snj Pull up following revision(s) (requested by martin in ticket #837):
common/lib/libc/arch/arm/features.mk: revision 1.2
lib/libarch/Makefile: revision 1.29
lib/libarch/i386/Makefile.inc: revision 1.15
lib/libarch/x86_64/Makefile.inc: revision 1.5
share/mk/bsd.gcc.mk: revision 1.11
share/mk/bsd.prog.mk: revision 1.292
Make LIBCRT* depend on the right files if MLIBDIR from MKCOMPAT is defined.
Use ${COPT} so it properly emits the right features doing MKCOMPAT
Avoid defining MLIBDIR. Use ${MLIBDIR:Unone} instead.
 1.1 18-Jun-2002  fvdl libarch for x86_64, mtrr only for now. This must later be fixed so
that code is shared with i386.
 1.1 24-Nov-2024  riastradh branches: 1.1.4;
libarch: Add expected symbols list.

PR lib/58838: shared libraries in base should all have expsym lists
 1.1.4.2 02-Aug-2025  perseant Sync with HEAD
 1.1.4.1 24-Nov-2024  perseant file x86_64.expsym was added on branch perseant-exfatfs on 2025-08-02 05:54:30 +0000
 1.8 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.7 13-Mar-2004  wiz branches: 1.7.30;
Two grammar fixes from jmc@openbsd.
 1.6 27-Jun-2003  wiz This man page is in section 2, not 3.
 1.5 07-May-2003  wiz s/busses/buses/
 1.4 16-Apr-2003  wiz Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.3 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.2 01-Oct-2002  wiz New sentence, new line. From Robert Elz.
 1.1 18-Jun-2002  fvdl libarch for x86_64, mtrr only for now. This must later be fixed so
that code is shared with i386.
 1.7.30.1 18-May-2008  yamt sync with head.
 1.5 30-Apr-2008  martin Convert TNF licenses to new 2 clause variant
 1.4 16-Apr-2003  wiz branches: 1.4.30;
Use
.In header.h
instead of
.Fd #include \*[Lt]header.h\*[Gt]
Much easier to read and write, and supported by groff for ages.
Okayed by ross.
 1.3 01-Oct-2002  wiz \-1 instead of -1, and .Dv NULL.
 1.2 04-Jul-2002  fvdl This is the x86_64 version, not i386.
 1.1 04-Jul-2002  fvdl Add and enable x86_64_iopl
 1.4.30.1 18-May-2008  yamt sync with head.
 1.3 12-Jan-2017  maya replace old style function declaration
 1.2 28-Apr-2008  martin branches: 1.2.44;
Remove clause 3 and 4 from TNF licenses
 1.1 04-Jul-2002  fvdl branches: 1.1.30;
Add and enable x86_64_iopl
 1.1.30.1 18-May-2008  yamt sync with head.
 1.2.44.1 20-Mar-2017  pgoyette Sync with HEAD
 1.1 18-Jun-2002  fvdl libarch for x86_64, mtrr only for now. This must later be fixed so
that code is shared with i386.

RSS XML Feed