提交 153e952e 编写于 作者: R Rich Felker

fix regression/typo that disabled __simple_malloc when calloc is used

commit ba819787 introduced this
regression. since the __malloc0 weak alias was not properly provided
by __simple_malloc, use of calloc forced the full malloc to be linked.
上级 ba819787
......@@ -47,4 +47,4 @@ void *__simple_malloc(size_t n)
}
weak_alias(__simple_malloc, malloc);
weak_alias(__simple_malloc, malloc0);
weak_alias(__simple_malloc, __malloc0);
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册