Define bfd_realloc(ptr,0) to return allocated memory, whilst bfd_realloc_or_free...