Subject: CVS commit: syssrc/sys/lib/libkern
To: None <source-changes@netbsd.org>
From: Jason R Thorpe <thorpej@netbsd.org>
List: source-changes
Date: 12/24/2001 00:48:30
Module Name:	syssrc
Committed By:	thorpej
Date:		Sun Dec 23 22:48:30 UTC 2001

Modified Files:
	syssrc/sys/lib/libkern: libkern.h

Log Message:
The kernel is now built with -ffreestanding, so GCC built-ins are
disabled.  Explicitly re-enable some that we want to use, namely:

* memcpy() -> __builtin_memcpy()
* memcmp() -> __builtin_memcmp()
* memset() -> __builtin_memset()

* strcpy() -> __builtin_strcpy()
* strcmp() -> __builtin_strcmp()
* strlen() -> __builtin_strlen()

We might also consider some others for GCC 3.x.


To generate a diff of this commit:
cvs rdiff -r1.37 -r1.38 syssrc/sys/lib/libkern/libkern.h

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.