History log of /openbsd-current/sys/lib/libkern/bcopy.c
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: OPENBSD_6_1_BASE OPENBSD_6_2_BASE
# 1.2 24-Jan-2017 kettenis

In preparation of compiling our kernels with -ffreestanding, explicitly map
a few performance-critical functions to compiler builtins. Since the
builtins supported by gcc3, gcc4 and clang are not the same, there are
(unfortunately) some compiler checks to make sure we only do the mapping
for builtins that are actually supported by the compiler.

ok jca@, tom@, guenther@


Revision tags: OPENBSD_5_4_BASE OPENBSD_5_5_BASE OPENBSD_5_6_BASE OPENBSD_5_7_BASE OPENBSD_5_8_BASE OPENBSD_5_9_BASE OPENBSD_6_0_BASE
# 1.1 13-Jun-2013 deraadt

take libc bcopy, gut the #ifdefs for other modes, and place it here.
Now deficient architectures can use this if they need to.
conf/files already tries to pull this in (pointed out by mlarkin)