You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
GCC can often inline memcpy, but we also currently rename it to sys_memcpy to avoid potential recursive invocation (wherein it optimizes the implementation to a call to memcpy). The syscall seems to sometimes behave incorrectly; we should provide a version of memcpy built with appropriate options to avoid recursing.
GCC manual suggests building that particular module with -ffreestanding and implementing memcpy, memmove, memset and memcmp should be good.
The text was updated successfully, but these errors were encountered:
GCC can often inline memcpy, but we also currently rename it to
sys_memcpy
to avoid potential recursive invocation (wherein it optimizes the implementation to a call tomemcpy
). The syscall seems to sometimes behave incorrectly; we should provide a version ofmemcpy
built with appropriate options to avoid recursing.GCC manual suggests building that particular module with
-ffreestanding
and implementing memcpy, memmove, memset and memcmp should be good.The text was updated successfully, but these errors were encountered: