Re: bfd_cleanup for object_p
[deliverable/binutils-gdb.git] / bfd / ihex.c
index 958a84b50705899d7816161146238bd7064a41e5..68671cc6239357ec76088eccf87cb11f6e5227ff 100644 (file)
@@ -487,7 +487,7 @@ ihex_scan (bfd *abfd)
 
 /* Try to recognize an Intel Hex file.  */
 
-static const bfd_target *
+static bfd_cleanup
 ihex_object_p (bfd *abfd)
 {
   void * tdata_save;
@@ -538,7 +538,7 @@ ihex_object_p (bfd *abfd)
       return NULL;
     }
 
-  return abfd->xvec;
+  return _bfd_no_cleanup;
 }
 
 /* Read the contents of a section in an Intel Hex file.  */
This page took 0.024452 seconds and 4 git commands to generate.