On 05/26/16 13:08, Alexander Monakov wrote:
Hello,On Thu, 26 May 2016, Nathan Sidwell wrote:This patch removes the malloc/realloc/free wrappers from libgcc. I've implemented them completely in C and put them in the ptx newlib port -- where one expects such functions.It appears that the new Newlib code doesn't free 'p' on 'realloc (p, 0)';
I pushed an alternative patch.