Converted to use weak aliases with macros from libc-symbols.h.