#
6fc21734 |
| 12-Mar-2010 |
uwe <uwe@NetBSD.org> |
Add memset to libkern on vax, moving existing memset.S to src/common.
While kernel source code is supposed to use <machine/macros.h> via <sys/param.h> and pick an inline asm version from there, gcc
Add memset to libkern on vax, moving existing memset.S to src/common.
While kernel source code is supposed to use <machine/macros.h> via <sys/param.h> and pick an inline asm version from there, gcc itself can generate direct calls to memset() for structure initialization, so the symbol must be provided.
Fixes INSTALL kernel, for which -Os caused gcc to use memset() call to initialize a struct in uvm_fault_internal().
show more ...
|