Copy several years of fixes from bfd/aoutx.h to bfd/pdp11.c.
[deliverable/binutils-gdb.git] / bfd / trad-core.c
index 10ab2521344bed8832a28f865c5632d1c03bfc67..1b2477a4c588c2ce371331dd1a0bdbb979e49d5f 100644 (file)
@@ -71,7 +71,7 @@ struct trad_core_struct
 
 /* Handle 4.2-style (and perhaps also sysV-style) core dump file.  */
 
-static const bfd_target *
+static bfd_cleanup
 trad_unix_core_file_p (bfd *abfd)
 {
   int val;
@@ -220,7 +220,7 @@ trad_unix_core_file_p (bfd *abfd)
   core_datasec (abfd)->alignment_power = 2;
   core_regsec (abfd)->alignment_power = 2;
 
-  return abfd->xvec;
+  return _bfd_no_cleanup;
 
  fail:
   bfd_release (abfd, abfd->tdata.any);
This page took 0.024148 seconds and 4 git commands to generate.