if (nbfd == NULL) { bfd_set_error (bfd_error_no_memory);
if (nbfd == NULL)
bfd_openw (filename, target)     CONST char *filename;     CONST char *target;{  bfd *nbfd;  const bfd_target *target_vec;  bfd_set_error (bfd_error_system_call);  /* nbfd has to point to head of malloc'ed block so that bfd_close may     reclaim it correctly. */  nbfd = _bfd_new_bfd();  if (nbfd == NULL) {    bfd_set_error (bfd_error_no_memory);    return NULL;  }  target_vec = bfd_find_target (target, nbfd);  if (target_vec == NULL) return NULL;  nbfd->filename = filename;  nbfd->direction = write_direction;  if (bfd_open_file (nbfd) == NULL) {    bfd_set_error (bfd_error_system_call);	/* File not writeable, etc */    (void) obstack_free (&nbfd->memory, (PTR)0);    return NULL;  }  return nbfd;}