This is necessary because gcc may generate calls to memcmp, memset, memcpy, and memmove when compiling with -nostdlib.