Re: [PTX] malloc/realloc/free

2016-05-27 Thread Nathan Sidwell
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 th

Re: [PTX] malloc/realloc/free

2016-05-26 Thread Alexander Monakov
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 'rea

[PTX] malloc/realloc/free

2016-05-26 Thread Nathan Sidwell
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. applied to trunk. nathan 2016-05-26 Nathan Sidwell * config/nvptx/free.asm: Delete. * config/nvptx/malloc.as