summaryrefslogtreecommitdiffstats
path: root/sys/libkern/memmove.c
Commit message (Collapse)AuthorAgeFilesLines
* Add memmove() to the kernel, making the kernel compile with Clang.ed2009-02-281-0/+38
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
OpenPOWER on IntegriCloud