Пример #1
0
 ~bfd_cache() {
   if (abfd) {
     bfd_cache_close(abfd);
     bfd_free_cached_info(abfd);
     bfd_close_all_done(abfd);
   }
 }
Пример #2
0
bfd_boolean
bfd_cache_close_all ()
{
  bfd_boolean ret = TRUE;

  while (bfd_last_cache != NULL)
    ret &= bfd_cache_close (bfd_last_cache);

  return ret;
}
Пример #3
0
static void
remove_output (void)
{
  if (output_filename)
    {
      if (link_info.output_bfd)
	bfd_cache_close (link_info.output_bfd);
      if (delete_output_file_on_failure)
	unlink_if_ordinary (output_filename);
    }
}
Пример #4
0
static int
cache_bclose (struct bfd *abfd)
{
  return bfd_cache_close (abfd) - 1;
}