CVSROOT:        /cvs
Module name:    src
Changes by:     [email protected]        2017/01/24 01:09:05

Modified files:
        sys/sys        : systm.h 
        sys/lib/libkern: bcmp.c bcopy.c bzero.c memcmp.c memcpy.c 
                         memmove.c memset.c 

Log message:
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@

Reply via email to