Re: bfd_cleanup for object_p
[deliverable/binutils-gdb.git] / bfd / hpux-core.c
index 36a17dc9d9acdc03611d308b8b6739d7c1c04a0c..2b4de9e530e9995ea1cac4d518f6965fbe714233 100644 (file)
@@ -157,7 +157,7 @@ thread_section_p (bfd *abfd ATTRIBUTE_UNUSED,
    in which the core file is generated by some non-hpux application.
    (I am just guessing here!)
 */
-static const bfd_target *
+static bfd_cleanup
 hpux_core_core_file_p (bfd *abfd)
 {
   int  good_sections = 0;
@@ -342,7 +342,7 @@ hpux_core_core_file_p (bfd *abfd)
        "  As a result, some information may be unavailable.\n",
        abfd);
 
-  return abfd->xvec;
+  return _bfd_no_cleanup;
 
  fail:
   bfd_release (abfd, core_hdr (abfd));
This page took 0.031899 seconds and 4 git commands to generate.