That is what i though would happen.
I think in freestanding you have to do it yourself. not sure but that is what I had to do.
Optimized memory functions?
Re: Optimized memory functions?
No, gcc will not generate you a memset, memcpy, memcmp and memmove reliably. You are expected to provide these symbols. If -fbuiltin is enabled (disabled by -ffreestanding) then gcc may decide to replace calls to these functions with assembly, but it's not required to do it.