These fix malloc, free & realloc in newlib for IA16.
background: I ported FreeDOS command.com (freecom) at https://sourceforge.net/p/freedos/svn/HEAD/tree/freecom/trunk/ to ia16-elf-gcc and it's a heavy malloc user. It got into very strange memory corruption errors. The reason is int/long confusion in nano_malloc & friends.
These fix malloc, free & realloc in newlib for IA16.
background: I ported FreeDOS command.com (freecom) at https://sourceforge.net/p/freedos/svn/HEAD/tree/freecom/trunk/ to ia16-elf-gcc and it's a heavy malloc user. It got into very strange memory corruption errors. The reason is int/long confusion in nano_malloc & friends.