freebsd-dev/sys/libkern
Ed Schouten 802cb57e34 Add memmove() to the kernel, making the kernel compile with Clang.
When copying big structures, LLVM generates calls to memmove(), because
it may not be able to figure out whether structures overlap. This caused
linker errors to occur. memmove() is now implemented using bcopy().
Ideally it would be the other way around, but that can be solved in the
future. On ARM we don't do add anything, because it already has
memmove().

Discussed on:	arch@
Reviewed by:	rdivacky
2009-02-28 16:21:25 +00:00
..
arm
ia64
arc4random.c Return arc4_i = arc4_j = 0; line from previous backing out since 2008-07-26 16:42:45 +00:00
ashldi3.c
ashrdi3.c
bcd.c
bcmp.c
bsearch.c
cmpdi2.c Bring back (without advertising clause) cmpdi2.c. It's needed on PowerPC 2008-02-23 20:10:49 +00:00
crc32.c This commit fixes the issue with alias_sctp.c. No 2009-02-14 11:34:57 +00:00
divdi3.c
ffs.c
ffsl.c
fls.c
flsl.c
fnmatch.c
gets.c
iconv_converter_if.m
iconv_xlat16.c
iconv_xlat.c
iconv.c Add simple locking for the in-kernel iconv code. Translation operations 2008-12-05 21:19:24 +00:00
index.c
inet_ntoa.c
lshrdi3.c
mcount.c
memcmp.c The kernel implemented 'memcmp' is an alias for 'bcmp'. However, memcmp 2008-09-23 14:45:10 +00:00
memmove.c Add memmove() to the kernel, making the kernel compile with Clang. 2009-02-28 16:21:25 +00:00
memset.c Match the implementation of the inline function from libkern.h. 2008-07-14 21:36:02 +00:00
moddi3.c
qdivrem.c Prefix the static shl function with '__' like its parent function __qdivrem to 2008-10-09 20:43:42 +00:00
qsort_r.c
qsort.c
quad.h Add prototype for __cmpd2(). 2008-02-23 22:40:05 +00:00
random.c
rindex.c
scanc.c
skpc.c
strcasecmp.c
strcat.c
strcmp.c
strcpy.c
strcspn.c Add strcspn to libkern for use by xenbus routines. Will add to build 2008-08-15 04:07:22 +00:00
strdup.c
strlcat.c
strlcpy.c
strlen.c
strncmp.c
strncpy.c
strsep.c
strspn.c
strstr.c
strtol.c
strtoq.c
strtoul.c
strtouq.c Remove redundant assignment of `s'. 2009-02-26 12:06:46 +00:00
strvalid.c
ucmpdi2.c
udivdi3.c
umoddi3.c