Go to file
rin 3a564f248f 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.
2020-05-31 11:43:37 +00:00
bin fix reversed test. 2020-05-22 14:54:30 +00:00
common Add m68k assembler version of __muldi3(). 2020-05-31 11:43:37 +00:00
compat 1. All Makefiles that use ARM_APCS_FLAGS add -marm unconditionally and 2019-10-24 18:46:20 +00:00
crypto delete previous and fix bug instead. 2020-05-29 12:15:30 +00:00
dist/pf Externalize variables owned logically by pf_ruleset.c 2020-04-22 23:40:40 +00:00
distrib Make libuv private, requested by joerg@ 2020-05-30 20:47:58 +00:00
doc evbarm: Add install media for earmv7hf and aarch64. 2020-05-28 20:29:21 +00:00
etc Make libuv private, requested by joerg@ 2020-05-30 20:47:58 +00:00
external Don't define psl as common symbol, move it into the only file using it. 2020-05-30 23:52:09 +00:00
extsrc
games Heads up on Bell patents 2020-05-18 20:19:08 +00:00
include Avoid depending on namespace pollution in stdlib.h. 2020-05-26 21:49:29 +00:00
lib Add m68k assembler version of __muldi3(). 2020-05-31 11:43:37 +00:00
libexec new binutils/gcc started emitting R_PPC_UADDR32 reloc entries, so for now 2020-05-24 02:33:11 +00:00
regress We have USER_LDT tests in ATF, remove the ones from regress. 2020-04-22 16:24:15 +00:00
rescue smb is no more. 2020-04-04 17:57:16 +00:00
sbin Add -g to usage. 2020-05-24 21:02:12 +00:00
share Make libuv private, requested by joerg@ 2020-05-30 20:47:58 +00:00
sys Add m68k assembler version of __muldi3(). 2020-05-31 11:43:37 +00:00
tests Fix alpha build (relocation truncated to fit: GPREL16 against symbol ...) 2020-05-26 18:52:29 +00:00
tools tools: Build tic with full fat terminfo 2020-04-05 12:31:39 +00:00
usr.bin Update sysctl key in netstat(1) 2020-05-27 05:59:16 +00:00
usr.sbin Avoid running of the end of the array if a file cannot be opened. 2020-05-31 06:17:23 +00:00
BUILDING Fix a typo 2019-05-08 14:03:57 +00:00
Makefile automatically remove old debug files for modules. 2020-05-15 16:34:44 +00:00
Makefile.inc
README.md Use first-level heading for "NetBSD" title in README.md 2020-01-10 12:33:28 +00:00
UPDATING note GCC 8.4 may need some cleaning. 2020-03-11 21:07:40 +00:00
build.sh Add missing MACHINE_ARCH=earmv5hf{,eb} for evbarm. 2020-05-24 04:55:53 +00:00

README.md

NetBSD

NetBSD is a free, fast, secure, and highly portable Unix-like Open Source operating system. It is available for a wide range of platforms, from large-scale servers and powerful desktop systems to handheld and embedded devices.

Building

You can cross-build NetBSD from most UNIX-like operating systems. To build for amd64 (x86_64), in the src directory:

./build.sh -U -u -j4 -m amd64 -O ~/obj release

Additional build information available in the BUILDING file.

Binaries

Testing

On a running NetBSD system:

cd /usr/tests; atf-run | atf-report

Troubleshooting

Latest sources

To fetch the main CVS repository:

cvs -d anoncvs@anoncvs.NetBSD.org:/cvsroot checkout -P src

To work in the Git mirror, which is updated every few hours from CVS:

git clone https://github.com/NetBSD/src.git