Re: bfd_cleanup for object_p
[deliverable/binutils-gdb.git] / bfd / irix-core.c
index 7b214e0a0a3129ce19b0241ece61be35a1506efd..a63d4104d4c327af135f8e5e2545ec8cc5e9f708 100644 (file)
@@ -166,7 +166,7 @@ make_bfd_asection (bfd *abfd,
   return asect;
 }
 
-static const bfd_target *
+static bfd_cleanup
 irix_core_core_file_p (bfd *abfd)
 {
   int val;
@@ -244,7 +244,7 @@ irix_core_core_file_p (bfd *abfd)
   /* OK, we believe you.  You're a core file (sure, sure).  */
   bfd_default_set_arch_mach (abfd, bfd_arch_mips, 0);
 
-  return abfd->xvec;
+  return _bfd_no_cleanup;
 
  fail:
   bfd_release (abfd, core_hdr (abfd));
This page took 0.023048 seconds and 4 git commands to generate.